After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 672848 - [libgnomekbd] config: crash in gkbd_keyboard_config_options_equals
[libgnomekbd] config: crash in gkbd_keyboard_config_options_equals
Status: RESOLVED DUPLICATE of bug 670164
Product: libgnomekbd
Classification: Core
Component: Config
3.4.x
Other Linux
: Urgent critical
: ---
Assigned To: libgnomekbd maintainers
Sergey V. Udaltsov
Depends on:
Blocks:
 
 
Reported: 2012-03-26 12:23 UTC by Olivier Blin
Modified: 2012-03-26 15:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[PATCH] config: fix segfault in gkbd_keyboard_config_options_equals (1.08 KB, patch)
2012-03-26 12:26 UTC, Olivier Blin
none Details | Review

Description Olivier Blin 2012-03-26 12:23:38 UTC
With libgnomekbd 3.4.0.1, gnome-settings-daemon crashes at startup:

(gdb) bt
  • #0 raise
    from /lib64/libc.so.6
  • #1 abort
    from /lib64/libc.so.6
  • #2 __libc_message
    from /lib64/libc.so.6
  • #3 malloc_printerr
    from /lib64/libc.so.6
  • #4 gkbd_keyboard_config_options_equals
    at gkbd-keyboard-config.c line 529
  • #5 gkbd_keyboard_config_equals
    at gkbd-keyboard-config.c line 564
  • #6 try_activating_xkb_config_if_new
    at gsd-keyboard-xkb.c line 323
  • #7 apply_xkb_settings
    at gsd-keyboard-xkb.c line 402
  • #8 apply_xkb_settings
    at gsd-keyboard-xkb.c line 387
  • #9 gsd_keyboard_xkb_init
    at gsd-keyboard-xkb.c line 509
  • #10 start_keyboard_idle_cb
    at gsd-keyboard-manager.c line 280
  • #11 g_main_context_dispatch
    from /lib64/libglib-2.0.so.0
  • #12 ??
    from /lib64/libglib-2.0.so.0
  • #13 g_main_loop_run
    from /lib64/libglib-2.0.so.0
  • #14 gtk_main
    from /usr/lib64/libgtk-3.so.0
  • #15 main
    at main.c line 456

Comment 1 Olivier Blin 2012-03-26 12:26:23 UTC
Created attachment 210618 [details] [review]
[PATCH] config: fix segfault in gkbd_keyboard_config_options_equals

This patch fixes the segfault (static arrays were being freed)
Comment 2 Ray Strode [halfline] 2012-03-26 15:04:26 UTC

*** This bug has been marked as a duplicate of bug 670164 ***