GNOME Bugzilla – Bug 365590
libgnomekbd crashes gnome-settings-daemon
Last modified: 2006-10-27 15:44:58 UTC
Steps to reproduce: 1. Compile glib, libgnomekbd, and gnome-settings-daemon from CVS HEAD. 2. Start gnome-setttings-daemon. Stack trace: Memory status: size: 21651456 vsize: 0 resident: 21651456 share: 0 rss: 8171520 rss_rlim: 0 CPU usage: start_time: 1161926419 rtime: 0 utime: 22 stime: 0 cutime:20 cstime: 0 timeout: 2 it_real_value: 0 frequency: 1 Backtrace was generated from '/opt/gnome2/bin/gnome-settings-daemon' Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1226627392 (LWP 32437)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 78685
Thread 1 (Thread -1226627392 (LWP 32437))
Other information:
Created attachment 75490 [details] [review] Patch to fix the crash This patch is a fix for the crasher. It inserts "if (own_data) data = xkl_config_rec_new ();" before calling gkbd_keyboard_config_copy_from_xkl_config (which dereferences variable "data") from function gkbd_keyboard_config_load_from_x_initial. By the way, sorry to file this bug against gnome-settings-daemon. I know that the problem is in libgnomekbd, but there is no option to file a bug on that in bugzilla yet.
Rouslan, thank you for the fix. I'll apply it tonight.
Thanks, it is applied now.