gnome-terminal crashes when tab is dragged onto another tab's terminal area

Bug #1637333 reported by Redfern-derek
58
This bug affects 11 people
Affects Status Importance Assigned to Milestone
GNOME Terminal
Confirmed
Medium
GTK+
Expired
Critical
gnome-terminal (Ubuntu)
Confirmed
Undecided
Unassigned
gtk+3.0 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This bug occurs when I drag an existing terminal tab out of the tab bar and drop it onto the text area of the open terminal. Usually occurs by accident, to be honest (when I don't mean to drag the tab at all, for instance) but it's 100% reproducible intentionally.

I found several old bug reports on similar issues, but they were either not detailed enough to figure out if they were exactly the same or were closed as duplicates of a bug that no longer exists (https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1442826).

Apport generated a report (title: gnome-terminal-server crashed with SIGABRT in g_assertion_message()) for me and then helpfully explained that the bug had already been filed. It redirected me to a bug that doesn't exist (https://bugs.launchpad.net/bugs/1595907) though, so I'm refiling it here.

1. Ubuntu release:
spyro@julep:~$ lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04

2. Package version:
spyro@julep:~$ apt-cache policy gnome-terminal
gnome-terminal:
  Installed: 3.20.2-1ubuntu3~ubuntu16.04.1
  Candidate: 3.20.2-1ubuntu3~ubuntu16.04.1
  Version table:
 *** 3.20.2-1ubuntu3~ubuntu16.04.1 500
        500 http://ppa.launchpad.net/gnome3-team/gnome3-staging/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status
     3.18.3-1ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
spyro@julep:~$

3. Expected behavior: Tab should split into a new window (as it does if you drop it onto someplace that's not a gnome-terminal window). At the worst, it should go back to where it was on the tab bar instead of crashing.

4. Actual behavior: The whole gnome-terminal window crashes, losing any activity or work on other tabs. Other open gnome-terminal windows also crash and close.

From /var/log/syslog:
Oct 27 14:54:03 julep org.gnome.Terminal[2217]: (gnome-terminal-server:30721): G
Lib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
Oct 27 14:54:03 julep org.gnome.Terminal[2217]: (gnome-terminal-server:30721): G
tk-CRITICAL **: gtk_container_get_focus_child: assertion 'GTK_IS_CONTAINER (cont
ainer)' failed
Oct 27 14:54:03 julep org.gnome.Terminal[2217]: (gnome-terminal-server:30721): G
Lib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Oct 27 14:54:03 julep org.gnome.Terminal[2217]: (gnome-terminal-server:30721): G
tk-CRITICAL **: gtk_container_get_focus_child: assertion 'GTK_IS_CONTAINER (cont
ainer)' failed
Oct 27 14:54:03 julep org.gnome.Terminal[2217]: **
Oct 27 14:54:03 julep org.gnome.Terminal[2217]: Gtk:ERROR:/build/gtk+3.0-j0Vp0u/
gtk+3.0-3.20.8/./gtk/gtkwidget.c:5830:gtk_widget_get_frame_clock: assertion fail
ed: (window != NULL)
Oct 27 14:54:06 julep /usr/lib/gdm3/gdm-x-session[2197]: Activating service name
='org.gnome.Contacts.SearchProvider'
Oct 27 14:54:06 julep /usr/lib/gdm3/gdm-x-session[2197]: Activating service name
='org.gnome.Documents'
Oct 27 14:54:06 julep /usr/lib/gdm3/gdm-x-session[2197]: Activating service name
='org.gnome.Nautilus'

I've also saved the apport-generated crash report if that would be helpful to upload.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-terminal (Ubuntu):
status: New → Confirmed
Revision history for this message
Marius Gedminas (mgedmin) wrote :

I wonder if this is https://bugzilla.gnome.org/show_bug.cgi?id=769161 or something else

Revision history for this message
Marius Gedminas (mgedmin) wrote :
Revision history for this message
Marius Gedminas (mgedmin) wrote :

Upstream thinks this is a GTK+ bug, hence I'm adding gtk+ to this bug.

no longer affects: gnome-terminal
Changed in gnome-terminal:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in gtk:
importance: Unknown → Critical
status: Unknown → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gtk+3.0 (Ubuntu):
status: New → Confirmed
Revision history for this message
Karl-Philipp Richter (krichter722) wrote :

Exact same issue with 3.20.2-1ubuntu5 on Ubuntu 16.10 amd64. Do you want an `apport-collect` from me?

Revision history for this message
Huan Zhang (victzhang) wrote :

I am suffering from this bug for years, and it is still not fixed in Ubuntu 17.04. It is very annoying because sometimes I accidentally drag the tab and all programs in terminal get killed!

Changed in gtk:
status: Confirmed → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.