Open in new window option makes Scratch crash

Bug #1627518 reported by Félix Brezo on 2016-09-25
This bug affects 3 people
Affects Status Importance Assigned to Milestone

Bug Description

Trying to open a new text in a new window makes the application crash. I am attaching the debug:

felix@has:~$ scratch-text-editor --debug
[INFO 18:16:42.521627] Application.vala:155: Scratch version: 2.3
[INFO 18:16:42.521664] Application.vala:157: Kernel version: 4.4.0-38-generic
[DEBUG 18:16:42.529702] Settings.vala:163: Loading settings from schema 'org.pantheon.scratch.saved-state'
[DEBUG 18:16:42.530138] Settings.vala:163: Loading settings from schema 'org.pantheon.scratch.settings'
[DEBUG 18:16:42.530791] Settings.vala:163: Loading settings from schema ''
[DEBUG 18:16:42.567848] [Gtk] Connecting to session manager
[WARNING 18:16:42.572813] [libpeas] Failed to enable unknown plugin loader 'gjs'
[DEBUG 18:16:42.582971] Settings.vala:163: Loading settings from schema 'org.pantheon.scratch.plugins.terminal'
[FATAL 18:16:42.584545] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:16:42.584569] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[DEBUG 18:16:42.584586] terminal.vala:123: Remove Terminal page: -1
[FATAL 18:16:42.584600] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:16:42.584613] [Gtk] gtk_notebook_remove_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:16:42.584661] [Gtk] gtk_notebook_append_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:16:42.584675] [Gtk] gtk_notebook_set_current_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[DEBUG 18:16:42.584702] terminal.vala:126: Move Terminal: CONTEXTBAR.
[FATAL 18:16:42.584773] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:16:42.584789] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[DEBUG 18:16:42.584805] terminal.vala:123: Remove Terminal page: -1
[FATAL 18:16:42.584817] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:16:42.584828] [Gtk] gtk_notebook_remove_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:16:42.584872] [Gtk] gtk_notebook_append_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:16:42.584885] [Gtk] gtk_notebook_set_current_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[DEBUG 18:16:42.584908] terminal.vala:126: Move Terminal: CONTEXTBAR.
[FATAL 18:16:42.584938] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:16:42.584949] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[DEBUG 18:16:42.584961] terminal.vala:114: Remove Terminal page: -1
[FATAL 18:16:42.584972] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:16:42.584982] [Gtk] gtk_notebook_remove_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:16:42.585021] [Gtk] gtk_notebook_append_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:16:42.585033] [Gtk] gtk_notebook_set_current_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[DEBUG 18:16:42.585053] terminal.vala:117: Move Terminal: BOTTOMBAR.
[FATAL 18:16:42.585109] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:16:42.585122] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[DEBUG 18:16:42.585134] terminal.vala:114: Remove Terminal page: -1
[FATAL 18:16:42.585146] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:16:42.585157] [Gtk] gtk_notebook_remove_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:16:42.585197] [Gtk] gtk_notebook_append_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:16:42.585209] [Gtk] gtk_notebook_set_current_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[DEBUG 18:16:42.585229] terminal.vala:117: Move Terminal: BOTTOMBAR.
[WARNING 18:16:42.588995] [libpeas] Failed to enable unknown plugin loader 'gjs'
[FATAL 18:16:42.693402] [Gtk] gtk_action_set_visible: assertion 'GTK_IS_ACTION (action)' failed
[DEBUG 18:16:42.695794] SplitView.vala:178: WelcomeScreen shown successfully
[DEBUG 18:16:42.699668] Settings.vala:163: Loading settings from schema 'org.pantheon.scratch.plugins.folder-manager'
[DEBUG 18:16:45.845308] SplitView.vala:186: WelcomeScreen hidden successfully
[DEBUG 18:16:45.846418] SplitView.vala:124: View added successfully
[DEBUG 18:16:45.848518] sql-schema.vala:204: schema_version is 10
[DEBUG 18:16:45.878182] Document.vala:743: Could not find mount location
[INFO 18:16:45.878332] Document.vala:169: Opening "Documento nuevo"
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

[INFO 18:16:49.093941] Document.vala:320: File "Documento nuevo" saved succesfully
[DEBUG 18:16:58.145723] sql-schema.vala:204: schema_version is 10
[DEBUG 18:16:58.153994] Document.vala:743: Could not find mount location
[INFO 18:16:58.154064] Document.vala:169: Opening "Documento nuevo"
[DEBUG 18:16:58.157950] plugin.vala:187: removing provider Documento nuevo - Compleción de palabras
[WARNING 18:17:01.481049] [libpeas] Failed to enable unknown plugin loader 'gjs'
[DEBUG 18:17:01.482150] Settings.vala:163: Loading settings from schema 'org.pantheon.scratch.plugins.terminal'
[FATAL 18:17:01.483077] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:17:01.483098] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[DEBUG 18:17:01.483115] terminal.vala:123: Remove Terminal page: -1
[FATAL 18:17:01.483131] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:17:01.483147] [Gtk] gtk_notebook_remove_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:17:01.483193] [Gtk] gtk_notebook_append_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:17:01.483210] [Gtk] gtk_notebook_set_current_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[DEBUG 18:17:01.483237] terminal.vala:126: Move Terminal: CONTEXTBAR.
[DEBUG 18:17:01.483323] terminal.vala:123: Remove Terminal page: -1
[WARNING 18:17:01.483503] [Gtk] Can't set a parent on widget which has a parent
[DEBUG 18:17:01.484150] terminal.vala:126: Move Terminal: CONTEXTBAR.
[FATAL 18:17:01.484197] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:17:01.484213] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[DEBUG 18:17:01.484226] terminal.vala:123: Remove Terminal page: -1
[FATAL 18:17:01.484239] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:17:01.484252] [Gtk] gtk_notebook_remove_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:17:01.484301] [Gtk] gtk_notebook_append_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:17:01.484315] [Gtk] gtk_notebook_set_current_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[DEBUG 18:17:01.484339] terminal.vala:126: Move Terminal: CONTEXTBAR.
[FATAL 18:17:01.484369] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:17:01.484382] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[DEBUG 18:17:01.484394] terminal.vala:114: Remove Terminal page: -1
[FATAL 18:17:01.484405] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:17:01.484417] [Gtk] gtk_notebook_remove_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:17:01.484458] [Gtk] gtk_notebook_append_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:17:01.484472] [Gtk] gtk_notebook_set_current_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[DEBUG 18:17:01.484493] terminal.vala:117: Move Terminal: BOTTOMBAR.
[DEBUG 18:17:01.484536] terminal.vala:114: Remove Terminal page: 0
[DEBUG 18:17:01.484737] terminal.vala:117: Move Terminal: BOTTOMBAR.
[FATAL 18:17:01.484774] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:17:01.484788] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[DEBUG 18:17:01.484800] terminal.vala:114: Remove Terminal page: -1
[FATAL 18:17:01.484812] [Gtk] gtk_notebook_page_num: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:17:01.484824] [Gtk] gtk_notebook_remove_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:17:01.484865] [Gtk] gtk_notebook_append_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[FATAL 18:17:01.484878] [Gtk] gtk_notebook_set_current_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed
[DEBUG 18:17:01.484901] terminal.vala:117: Move Terminal: BOTTOMBAR.
[WARNING 18:17:01.491587] [libpeas] Failed to enable unknown plugin loader 'gjs'
[FATAL 18:17:01.526018] [Gtk] gtk_action_set_visible: assertion 'GTK_IS_ACTION (action)' failed
[DEBUG 18:17:01.528868] SplitView.vala:178: WelcomeScreen shown successfully
[DEBUG 18:17:01.531809] Settings.vala:163: Loading settings from schema 'org.pantheon.scratch.plugins.folder-manager'
[DEBUG 18:17:01.533029] SplitView.vala:186: WelcomeScreen hidden successfully
[DEBUG 18:17:01.534370] SplitView.vala:124: View added successfully
Gtk:ERROR:/build/gtk+3.0-6ZPWga/gtk+3.0-3.18.9/./gtk/gtkcontainer.c:3835:gtk_container_propagate_draw: assertion failed: (_gtk_widget_get_parent (child) == GTK_WIDGET (container))
Abortado (`core' generado)

Changed in scratch:
status: New → Confirmed
Artem Anufrij (artem-anufrij) wrote :

Felix, have you "Terminal"-Extention activated?

Nicholas Estrada (116nic97-l) wrote :

I'm not Felix, but I do have the same problem and I also have the Terminal extension activated. I would like to turn it off and see if that helps but I can't, as there's no way to get to the settings and not even apt-get remove --purge seems to clear the configuration.

Nicholas Estrada (116nic97-l) wrote :

I was able to clear all settings with the following commands.

gsettings reset-recursively org.pantheon.scratch.settings
gsettings reset-recursively org.pantheon.scratch.saved-state

I reimplemented all my settings one by one, each time closing and reopening the program. I also logged out and back in a few times for good measure. All my settings are reimplemented now including the extension and everything still works just fine. I don't know what happened before but it's all fine and dandy now.

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

Other bug subscribers