Public bug reported:

Binary package hint: hotkeys

$  apt-cache policy  hotkeys
hotkeys:
  Installed: 0.5.7.4-0.1
  Candidate: 0.5.7.4-0.1
  Version table:
 *** 0.5.7.4-0.1 0
        500 http://us.archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status


When hotkeys is started under strace, it goes on to eat 100% of my CPU.
I see the splash screen, then it starts spinning in a tight loop.

$ strace -F -o /dev/null hotkeys
  X Error of failed request:  0
  Major opcode of failed request:  0 ()
  Serial number of failed request:  0
  Current serial number in output stream:  11
: Program exiting...Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb75207c7]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb752096e]
#2 /usr/lib/libX11.so.6 [0xb7ed3619]
#3 /usr/lib/libX11.so.6(XFreeGC+0x26) [0xb7eadff6]
#4 /usr/lib/libX11.so.6(XCloseDisplay+0x5f) [0xb7ea71ff]
#5 [0x804b117]
#6 [0x804b775]
#7 [(nil)]

So it seems like hotkeys claims it is exiting due to a failure to lock
something. But it doesn't manage to exit.

Now 'top shows this as first entry:
  PID USER      VIRT  RES  SHR WCHAN     S %CPU %MEM   TIME COMMAND
14448 ariel       15228  2216 1324 -                R  100     0.1         2:41 
  hotkeys

The process is in a tight loop with no system calls (neither ltrace nor
strace print anything after attaching to Process 14448)

Last open file according to lsof:
hotkeys 14448 ariel    3u  unix 0xec498e00           33702 socket


Attaching to the process with gdb shows the stack trace:

$ gdb /usr/bin/hotkeys 14448
...
(no debugging symbols found)
0xb7dce3c1 in _XGetXCBBuffer () from /usr/lib/libX11.so.6
(gdb) bt
#0  0xb7dce3c1 in _XGetXCBBuffer () from /usr/lib/libX11.so.6
#1  0xb7dcef89 in ?? () from /usr/lib/libX11.so.6
#2  0xb7dcf39a in _XReply () from /usr/lib/libX11.so.6
#3  0xb7dc2667 in XSync () from /usr/lib/libX11.so.6
#4  0xb7da222e in XCloseDisplay () from /usr/lib/libX11.so.6
#5  0x0804b117 in ?? ()
#6  0x0804b775 in ?? ()
#7  0x00000000 in ?? ()


I should add that I really don't need hotkeys anymore since Intrepid Ibex seems 
to recognize my fancy keyboard (Logitech iTouch family) just fine.  I just 
wanted to report this for the sake of documenting all the problem I've seen 
since upgrading to Ibex.

** Affects: hotkeys (Ubuntu)
     Importance: Undecided
         Status: New

-- 
hotkeys fails to lock and goes into 100% eating CPU
https://bugs.launchpad.net/bugs/290561
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to