[Bug 754470] Re: syndaemon consumes 100% CPU

2012-04-05 Thread joopbraak
** Changed in: xserver-xorg-input-synaptics (Ubuntu)
 Assignee: Wormghost (wormghost) = (unassigned)

** Changed in: xserver-xorg-input-synaptics (Ubuntu Natty)
 Assignee: Wormghost (wormghost) = (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-driver-synaptics/+bug/754470/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-06-28 Thread Launchpad Bug Tracker
** Branch linked: lp:debian/xserver-xorg-input-synaptics

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-driver-synaptics/+bug/754470/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-06-06 Thread stef70
I do not think that it was mentionned earlier: I also get 100% after
switching to console (with -R)

I also get 100% cpu when I start syndaemon from ~/.xprofile or from the
gnome startup applications.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-05-03 Thread Wormghost
** Changed in: xserver-xorg-input-synaptics (Ubuntu)
 Assignee: Chase Douglas (chasedouglas) = Wormghost (wormghost)

** Changed in: xserver-xorg-input-synaptics (Ubuntu Natty)
 Assignee: Chase Douglas (chasedouglas) = Wormghost (wormghost)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-05-03 Thread joopbraak
It seems daemons are invading launchpad... syndaemons ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-18 Thread Bug Watch Updater
** Changed in: xorg-driver-synaptics
   Status: Confirmed = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-17 Thread Emmanuel Thomé
It's not really a fix. Merely a paper wrap.

The bug seems to reside elsewhere, and might possibly affect other apps.
IMO it's important to do more work. I will not personally have time to
devote to this, however (despite the fact that I can reproduce the bug).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-17 Thread dm13dv1b
You should try: killall syndaemon in terminal.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-17 Thread Clint Byrum
I just installed the new package. No spinning syndaemon in sight,
syndaemon is working perfectly.


xserver-xorg-input-synaptics:
  Installed: 1.3.99+git20110116.0e27ce3a-0ubuntu12
  Candidate: 1.3.99+git20110116.0e27ce3a-0ubuntu12
  Version table:
 *** 1.3.99+git20110116.0e27ce3a-0ubuntu12 0
500 http://us.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
100 /var/lib/dpkg/status

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-17 Thread Martin Konopka
I have a notebook Fujitsu-Siemens AMILO Pro V3205 and I observe that
100% of CPU (one full processor core) is consumed by process called
syndaemon. Electric power consumption is pretty big.

OS:  Ubuntu 11.04 beta 2  32-bit
The machine has an Intel 945 GM chipset.
I am logged into Ubuntu no effects (classic GNOME) desktop environment.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-16 Thread h1l4nd0r
I have similar problem on  my vaio z11vrn

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-16 Thread Launchpad Bug Tracker
This bug was fixed in the package xserver-xorg-input-synaptics -
1.3.99+git20110116.0e27ce3a-0ubuntu12

---
xserver-xorg-input-synaptics (1.3.99+git20110116.0e27ce3a-0ubuntu12) natty; 
urgency=low

  * syndaemon: Drain spurious events from XRecord connection as a work around
for a buggy X server. This keeps syndaemon from busy looping
(LP: #754470)
 -- Chase Douglas chase.doug...@ubuntu.com   Thu, 14 Apr 2011 14:15:33 -0400

** Changed in: xserver-xorg-input-synaptics (Ubuntu Natty)
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-16 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/xserver-xorg-input-synaptics

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-16 Thread joopbraak
Should this be marked as fixed, since this solution is only a work
around?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-16 Thread funicorn
Same issue on my laptop. And it's of the kind which does harm to one's 
hardware. 
It may overheat the laptop if one doesn't notice or know how to stop the crazy 
syndaemon. Also, I don't quite understand what this daemon does in my system. 
My touchpad is always recognized as a wheel mouse with the scrollbar not 
working,
so that It still works even ifI disable the touchpad in the mouse 
configuration GUI.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-15 Thread Chase Douglas
So what I wrote before isn't quite correct. I believe libXtst is working
alright, but an event gets stuck in the queue, as Emmanuel noted. I have
added a bit of code to syndaemon to check for any left over events after
all replies have been handled. Any events found are discarded.

Please test the new synaptics package available at
http://people.canonical.com/~cndougla/test/.

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-15 Thread Ivan Sagalaev
This indeed fixed the problem! After resume syndaemon doesn't saturate
the CPU and blocks touchpad when typing as expected.

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-15 Thread Chase Douglas
Ivan,

I'm glad this fixes the hung process issue for you. However, it shows
there is also a bug somewhere else in the stack. Please kill the running
syndaemon process and run it manually:

$ killall syndaemon
$ syndaemon -v -i 0.5 -k -R

When you hit the bug, it should print out a message about a bad event.
Please paste the output here.

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-15 Thread Ivan Sagalaev
Sorry, I didn't keep a close eye on your discussion with Emmanuel and
thought that ignoring unneeded events was the correct fix. Anyway here's
the output:

$ syndaemon -v -i 0.5 -k -R
X RECORD extension version 1.13
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
bad event received, major opcode 34
Disable
Enable
enable touchpad

All those bad event appearing after resume.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-15 Thread Chase Douglas
Ok, this confirms what Emmanuel was seeing. At this point, I don't think
I can easily debug the issue remotely, and I can't seem to trigger it on
my systems. I'll push the workaround patch to Ubuntu, but I'm hoping
someone else will be able to come along and debug it some more.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-15 Thread Ivan Sagalaev
If some X.org hacker lives near Seattle I could bring my laptop for a
debugging/coffee drinking session :-)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-14 Thread Chase Douglas
I've uploaded an amd64 test package to
http://people.canonical.com/~cndougla/test/. I would like to have
someone install it and then run syndaemon manually:

$ killall syndaemon
$ syndaemon -i 0.5 -k -R

When the bug is triggered, it should hopefully print out some debug
messages. Please let me know what you see.

Thanks!

** Changed in: xserver-xorg-input-synaptics (Ubuntu Natty)
   Status: Confirmed = In Progress

** Changed in: xserver-xorg-input-synaptics (Ubuntu Natty)
 Assignee: (unassigned) = Chase Douglas (chasedouglas)

** Bug watch added: freedesktop.org Bugzilla #31921
   http://bugs.freedesktop.org/show_bug.cgi?id=31921

** Also affects: xorg-driver-synaptics via
   http://bugs.freedesktop.org/show_bug.cgi?id=31921
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-14 Thread Ivan Sagalaev
Tried this. The bug is triggered but the output is completely silent…

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-14 Thread Ivan Sagalaev
Tried also with -v. Before going to sleep:

$ syndaemon -i 0.5 -k -R -v
X RECORD extension version 1.13
Disable
Enable
enable touchpad
← sleep and 
resume
^C

There were no messages after resume, the daemon didn't react on key
presses.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-14 Thread Bug Watch Updater
** Changed in: xorg-driver-synaptics
   Status: Unknown = Confirmed

** Changed in: xorg-driver-synaptics
   Importance: Unknown = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-14 Thread Emmanuel Thomé
This bug annoys me greatly.

Tried your package as well. It remains silent. No debug output at all.

I don't know which changes you tried, but I've tried putting some
printf() hooks within xrecord_callback(), e.g.:

cbres = (struct xrecord_callback_results *)closure;

int check = recorded_data-category != XRecordFromServer;

static int i=0;
printf(event %d [%d]!\n, i++, check);

if (recorded_data-category != XRecordFromServer) {

This code path, under normal operation, is supposed to be called. When
the process is spinning, it seems to not enter xrecord_callback() at
all. The events received are not key events, as is visible from this gdb
extract (I compiled the package with -g):

(gdb) fin
Run till exit from #0  0x7f187e3ab123 in __select_nocancel ()
at ../sysdeps/unix/syscall-template.S:82
0x00401fb2 in record_main_loop (display=0x140b010, idle_time=0.5)
at ../../tools/syndaemon.c:413
413 ret = select(fd+1 /* =(max descriptor in read_fds) + 1 */,
(gdb) n
417 if (FD_ISSET(fd, read_fds)) {
(gdb) 
419 cbres.key_event = 0;
(gdb) 
420 cbres.non_modifier_event = 0;
(gdb) 
422 XRecordProcessReplies(dpy_data);
(gdb) 
424 if (!ignore_modifier_keys  cbres.key_event) {
(gdb) p cbres
$1 = {modifiers = 0x1418ae0, key_event = 0, non_modifier_event = 0, 
  pressed_modifiers = '\000' repeats 15 times}
(gdb) n
428 if (cbres.non_modifier_event 
(gdb) 
434 if (disable_event) {
(gdb) p disable_event 
$2 = 0
(gdb) p pad_disabled 
$3 = 0

I'll keep hunting a bit.

E.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-14 Thread JKL
Is this related?

https://bugzilla.redhat.com/show_bug.cgi?id=670039


** Bug watch added: Red Hat Bugzilla #670039
   https://bugzilla.redhat.com/show_bug.cgi?id=670039

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-14 Thread Emmanuel Thomé
No it's not, unfortunately. The current xcb_io.c matches the one in the
git repository, which has the relevant patch applied.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-14 Thread Chase Douglas
** Bug watch removed: Red Hat Bugzilla #670039
   https://bugzilla.redhat.com/show_bug.cgi?id=670039

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-14 Thread Emmanuel Thomé
There still seems to be something quite fishy going on with XRecord and
async events. I don't know much of it underneath, so my understanding
might be quite bad. Here are some random thoughts.

The problem is that there is an event queue which fills up and is never
drained by the application. Here, the culprit event has code 34, which
is X_UngrabKey. Despite the hint, this is not related to the screen
saver, since ``echo mem  /sys/power/state'' reaches the same situation.

Once this event is on top of the queue, it is _never_ processed by the
application. Probably because the XRecord context doesn't want it
(there's an event range passed to the async context constructor).

I don't know why this event shows up here. Here's a dump of the event
which reaches the end of handle_response in xcb_io.c (libX11), just
before _XEnq:

: 22 20 0b 00 01 08 f8 00 90 94 c6 a9 ff 7f 00 00
0010: f3 00 00 00 00 00 00 00 4d 44 50 00 00 00 00 00

This is never eaten by the application.

The xcb_io.c source file is in sync with the git HEAD.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-14 Thread Chase Douglas
Emmanuel,

The XRecord library is in libXtst. In its async handler
(record_async_handler), there's no checking of the X reply type other
than to check whether it's an error or not. If it gets a non error
reply, then it assumes it's a record reply without actually checking.
This will cause undefined execution once we get to
parse_reply_call_callback.

The next step would be to add a check in record_async_handler to
determine if the reply is really an xrecord reply. If not, just toss it
and move on. I'll make a test package for this in a bit, but it's end of
day for me so someone may beat me to the punch :).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-14 Thread Chase Douglas
Also, this means there's a second bug that likely resides in the server.
An X record client shouldn't be receiving any replies other than XRecord
replies.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-13 Thread amp3030
sometimes it starts when I am on battery.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-13 Thread Chase Douglas
It would be helpful if someone could get a backtrace of syndaemon while
it's stuck. First, install xserver-xorg-input-synaptics-dbgsym. To
install it, do one of the following:

* Enable the ddebs repository:
  $ sudo add-apt-repository deb http://ddebs.ubuntu.com/ natty main
  $ sudo apt-get update
  Install the package:
  $ sudo apt-get install xserver-xorg-input-synaptics-dbgsym
Or
* Install the package manually from 
http://ddebs.ubuntu.com/pool/main/x/xserver-xorg-input-synaptics/

Now, when syndaemon gets stuck, do the following:

Determine the PID of syndaemon (there's probably a better way, but this works):
$ ps x | grep syndaemon | grep -v grep | cut -f 1 -d ' '
Use gdb on the process
$ gdb /usr/bin/syndaemon PID
Inside gdb, run the command backtrace. Copy the output and paste it here.

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-13 Thread Brian Murray
** Changed in: xserver-xorg-input-synaptics (Ubuntu Natty)
Milestone: None = ubuntu-11.04

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-13 Thread Ivan Sagalaev
Hi Chase,

Here's the trace from my machine:

0x7fc4f72dc123 in select () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) backtrace
#0  0x7fc4f72dc123 in select () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00401c3d in record_main_loop (display=value optimized out, 
idle_time=0.5)
at ../../tools/syndaemon.c:408
#2  0x004021fd in main (argc=value optimized out, argv=value 
optimized out)
at ../../tools/syndaemon.c:601
(gdb)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-13 Thread Ivan Sagalaev
Oh and the versions are:

xserver-xorg-input-synaptics  1.3.99+git20110116.0e27ce3a-0ubuntu11
xserver-xorg-input-synaptics-dbgsym   1.3.99+git20110116.0e27ce3a-0ubuntu11

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-13 Thread Michael Hudson-Doyle
I get a very similar traceback.  It's not very illuminating!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-12 Thread Loïc Minier
strace shows:
select(5, [4], NULL, NULL, NULL)= 1 (in [4])
select(5, [4], NULL, NULL, NULL)= 1 (in [4])
select(5, [4], NULL, NULL, NULL)= 1 (in [4])
select(5, [4], NULL, NULL, NULL)= 1 (in [4])
select(5, [4], NULL, NULL, NULL)= 1 (in [4])
select(5, [4], NULL, NULL, NULL)= 1 (in [4])
[...]

** Also affects: xserver-xorg-input-synaptics (Ubuntu Natty)
   Importance: Undecided
   Status: Confirmed

** Changed in: xserver-xorg-input-synaptics (Ubuntu Natty)
   Importance: Undecided = High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-11 Thread David Mackenzie
Thanks Jonathan. After killing the process (syndaemo) the CPU usage goes
back to normal, and I don't notice any functional difference. My usb
mouse and touchpad both function normally.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-11 Thread Jony
Same problem on my HP EliteBook 6930p, and it's really annoying.
Anyone found a solution to fix this?
Ubuntu Natty 11.04 b1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-11 Thread Aurélien Leblond
The workaround for the moment is to remove the option to stop the
touchpad whole typing (somewhere in the mouse options... sorry I'm not
in front of my pc at the moment).

The other workaround is to kill the daemon as soon as it goes crazy :)

But these are no solutions, just workaround...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-11 Thread Alex Kovar
Also experiencing this on a Toshiba L655 with the daily build of 11.04.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-11 Thread filiatra
Same problem here.
My laptop was really shouting before I suspect that syndaemon eats my CPU.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-11 Thread dm13dv1b
The same issue. 100% cpu usage.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-10 Thread Rocko
It uses 100% cpu on my laptop either after logging in or after resume,
and I don't think it's related to whether I have a USB mouse plugged in
(syndaemon is supposed to monitor the keyboard and disable the touchpad
when you're typing).

I've (hopefully) turned it off now via the setting control centre /
mouse / touchpad / disable touchpad while typing.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-10 Thread Jonathan Lumb
I think the priority of this bug  should be raised as it could cause
notebooks  to overheat if the syndaemon process is not killed manually
by the user (some users won't know how to do this).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-09 Thread Aurélien Leblond
I have the exact same problem but only as soon as I plug a USB Mouse...

My laptop boots fine or runs fine, as well as my ClickPad (I have a HP
Envy with this new type of touchpad)  as long as I have my usb mouse
unplugged.

If I have my USB Mouse plugged in at boot or plug it afterwards,
syndaemon goes 100% CPU.

Hope this information helps!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-09 Thread u-foka
Hy!

I have the same problem, but still can't find what triggers it :(

I just tryed to remove my usb mouse and reconnect it, but syndaemon now behaves 
normally...
I always notice that my system is slow and check that syndaemon is runing 100% 
after continous work without sleep and mouse plug/unplug..

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-09 Thread ngsupb
The same issue. 100% cpu usage. Haven't seen it before.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-09 Thread Olaf
Testing Natty by booting from a USB stick. I have syndeamon running at
close to 100% (noticed because the fan got loud).

Happens right after boot every time. Have to end the process. No USB
mouse connected. Happens on a Dell XPS Studio 16 Laptop.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-09 Thread Olaf
** Changed in: xserver-xorg-input-synaptics (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754470] Re: syndaemon consumes 100% CPU

2011-04-08 Thread hendeby
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754470

Title:
  syndaemon consumes 100% CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs