Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231495 - x11-misc/synergy-1.3.1: When starting synergyc as non-root input is hangs occasionally.
Summary: x11-misc/synergy-1.3.1: When starting synergyc as non-root input is hangs occ...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-11 09:36 UTC by johndoeyu
Modified: 2011-12-05 14:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description johndoeyu 2008-07-11 09:36:19 UTC
If Synergy client is started under root everything works fine. If started under ordinary user, every 10 - 15 seconds input on the client is blocked (hangs) for a couple of seconds (both varying times).

I believe that this was introduced in the previous ~ 6 months as installation that I had previously worked fine. And since synergy is same for the last ~ 2 years, it's probably something in the ebuild (that GCC fix perhaps?)

My server side remained the same through both clients - it's same hardware, I reinstalled the whole system where client is run.

Reproducible: Always

Steps to Reproduce:
1. as non-root user execute synergyc 192.168.0.1 (or whatever)
2. 
3.
Comment 1 johndoeyu 2008-07-16 18:21:01 UTC
Forgot to add before - the init.d script reports crashed.

As root:
msi alex # /etc/init.d/synergy status
 * status: crashed
msi alex # /etc/init.d/synergy stop
 * Stopping synergyc ...                                                  [ ok ]
msi alex # synergyc 192.168.0.1

After that it works.

And changing the init.d script to do exactly the same does not change the way it behaves - as if started by original init.d

... hacked init.d ...
start() {
       ebegin "Starting synergyc"
       exec synergyc 192.168.0.1
}

stop() {
       ebegin "Stopping synergyc"
       exec killall synergyc
}
Comment 2 Ryan 2008-10-20 15:29:01 UTC
This is a problem throughout linux. I haven't been able to really track down the issue myself, even running it has root causes some hang-ups. I think it is related to xcb being used in X11.

There are some patches floating around, but I can't find a good source for them. Problem still exist in the SVN repo also.
Comment 3 Ryan 2008-10-20 18:17:40 UTC
Found the fix 

http://sourceforge.net/tracker/index.php?func=detail&aid=1674548&group_id=59275&atid=490467

I have patch this against the svn build I use it and it works nicely.

If you want to the ebuild, feel free to grab it from my git repo
git://sh.shelladdict.org/~gibbonsr/insanity5902-portage.git

Comment 4 Jimmy Rosen 2011-10-19 14:34:06 UTC
I also see this (random pauses 3-6s long a few times per minute). But only when using a more recent gentoo as client. If I switch and set the more modern gentoo as server there are no lags on the older machine.
The old workaround of starting client as root also works.
running: x11-misc/synergy-1.3.1
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-12-05 14:48:45 UTC
I'm sorry that this bug wasn't resolved in a timely fashion. I just picked up maintainership of the package and in order to move foward, I'll kindly request that you test against the latest versions, 1.3.6 or 1.4.5-r1