Comment 3 for bug 9846

Revision history for this message
Andrew Bennetts (spiv) wrote :

I don't know if this is related, but I think it might be.

I just had a crash in gnome-terminal when right-clicking on a link.
I missed the link slightly on the first click, and clicked again quite
quickly on the actual link. The menu's window appeared, but then
gnome-terminal blew up before it rendered anything in it.

I've seen this once before (and filled out the bug-buddy report, although
I don't know that they go anywhere). I suspect code that is racy enough to
show duplicate menu items is also racy enough to have segfaults.

gdb info from bug-buddy:

Backtrace was generated from '/usr/bin/gnome-terminal'

(no debugging symbols found)...Using host libthread_db library
"/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...[Thread debugging using libthread_db enabled]
[New Thread 1088322144 (LWP 5769)]
[New Thread 1101118384 (LWP 5773)]
[Thread debugging using libthread_db enabled]
[New Thread 1088322144 (LWP 5769)]
[New Thread 1101118384 (LWP 5773)]
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...[Thread debugging using libthread_db enabled]
[New Thread 1088322144 (LWP 5769)]
[New Thread 1101118384 (LWP 5773)]
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...0xffffe410 in
__kernel_vsyscall ()
#0 0xffffe410 in __kernel_vsyscall ()
#1 0x40bf142b in __waitpid_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x4009a3dd in libgnomeui_module_info_get ()
   from /usr/lib/libgnomeui-2.so.0
#3 <signal handler called>
#4 0x40bc7bcf in g_type_check_instance_is_a ()
   from /usr/lib/libgobject-2.0.so.0
#5 0x4066de0d in gtk_widget_set_sensitive ()
   from /usr/lib/libgtk-x11-2.0.so.0
#6 0x0806d7c0 in terminal_screen_get_text_selected ()
#7 0x0806ddef in terminal_screen_get_text_selected ()
#8 0x4057ea7e in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
#9 0x40bac7eb in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#10 0x40bbee02 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#11 0x40bbdc3f in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#12 0x40bbe140 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#13 0x4066cc09 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x4057d23a in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x4057c10a in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x4078b1ab in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#17 0x40c19a7d in g_main_depth () from /usr/lib/libglib-2.0.so.0
#18 0x40c1aaa8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0x40c1adca in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0x40c1b3a3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#21 0x4057ba56 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x0805e323 in main ()

Thread 2 (Thread 1101118384 (LWP 5773)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0x40bf041b in __read_nocancel () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2 0x40c1c680 in g_timeout_add () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#3 0x40c32abf in g_static_private_free () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#4 0x40beba2b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#5 0x00000000 in ?? ()
No symbol table info available.

Thread 1 (Thread 1088322144 (LWP 5769)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0x40bf142b in __waitpid_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2 0x4009a3dd in libgnomeui_module_info_get ()
   from /usr/lib/libgnomeui-2.so.0
No symbol table info available.
#3 <signal handler called>
No symbol table info available.
#4 0x40bc7bcf in g_type_check_instance_is_a ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#5 0x4066de0d in gtk_widget_set_sensitive ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#6 0x0806d7c0 in terminal_screen_get_text_selected ()
No symbol table info available.
#7 0x0806ddef in terminal_screen_get_text_selected ()
No symbol table info available.
#8 0x4057ea7e in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#9 0x40bac7eb in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#10 0x40bbee02 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#11 0x40bbdc3f in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#12 0x40bbe140 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#13 0x4066cc09 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#14 0x4057d23a in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#15 0x4057c10a in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#16 0x4078b1ab in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#17 0x40c19a7d in g_main_depth () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#18 0x40c1aaa8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#19 0x40c1adca in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#20 0x40c1b3a3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#21 0x4057ba56 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#22 0x0805e323 in main ()
No symbol table info available.
#0 0xffffe410 in __kernel_vsyscall ()