GNOME Terminal crashes when dragging tabs onto its own window
Submitted by Jeff Bai
Link to original bug (#767588)
Description
GNOME Terminal 3.20.2 will crash when:
- Using tabs to open "new windows" (as per the Preference says);
- Create some tabs;
- Using the mouse, drag the actual "tabs" onto the window area (a.k.a. the actual terminal);
- Run a command;
... And the Terminal will crash (segfault on gnome-terminal-server), with a backtrace as follows.
#0 0x00007ffbec6b8e53 in gtk_widget_get_ancestor () at /usr/lib/libgtk-3.so.0
#1 0x000055ab6367a196 in ()
#2 0x00007ffbec157e78 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#3 0x00007ffbec169e28 in () at /usr/lib/libgobject-2.0.so.0
#4 0x00007ffbec172aa0 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#5 0x00007ffbec172e3f in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#6 0x00007ffbec15c2c4 in () at /usr/lib/libgobject-2.0.so.0
#7 0x00007ffbec15bb59 in () at /usr/lib/libgobject-2.0.so.0
#8 0x00007ffbec15e91b in g_object_thaw_notify () at /usr/lib/libgobject-2.0.so.0
#9 0x00007ffbecbc5bed in () at /usr/lib/libvte-2.91.so.0
#10 0x00007ffbecbc6961 in () at /usr/lib/libvte-2.91.so.0
#11 0x00007ffbecbc6a48 in () at /usr/lib/libvte-2.91.so.0
#12 0x00007ffbecbc6aae in () at /usr/lib/libvte-2.91.so.0
#13 0x00007ffbec082923 in () at /usr/lib/libglib-2.0.so.0
#14 0x00007ffbec081ea6 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#15 0x00007ffbec082260 in () at /usr/lib/libglib-2.0.so.0
#16 0x00007ffbec08230c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#17 0x00007ffbec24a8bd in g_application_run () at /usr/lib/libgio-2.0.so.0
#18 0x000055ab6366a1ed in ()
#19 0x00007ffbeba9b721 in __libc_start_main () at /usr/lib/libc.so.6
#20 0x000055ab6366a329 in ()
Sorry, but I don't have myself a debug binary handy at the moment. The backtrace will be updated.
P.S. two of my friends was able to reproduce the same issue but without the step "4. Run a command;", I have told them to come over to confirm it - and of course, explain it a bit better.
Version: 3.20.x