vte crash on removing a terminal tab
@seb128
Submitted by Sébastien Bacher Assigned to Chris Wilson
Link to original bug (#450069)
Description
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/vte/+bug/121689
"Ubuntu gutsy x86 vte Version: 1:0.16.6-0ubuntu1
gnome-terminal seems to be not affected (Version: 2.18.1-1ubuntu1) tilda seems to be affected (Version: 0.09.4-0ubuntu3) xfce4-terminal seems to be affected (Version: 0.2.6-2ubuntu1) ... GNU gdb 6.6-debian Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i486-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/xfce4-terminal
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1221617984 (LWP 12807)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1221617984 (LWP 12807)]
0xb7da4279 in mark_input_source_invalid (terminal=0x84446f8) at /build/buildd/vte-0.16.6/./src/vte.c:2739
2739 /build/buildd/vte-0.16.6/./src/vte.c: No such file or directory.
in /build/buildd/vte-0.16.6/./src/vte.c
(gdb) backtrace full
`#0` 0xb7da4279 in mark_input_source_invalid (terminal=0x84446f8) at /build/buildd/vte-0.16.6/./src/vte.c:2739
No locals.
`#1` 0xb775e854 in g_source_callback_unref (cb_data=0x8453b88) at /build/buildd/glib2.0-2.13.5/glib/gmain.c:1182
No locals.
`#2` 0xb775f13a in IA__g_main_context_dispatch (context=0x8098f18) at /build/buildd/glib2.0-2.13.5/glib/gmain.c:2069
No locals.
`#3` 0xb776254f in g_main_context_iterate (context=0x8098f18, block=1, dispatch=1, self=0x80a8ae8) at /build/buildd/glib2.0-2.13.5/glib/gmain.c:2694
got_ownership = <value optimized out>
max_priority = 2147483647
timeout = 9
some_ready = 1
nfds = <value optimized out>
allocated_nfds = <value optimized out>
fds = (GPollFD *) 0x8463c38
__PRETTY_FUNCTION__ = "g_main_context_iterate"
`#4` 0xb77628f9 in IA__g_main_loop_run (loop=0x80ae9a8) at /build/buildd/glib2.0-2.13.5/glib/gmain.c:2898
got_ownership = 0
self = (GThread *) 0x80a8ae8
__PRETTY_FUNCTION__ = "IA__g_main_loop_run"
`#5` 0xb7b3dbe4 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
`#6` 0x080533dd in main (argc=1, argv=0xbfd54714) at main.c:277
options = (TerminalOptions *) 0x807e7f8
modifiers = <value optimized out>
app = (TerminalApp *) 0x80829a0
startup_id = <value optimized out>
display = <value optimized out>
error = (GError *) 0x0
nargc = 4
n = <value optimized out>
`#7` 0xb7616ebc in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
`#8` 0x08052941 in _start ()
No symbol table info available.
(gdb) info registers
eax 0xaaaaaaaa -1431655766
ecx 0xb772d120 -1217212128
edx 0xb7da4270 -1210432912
ebx 0xb77e921c -1216441828
esp 0xbfd544c8 0xbfd544c8
ebp 0xbfd544c8 0xbfd544c8
esi 0x8453b88 138754952
edi 0x8453a90 138754704
eip 0xb7da4279 0xb7da4279 <mark_input_source_invalid+9>
eflags 0x210282 [ SF IF RF ID ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
(gdb) thread apply all backtrace
Thread 1 (Thread -1221617984 (LWP 12807)):
`#0` 0xb7da4279 in mark_input_source_invalid (terminal=0x84446f8) at /build/buildd/vte-0.16.6/./src/vte.c:2739
`#1` 0xb775e854 in g_source_callback_unref (cb_data=0x8453b88) at /build/buildd/glib2.0-2.13.5/glib/gmain.c:1182
`#2` 0xb775f13a in IA__g_main_context_dispatch (context=0x8098f18) at /build/buildd/glib2.0-2.13.5/glib/gmain.c:2069
`#3` 0xb776254f in g_main_context_iterate (context=0x8098f18, block=1, dispatch=1, self=0x80a8ae8) at /build/buildd/glib2.0-2.13.5/glib/gmain.c:2694
`#4` 0xb77628f9 in IA__g_main_loop_run (loop=0x80ae9a8) at /build/buildd/glib2.0-2.13.5/glib/gmain.c:2898
`#5` 0xb7b3dbe4 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
`#6` 0x080533dd in main (argc=1, argv=0xbfd54714) at main.c:277
`#7` 0xb7616ebc in __libc_start_main () from /lib/libc.so.6
`#8` 0x08052941 in _start ()
(gdb) quit
The program is running. Exit anyway? (y or n)
XFCE4 terminal backtrace."
Version: 0.16.x
Resolution: RESOLVED FIXED