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 639347 - crashes upon exit if another instance is running
crashes upon exit if another instance is running
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: general
2.91.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2011-01-12 19:04 UTC by Emilio Pozuelo Monfort
Modified: 2011-03-14 17:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Emilio Pozuelo Monfort 2011-01-12 19:04:54 UTC
If g-s-d is running and I run it again from a terminal, it crashes upon exit:


** (gnome-settings-daemon:14949): DEBUG: SettingsDaemon finished

Program received signal SIGSEGV, Segmentation fault.
0x00007fffecb3cd50 in ?? ()
(gdb) bt
  • #0 ??
  • #1 __run_exit_handlers
    at exit.c line 78
  • #2 exit
    at exit.c line 100
  • #3 __libc_start_main
    at libc-start.c line 260
  • #4 _start
  • #0 atexit
    from /lib/libglib-2.0.so.0
  • #1 g_atexit
    at /tmp/buildd/glib2.0-2.27.91/./glib/gutils.c line 347
  • #2 CORBA_ORB_init
    from /usr/lib/libORBit-2.so.0
  • #3 gconf_orb_get
    from /usr/lib/libgconf-2.so.4
  • #4 ??
    from /usr/lib/libgconf-2.so.4
  • #5 gconf_activate_server
    from /usr/lib/libgconf-2.so.4
  • #6 ??
    from /usr/lib/libgconf-2.so.4
  • #7 ??
    from /usr/lib/libgconf-2.so.4
  • #8 gconf_engine_get_default
    from /usr/lib/libgconf-2.so.4
  • #9 gconf_client_get_default
    from /usr/lib/libgconf-2.so.4
  • #10 gsd_keybindings_manager_start
    from /usr/lib/gnome-settings-daemon-3.0/libkeybindings.so
  • #11 ??
    from /usr/lib/gnome-settings-daemon-3.0/libkeybindings.so
  • #12 gnome_settings_plugin_info_activate
  • #13 ??
  • #14 g_slist_foreach
    at /tmp/buildd/glib2.0-2.27.91/./glib/gslist.c line 880
  • #15 gnome_settings_manager_start
  • #16 main


This is with the gconf bridge enabled.
Comment 1 Bastien Nocera 2011-03-14 17:40:35 UTC
commit 50720bce5a48b2a69eec57a74bb02f0774f5f127
Author: Bastien Nocera <hadess@hadess.net>
Date:   Mon Mar 14 17:39:14 2011 +0000

    main: Fix possible crasher on exit
    
    Because ORBit sucks, and installs an atexit() handler, even though
    it doesn't need one.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=639347