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 547557 - gnome-session crashed with SIGSEGV in add_inhibitor()
gnome-session crashed with SIGSEGV in add_inhibitor()
Status: RESOLVED FIXED
Product: gnome-session
Classification: Core
Component: gnome-session
2.23.x
Other Linux
: Normal critical
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-08-13 09:31 UTC by Sebastien Bacher
Modified: 2009-03-25 02:20 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Sebastien Bacher 2008-08-13 09:31:12 UTC
the bug has been opened on https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/257067

"on intrepid alpha 3 on amd64.
First connection after reboot due to 08/11 updates.

gnome-session 2.23.6-0ubuntu1

  • #0 add_inhibitor
    at gsm-inhibit-dialog.c line 527
  • #1 add_to_model
    at gsm-inhibit-dialog.c line 794
  • #2 foreach_remove_wrapper
    at gsm-store.c line 168
  • #3 g_hash_table_foreach_remove_or_steal
    at /build/buildd/glib2.0-2.17.6/glib/ghash.c line 975
  • #4 gsm_store_foreach_remove
    at gsm-store.c line 192
  • #5 gsm_inhibit_dialog_constructor
    at gsm-inhibit-dialog.c line 801
  • #6 IA__g_object_newv
    at /build/buildd/glib2.0-2.17.6/gobject/gobject.c line 1205
  • #7 IA__g_object_new_valist
    at /build/buildd/glib2.0-2.17.6/gobject/gobject.c line 1309
  • #8 IA__g_object_new
    at /build/buildd/glib2.0-2.17.6/gobject/gobject.c line 1050
  • #9 gsm_inhibit_dialog_new
    at gsm-inhibit-dialog.c line 1038
  • #10 _on_query_end_session_timeout
    at gsm-manager.c line 808
  • #11 g_timeout_dispatch
    at /build/buildd/glib2.0-2.17.6/glib/gmain.c line 3531
  • #12 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.17.6/glib/gmain.c line 2072
  • #13 g_main_context_iterate
    at /build/buildd/glib2.0-2.17.6/glib/gmain.c line 2705
  • #14 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.17.6/glib/gmain.c line 2928
  • #15 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 main
    at main.c line 213

Comment 1 Vincent Untz 2009-03-25 02:20:12 UTC
Looking at the code for 2.23.6... This is the bug I fixed with:

2009-03-24  Vincent Untz  <vuntz@gnome.org>

        * gnome-session/gsm-inhibit-dialog.c: (add_inhibitor): handle NULL
        errors instead of crashing, which can happen in some cases in
        EggDesktopFile.