Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#12265 - xbindkeys segfaults
Attached to Project:
Arch Linux
Opened by Peter Avramucz (muczyjoe) - Friday, 28 November 2008, 07:58 GMT
Last edited by Thayer Williams (thayer) - Sunday, 01 February 2009, 22:42 GMT
Opened by Peter Avramucz (muczyjoe) - Friday, 28 November 2008, 07:58 GMT
Last edited by Thayer Williams (thayer) - Sunday, 01 February 2009, 22:42 GMT
|
DetailsI get this in dmesg in 3 Arch Linux machines (2 desktop, 1 laptop):
xbindkeys[2779]: segfault at 4 ip b7ea1031 sp bfb9c870 error 4 in libX11.so.6.2.0[b7e76000+eb000] I have tried rebuilding xbindkeys, but it's the same. |
This task depends upon
Closed by Thayer Williams (thayer)
Sunday, 01 February 2009, 22:42 GMT
Reason for closing: Works for me
Additional comments about closing: Cannot reproduce this bug.
Sunday, 01 February 2009, 22:42 GMT
Reason for closing: Works for me
Additional comments about closing: Cannot reproduce this bug.
tilda[5737]: segfault at 0 ip 080501fb sp bfe26300 error 4 in tilda[8048000+14000]
Rebuilding didn't help either.
If that fixes the problem, post the config here and we'll see what's what.
Here is my config:
"/home/muczy/bin/start-firefox.sh"
c:180
"/home/muczy/bin/start-firefox.sh"
b:9
"gnome-terminal"
c:133
Before I close this bug, could you rename .xbindkeysrc to something else, start the utility without a 5 second delay and then post your results? I'm curious to know whether this could be a syntax-related error--though it does sound like it's related to load order.
Cheers
xbindkeys[2801]: segfault at 4 ip b7f77031 sp bfe70b40 error 4 in libX11.so.6.2.0[b7f4c000+eb000]
How are you launching xbindkeys? If it's by a startup script such as ~/.xinitrc, can you please attach that file.
Regarding the config you posted above, can you please attach the entire file?
Can you verify that the keycodes above (c:180, b:9, c:133) are in fact what are displayed (in totality) when you execute 'xbindkeys -mk' and press those keys?
"(Scheme function)"
m:0x2050 + c:133
Mod2+Mod4 + Super_L
"(Scheme function)"
m:0x2050 + c:134
Mod2+Mod4 + Super_R
But if I set e.g. m:0x2050 + c:133 in my config, it simply doesn't work.
Which is pasted above, is my whole config file.
What I have been able to assess is that similar segfault behaviour has been reported in the wild by a few others, and it was found to be due to an improperly configured rc file. The fact that your config does not conform to any others, leads me to believe this is the cause of your segfaults as well.
Edit: Actually, I do have a couple suggestions...
1.) Kill xbindkeys, then launch it from a terminal with 'xbindkeys -v' and look for any relevant messages
2.) Set your keycodes to the same codes suggested by 'xbindkeys -k' and see whether it segfaults (regardless of whether your scripts actually execute)
3.) Send your keyboard make/model and config info upstream to the xbindkeys developer (hocwp at free dot fr). Perhaps the input device is generating codes that xbindkeys cannot process currently.