joelburget/slimlock — Issue #8: slimlock segfaults after unlock
Author: fjvazquezaraujo
Created: 2012-02-07 18:13:58+00:00
State: open

I have installed slimlock-0.11 in gentoo. Many times after unlocking I get a segfault.

The segfault ocurrs at line 228 in simlock.cpp (XCloseDisplay)

(gdb) bt
#0 0x00007ffff5eed8e8 in ?? () from /lib64/libc.so.6
#1 0x00007ffff5eee1a8 in ?? () from /lib64/libc.so.6
#2 0x00007ffff5ef148c in free () from /lib64/libc.so.6
#3 0x00007ffff7b4319c in XkbFreeClientMap () from /usr/lib64/libX11.so.6
#4 0x00007ffff7b45a8d in XkbFreeKeyboard () from /usr/lib64/libX11.so.6
#5 0x00007ffff7b38475 in ?? () from /usr/lib64/libX11.so.6
#6 0x00007ffff7ad2357 in _XFreeDisplayStructure () from /usr/lib64/libX11.so.6
#7 0x00007ffff7abdebf in XCloseDisplay () from /usr/lib64/libX11.so.6
#8 0x0000000000413d35 in main (argc=1, argv=0x7fffffffdf88) at slimlock.cpp:228
themefile = "/usr/share/slim/themes/slim-gentoo-simple/slim.theme"
themedir = "/usr/share/slim/themes/slim-gentoo-simple"
ret = 0
rc = -1
themebase = "/usr/share/slim/themes/"
loaded = true
display = 0x7fffffffef44 ":0.0"
cfg_dpms_off = 600
raise_thread = 140737253328640
wa = {background_pixmap = 8431389920, background_pixel = 0, border_pixmap = 0,
border_pixel = 4203517, bit_gravity = -1, win_gravity = 1,
backing_store = -134402048, backing_planes = 140737329803336,
backing_pixel = 140737353953280, save_under = 3071272, event_mask = 0,
do_not_propagate_mask = 4294967295, override_redirect = 1,
colormap = 140737329825200, cursor = 140737353953280}
root = 172
prev_fn = 0
lock_file = -1
cfg_passwd_timeout = 2
pos = 18446744073709551615
cfg_dpms_standby = 60