"Open in new Window" crashes Terminal

Bug #1157350 reported by Julien Spautz
316
This bug affects 59 people
Affects Status Importance Assigned to Milestone
Granite
Fix Released
Critical
xapantu
Terminal
Fix Released
Critical
Julien Spautz

Bug Description

To reproduce, right-click on any tab, select "Open in a new Window", and then Pantheon Terminal crashes:

$ pantheon-terminal
[_LOG_LEVEL_INFO 19:42:38.938056] Application.vala:75: Pantheon Terminal version: 0.2
[_LOG_LEVEL_INFO 19:42:38.938132] Application.vala:77: Kernel version: 3.2.0-38-generic
[_LOG_LEVEL_DEBUG 19:42:38.943622] Settings.vala:155: Loading settings from schema 'org.pantheon.terminal.saved-state'
[_LOG_LEVEL_DEBUG 19:42:38.943987] Settings.vala:155: Loading settings from schema 'org.pantheon.terminal.settings'
[_LOG_LEVEL_DEBUG 19:42:38.973867] [Gtk] Connecting to session manager
[_LOG_LEVEL_FATAL 19:42:39.014246] [Gdk] gdk_x11_window_set_title: assertion `title != NULL' failed
[_LOG_LEVEL_FATAL 19:42:39.014278] PantheonTerminal will not function properly.

... trying to open in a new window here ...

Segmentation fault (core dumped)

Related branches

Revision history for this message
Julien Spautz (julien-spautz) wrote :

Same thing happens when dragging one tab to another window. Both windows segfault.

Cody Garver (codygarver)
Changed in pantheon-terminal:
milestone: none → luna-beta3
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
David Gomes (davidgomes) wrote :

I think this was caused by recent Granite changes. I don't recall this happening a week ago and there were no commits to trunk that could have caused this.

Either way, I can confirm this and will try it in older revisions but with same Granite version.

Revision history for this message
Julien Spautz (julien-spautz) wrote :

In midori you can still drag tabs from one window to another one, but when dragging it somewhere else, midori closes, but doesn't seem to segfault.

Revision history for this message
Julien Spautz (julien-spautz) wrote :

Actually, it does segfault…

David Gomes (davidgomes)
Changed in granite:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Julien Spautz (julien-spautz) wrote :

Setting a group name to the DynamicNotebook fixes DnD to partially work like in midori. But it still crashes when not dragging the tab to a notebook.

Revision history for this message
Julien Spautz (julien-spautz) wrote :

Commenting out lines 301 - 312 in PantheonTerminalWindow.vala seems to keep terminal from crashing… But you can't create new windows.

Changed in pantheon-terminal:
assignee: nobody → Julien Spautz (julien-spautz)
status: Confirmed → In Progress
Changed in granite:
status: Confirmed → In Progress
assignee: nobody → Julien Spautz (julien-spautz)
David Gomes (davidgomes)
Changed in granite:
milestone: none → luna-beta2
Cody Garver (codygarver)
Changed in granite:
milestone: luna-beta2 → rc1
Changed in pantheon-terminal:
milestone: luna-beta3 → rc1
Revision history for this message
Cody Garver (codygarver) wrote :

Temporarily fixed in Terminal by disabling dragging tabs to create new windows. Still a huge f***ing problem.

Changed in pantheon-terminal:
status: In Progress → Fix Released
Changed in granite:
importance: High → Critical
Revision history for this message
Cody Garver (codygarver) wrote :

Also known as pantheon-terminal crashed with SIGSEGV in gtk_grid_get_child_at()

Cody Garver (codygarver)
Changed in pantheon-terminal:
milestone: luna-rc1 → 0.2.1
Cody Garver (codygarver)
Changed in granite:
status: In Progress → Confirmed
assignee: Julien Spautz (julien-spautz) → nobody
Cody Garver (codygarver)
Changed in granite:
assignee: nobody → xapantu (xapantu)
status: Confirmed → Fix Released
Revision history for this message
Martin Hansen (martin-h) wrote :

I have this problem in freya. Well right click and selecting open in new window works fine. But dragging it does not, then the terminal crashes and I get this output:

martin@eos:~$ pantheon-terminal -d
[_LOG_LEVEL_INFO 15:05:12.706084] Application.vala:155: Terminal version: 0.3.1
[_LOG_LEVEL_INFO 15:05:12.706143] Application.vala:157: Kernel version: 4.0.0-040000rc7-generic
[_LOG_LEVEL_DEBUG 15:05:12.710351] Settings.vala:158: Loading settings from schema 'org.pantheon.terminal.saved-state'
[_LOG_LEVEL_DEBUG 15:05:12.710762] Settings.vala:158: Loading settings from schema 'org.pantheon.terminal.settings'
[_LOG_LEVEL_WARN 15:05:12.713160] Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-pzBfWr5roI: Connection refused
[_LOG_LEVEL_DEBUG 15:05:12.729023] [Gtk] Connecting to session manager
[_LOG_LEVEL_FATAL 15:05:20.808358] [Gtk] gtk_widget_get_frame_clock: assertion 'GTK_IS_WIDGET (widget)' failed
[_LOG_LEVEL_FATAL 15:05:20.808396] PantheonTerminal will not function properly.
Segmentation fault (core dumped)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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