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 763333 - crash when inhibitor goes away
crash when inhibitor goes away
Status: RESOLVED DUPLICATE of bug 763169
Product: gnome-session
Classification: Core
Component: gnome-session
git master
Other Linux
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-03-08 16:41 UTC by Mantas Mikulėnas (grawity)
Modified: 2016-03-09 18:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mantas Mikulėnas (grawity) 2016-03-08 16:41:58 UTC
gnome-session-binary 3.19.91-10-g7ab76a7 crashes when a program exits while holding an inhibitor.

inhibitor->priv has weird stuff:

(gdb) p inhibitor
$5 = (GsmInhibitor *) 0x1ae6860
(gdb) p *inhibitor
$7 = {parent = {g_type_instance = {g_class = 0xaaaaaaaaaaaaaaaa}, ref_count = 2863311530, 
    qdata = 0xaaaaaaaaaaaaaaaa}, priv = 0xaaaaaaaaaaaaaaaa}

Backtrace:

Program terminated with signal SIGSEGV, Segmentation fault.
  • #0 on_inhibitor_vanished
    at gsm-inhibitor.c line 255
  • #0 on_inhibitor_vanished
    at gsm-inhibitor.c line 255
  • #1 do_call
    at gdbusnamewatching.c line 216
  • #2 call_vanished_handler
    at gdbusnamewatching.c line 242
  • #3 call_vanished_handler
    at gdbusnamewatching.c line 320
  • #4 on_name_owner_changed
    at gdbusnamewatching.c line 307
  • #5 emit_signal_instance_in_idle_cb
    at gdbusconnection.c line 3701
  • #6 g_main_dispatch
    at gmain.c line 3154
  • #7 g_main_context_dispatch
    at gmain.c line 3769
  • #8 g_main_context_iterate
    at gmain.c line 3840
  • #9 g_main_loop_run
    at gmain.c line 4034
  • #10 gsm_main
    at main.c line 72
  • #11 main
    at main.c line 442


gnome-session 3.19.91-10-g7ab76a7 (current git master)
glib2 2.47.6-55-gc9591c4 (current git master)
Comment 1 Ray Strode [halfline] 2016-03-09 18:58:45 UTC

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