Memory corruption with xbindkeys and xcb 1.7-2 (debian)
Oliver McFadden
oliver.mcfadden at nokia.com
Mon Mar 7 08:28:43 PST 2011
Hi,
I am not sure whether this is a known issue, but anyway, I am seeing
xbindkeys crashing after a few button presses. Perhaps this should go to
the xbindkeys developers, but I'm reasonably sure this is a bug in xcb.
You can reproduce it as follows:
1. Start xbindkeys in non-daemon mode so you can see the errors:
xbindkeys -n
2. Using my configuration, press the ThinkPad volume up/down keys a few
times. (Note you can change the keys to anything you like, if you don't
have volume keys.)
In the attached log file you can see it only required two key presses
(volume down, volume up) before xbindkeys crashed. Unfortunately I don't
have debug symbols for these packages so the log is a bit obscure.
I've also provided my xbindkeys configuration.
-- Oliver.
-------------- next part --------------
Simple mixer control 'PCM',0
Capabilities: pvolume penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 0 [0%] [-51.00dB]
Front Right: Playback 0 [0%] [-51.00dB]
Simple mixer control 'PCM',0
Capabilities: pvolume penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 13 [5%] [-48.40dB]
Front Right: Playback 13 [5%] [-48.40dB]
*** glibc detected *** xbindkeys: malloc(): memory corruption (fast): 0x0a0614f0 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6(+0x6b281)[0xb750c281]
/lib/i686/cmov/libc.so.6(+0x6e400)[0xb750f400]
/lib/i686/cmov/libc.so.6(__libc_malloc+0x5c)[0xb7510c8c]
/usr/lib/libxcb.so.1(+0x99f6)[0xb74919f6]
/usr/lib/libxcb.so.1(+0x816b)[0xb749016b]
/usr/lib/libxcb.so.1(xcb_wait_for_reply+0x121)[0xb74926d1]
/usr/lib/libX11.so.6(_XReply+0x108)[0xb7748cc8]
/usr/lib/libX11.so.6(_XGetWindowAttributes+0xc3)[0xb772e9e3]
/usr/lib/libX11.so.6(XGetWindowAttributes+0x42)[0xb772eb62]
xbindkeys[0x80497f9]
xbindkeys[0x8049e1a]
/usr/lib/libguile.so.12(scm_boot_guile+0x62)[0xb76abd22]
xbindkeys[0x804962d]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xb74b7c76]
xbindkeys[0x8049521]
-------------- next part --------------
# For the benefit of emacs users: -*- shell-script -*-
###########################
# xbindkeys configuration #
###########################
# xbindkeys 1.8.3 by Philippe Brochard
"amixer set PCM 0%"
m:0x0 + c:121
XF86AudioMute
"amixer set PCM 5%-"
m:0x0 + c:122
XF86AudioLowerVolume
"amixer set PCM 5%+"
m:0x0 + c:123
XF86AudioRaiseVolume
##################################
# End of xbindkeys configuration #
##################################
More information about the xorg-devel
mailing list