Bug#677508: gnome-terminal: received signal SIGSEGV in g_object_notify kills all terminals

Teodor mteodor at gmail.com
Thu Jun 14 11:42:12 UTC 2012


Package: gnome-terminal
Version: 3.4.1.1-1
Severity: important

Hi,

Today I investigated why on some circumstances gnome-terminal will crash
and kills all open terminals (and remote sessions).

I can reproduce this problem by moving one tab between two g-t windows.
The tab to be moved had an 'man ps' process running. The tab is placed at
as the first tab on the second window. Moving this tab at the end (the last
or second tab in the window) and pressing an arrow key will kill it.

See attached the gdb backtrace.

Thanks


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-terminal depends on:
ii  gconf-service              3.2.5-1
ii  gnome-terminal-data        3.4.1.1-1
ii  gsettings-desktop-schemas  3.4.2-1
ii  libatk1.0-0                2.4.0-2
ii  libc6                      2.13-33
ii  libgconf-2-4               3.2.5-1
ii  libgdk-pixbuf2.0-0         2.26.1-1
ii  libglib2.0-0               2.32.3-1
ii  libgtk-3-0                 3.4.2-1
ii  libice6                    2:1.0.8-2
ii  libpango1.0-0              1.30.0-1
ii  libsm6                     2:1.2.1-2
ii  libvte-2.90-9              1:0.32.2-1
ii  libx11-6                   2:1.4.99.901-2

Versions of packages gnome-terminal recommends:
ii  gvfs  1.12.3-1
ii  yelp  3.4.2-1

gnome-terminal suggests no packages.

-- no debconf information
-------------- next part --------------
$ gdb gnome-terminal
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gnome-terminal...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/gnome-terminal
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
[New Thread 0xb6821b70 (LWP 27119)]
[New Thread 0xb5effb70 (LWP 27120)]
[New Thread 0xb56d1b70 (LWP 27121)]
[New Thread 0xaeb43b70 (LWP 27124)]
[Thread 0xb6821b70 (LWP 27119) exited]

(gnome-terminal:27116): GLib-GObject-CRITICAL **: g_object_notify: assertion `G_IS_OBJECT (object)' failed

(gnome-terminal:27116): GLib-GObject-CRITICAL **: g_object_notify: assertion `G_IS_OBJECT (object)' failed

(gnome-terminal:27116): GLib-GObject-CRITICAL **: g_object_notify: assertion `G_IS_OBJECT (object)' failed

(gnome-terminal:27116): GLib-GObject-CRITICAL **: g_object_notify: assertion `G_IS_OBJECT (object)' failed

Program received signal SIGSEGV, Segmentation fault.
0xb77b0eb8 in g_object_notify (object=0x839aa48,
    property_name=0xb7e73962 "accessible-value")
    at /build/buildd-glib2.0_2.32.3-1-i386-987P8N/glib2.0-2.32.3/./gobject/gobject.c:1154
1154    /build/buildd-glib2.0_2.32.3-1-i386-987P8N/glib2.0-2.32.3/./gobject/gobject.c: No such file or directory.
(gdb) bt full
#0  0xb77b0eb8 in g_object_notify (object=0x839aa48,
    property_name=0xb7e73962 "accessible-value")
    at /build/buildd-glib2.0_2.32.3-1-i386-987P8N/glib2.0-2.32.3/./gobject/gobject.c:1154
        __inst = 0x839aa48
        __r = <optimized out>
        _g_boolean_var_ = <optimized out>
        pspec = <optimized out>
        __PRETTY_FUNCTION__ = "g_object_notify"
#1  0xb7d8a535 in ?? () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
No symbol table info available.
#2  0xb77acbcf in g_cclosure_marshal_VOID__VOID (closure=0x8273a40,
    return_value=0x0, n_param_values=1, param_values=0xbfffeda0,
    invocation_hint=0xbfffed4c, marshal_data=0x0)
    at /build/buildd-glib2.0_2.32.3-1-i386-987P8N/glib2.0-2.32.3/./gobject/gmarshal.c:85
        callback = 0xb7d8a510
        cc = 0x8273a40
        data1 = 0x834cac0
        data2 = <optimized out>
        __PRETTY_FUNCTION__ = "g_cclosure_marshal_VOID__VOID"
#3  0xb77aae56 in g_closure_invoke (closure=0x8273a40,
    return_value=return_value at entry=0x0,
---Type <return> to continue, or q <return> to quit---
    n_param_values=n_param_values at entry=1,
    param_values=param_values at entry=0xbfffeda0,
    invocation_hint=invocation_hint at entry=0xbfffed4c)
    at /build/buildd-glib2.0_2.32.3-1-i386-987P8N/glib2.0-2.32.3/./gobject/gclosure.c:777
        marshal = 0x8056d00 <g_cclosure_marshal_VOID__VOID at plt>
        marshal_data = 0x0
        in_marshal = 0
        real_closure = 0x8273a30
        __PRETTY_FUNCTION__ = "g_closure_invoke"
#4  0xb77bc925 in signal_emit_unlocked_R (node=node at entry=0x82546a0,
    detail=detail at entry=0, instance=instance at entry=0x834cac0,
    emission_return=emission_return at entry=0x0,
    instance_and_params=instance_and_params at entry=0xbfffeda0)
    at /build/buildd-glib2.0_2.32.3-1-i386-987P8N/glib2.0-2.32.3/./gobject/gsignal.c:3547
        tmp = <optimized out>
        handler = 0x82bfa60
        accumulator = 0x0
        emission = {next = 0x0, instance = 0x834cac0, ihint = {
            signal_id = 218, detail = 0, run_type = G_SIGNAL_RUN_FIRST},
          state = EMISSION_RUN, chain_type = 4}
        class_closure = 0x8254688
---Type <return> to continue, or q <return> to quit---
        hlist = 0x40012
        handler_list = 0x82d4800
        return_accu = 0x0
        accu = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0,
              v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0,
              v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0,
              v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0,
              v_double = 0, v_pointer = 0x0}}}
        signal_id = 218
        max_sequential_handler_number = 2381
        return_value_altered = 1
#5  0xb77c4b26 in g_signal_emit_valist (instance=instance at entry=0x834cac0,
    signal_id=signal_id at entry=218, detail=detail at entry=0,
    var_args=var_args at entry=0xbfffefac "\004\323~\267\027\210\256\267\364\317\361\267\300\312\064\b\212\213\256\267\300\312\064\b\300\312\064\b\001")
    at /build/buildd-glib2.0_2.32.3-1-i386-987P8N/glib2.0-2.32.3/./gobject/gsignal.c:3296
        instance_and_params = 0xbfffeda0
        signal_return_type = 4
        param_values = 0xbfffedb4
        node = 0x82546a0
        i = <optimized out>
        n_params = 0
---Type <return> to continue, or q <return> to quit---
        __PRETTY_FUNCTION__ = "g_signal_emit_valist"
#6  0xb77c4ca3 in g_signal_emit (instance=0x834cac0, signal_id=218, detail=0)
    at /build/buildd-glib2.0_2.32.3-1-i386-987P8N/glib2.0-2.32.3/./gobject/gsignal.c:3352
        var_args = 0xbfffefac "\004\323~\267\027\210\256\267\364\317\361\267\300\312\064\b\212\213\256\267\300\312\064\b\300\312\064\b\001"
#7  0xb7ae888a in gtk_adjustment_value_changed ()
   from /usr/lib/i386-linux-gnu/libgtk-3.so.0
No symbol table info available.
#8  0xb7ae8b8a in gtk_adjustment_set_value ()
   from /usr/lib/i386-linux-gnu/libgtk-3.so.0
No symbol table info available.
#9  0xb7f3cbf7 in ?? () from /usr/lib/libvte2_90.so.9
No symbol table info available.
#10 0xb7f4d18f in ?? () from /usr/lib/libvte2_90.so.9
No symbol table info available.
#11 0xb7f4d98c in ?? () from /usr/lib/libvte2_90.so.9
No symbol table info available.
#12 0xb7f4e097 in ?? () from /usr/lib/libvte2_90.so.9
No symbol table info available.
#13 0xb7f540f4 in ?? () from /usr/lib/libvte2_90.so.9
No symbol table info available.
#14 0xb76b930f in g_timeout_dispatch (source=source at entry=0x839a798,
---Type <return> to continue, or q <return> to quit---
    callback=0xb7f54000, user_data=0x0)
    at /build/buildd-glib2.0_2.32.3-1-i386-987P8N/glib2.0-2.32.3/./glib/gmain.c:3882
        timeout_source = 0x839a798
        again = <optimized out>
#15 0xb76b8633 in g_main_dispatch (context=0x80c6b68)
    at /build/buildd-glib2.0_2.32.3-1-i386-987P8N/glib2.0-2.32.3/./glib/gmain.c:2539
        dispatch = 0xb76b92e0 <g_timeout_dispatch>
        was_in_call = 0
        user_data = 0x0
        callback = 0xb7f54000
        cb_funcs = 0xb776b4d8
        cb_data = 0x837b328
        current_source_link = {data = 0x839a798, next = 0x0}
        need_destroy = <optimized out>
        source = 0x839a798
        current = 0x8128720
        i = <optimized out>
#16 g_main_context_dispatch (context=context at entry=0x80c6b68)
    at /build/buildd-glib2.0_2.32.3-1-i386-987P8N/glib2.0-2.32.3/./glib/gmain.c:3075
No locals.
---Type <return> to continue, or q <return> to quit---
#17 0xb76b89d0 in g_main_context_iterate (context=0x80c6b68,
    block=block at entry=1, dispatch=dispatch at entry=1,
    self=<error reading variable: Unhandled dwarf expression opcode 0xfa>)
    at /build/buildd-glib2.0_2.32.3-1-i386-987P8N/glib2.0-2.32.3/./glib/gmain.c:3146
        max_priority = 2147483647
        timeout = 10
        some_ready = 1
        nfds = 8
        allocated_nfds = <optimized out>
        fds = <optimized out>
#18 0xb76b8e2b in g_main_loop_run (loop=0x80d9668)
    at /build/buildd-glib2.0_2.32.3-1-i386-987P8N/glib2.0-2.32.3/./glib/gmain.c:3340
        __PRETTY_FUNCTION__ = "g_main_loop_run"
#19 0xb7be576d in gtk_main () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
No symbol table info available.
#20 0x08058115 in ?? ()
No symbol table info available.
#21 0xb73b4e46 in __libc_start_main (main=0x8057df0, argc=1,
    ubp_av=0xbffff4d4, init=0x807dd20, fini=0x807dd10, rtld_fini=0xb7ff0590,
    stack_end=0xbffff4cc) at libc-start.c:228
        result = <optimized out>
---Type <return> to continue, or q <return> to quit---
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1219530764, 0, 0,
                -1073744728, -17341586, 2005079423}, mask_was_saved = 0}},
          priv = {pad = {0x0, 0x0, 0x1, 0x805846c}, data = {prev = 0x0,
              cleanup = 0x0, canceltype = 1}}}
        not_first_call = <optimized out>
#22 0x0805848d in ?? ()
No symbol table info available.
(gdb) q
A debugging session is active.

        Inferior 1 [process 27116] will be killed.

Quit anyway? (y or n) y


More information about the pkg-gnome-maintainers mailing list