Scratch should run clean from terminal shell

Bug #991663 reported by ttosttos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Scratch
Fix Released
Low
Mario Guerriero

Bug Description

When Scratch is run from a terminal shell:
- it doesn't handle signals as expected (e.g. SIGINT/ctrl-c, SIGSTOP/ctrl-z)
- it generates a good amount of info, debug, error output

$ scratch
[INFO 21:12:37.978858] [Application:74] Scratch version: 1.1
[INFO 21:12:37.979197] [Application:76] Kernel version: 3.2.0-23-generic-pae
[DEBUG 21:12:37.979712] [Settings:155] Loading settings from schema 'org.elementary.Scratch.SavedState'
[DEBUG 21:12:37.980858] [Settings:155] Loading settings from schema 'org.elementary.Scratch.Settings'
[DEBUG 21:12:37.986565] [Settings:155] Loading settings from schema 'org.elementary.Scratch.Services'
[FATAL 21:12:38.001573] [Gtk] gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed
[FATAL 21:12:38.001678] Scratch will not function properly.
[FATAL 21:12:38.001776] [Gtk] gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed
[FATAL 21:12:38.001848] Scratch will not function properly.
[FATAL 21:12:38.002124] [Gtk] gtk_menu_shell_insert: assertion `GTK_IS_MENU_SHELL (menu_shell)' failed
[FATAL 21:12:38.002207] Scratch will not function properly.
[FATAL 21:12:38.002309] [Gtk] gtk_widget_show_all: assertion `GTK_IS_WIDGET (widget)' failed
[FATAL 21:12:38.002338] Scratch will not function properly.
[DEBUG 21:12:38.002381] [PluginManager:289] scratchpastebin
[DEBUG 21:12:38.002501] [PluginManager:289] scratchbash
[DEBUG 21:12:38.002619] [PluginManager:289] scratchcontractor
[DEBUG 21:12:38.004133] [Gtk] Connecting to session manager
[FATAL 21:12:38.026891] scratch_services_search_manager_get_search_entry: assertion `self != NULL' failed
[FATAL 21:12:38.026958] Scratch will not function properly.
[FATAL 21:12:38.027017] [Gtk] gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed
[FATAL 21:12:38.027094] Scratch will not function properly.
[FATAL 21:12:38.027151] scratch_services_search_manager_get_search_entry: assertion `self != NULL' failed
[FATAL 21:12:38.027187] Scratch will not function properly.
[FATAL 21:12:38.027227] [Gtk] gtk_widget_set_margin_right: assertion `GTK_IS_WIDGET (widget)' failed
[FATAL 21:12:38.027271] Scratch will not function properly.
[FATAL 21:12:38.027316] scratch_services_search_manager_get_replace_entry: assertion `self != NULL' failed
[FATAL 21:12:38.027360] Scratch will not function properly.
[FATAL 21:12:38.027396] [Gtk] gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed
[FATAL 21:12:38.027425] Scratch will not function properly.
[FATAL 21:12:38.027462] scratch_services_search_manager_get_go_to_entry: assertion `self != NULL' failed
[FATAL 21:12:38.027492] Scratch will not function properly.
[FATAL 21:12:38.027529] [Gtk] gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed
[FATAL 21:12:38.027558] Scratch will not function properly.
[FATAL 21:12:38.027595] [Gtk] gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed
[FATAL 21:12:38.027624] Scratch will not function properly.
[FATAL 21:12:38.037388] [GLib-GIO] g_settings_bind: no property 'case-sensitive' on class 'ScratchServicesSearchManager'
[FATAL 21:12:38.037451] Scratch will not function properly.
[FATAL 21:12:38.055186] [Gtk] gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed
[FATAL 21:12:38.055237] Scratch will not function properly.
[WARN 21:19:02.576665] [Application:114] Caught signal (2), exiting
[FATAL 21:19:02.576882] [Gtk] gtk_main_quit: assertion `main_loops != NULL' failed
[FATAL 21:19:02.576978] Scratch will not function properly.
^C[WARN 21:19:07.340826] [Application:114] Caught signal (2), exiting
[FATAL 21:19:07.341069] [Gtk] gtk_main_quit: assertion `main_loops != NULL' failed
[FATAL 21:19:07.341172] Scratch will not function properly.
^C[WARN 21:19:07.602729] [Application:114] Caught signal (2), exiting
[FATAL 21:19:07.602963] [Gtk] gtk_main_quit: assertion `main_loops != NULL' failed
[FATAL 21:19:07.603102] Scratch will not function properly.
^C[WARN 21:19:07.808678] [Application:114] Caught signal (2), exiting
[FATAL 21:19:07.808912] [Gtk] gtk_main_quit: assertion `main_loops != NULL' failed
[FATAL 21:19:07.809013] Scratch will not function properly.
^C[WARN 21:19:08.014530] [Application:114] Caught signal (2), exiting
[FATAL 21:19:08.014757] [Gtk] gtk_main_quit: assertion `main_loops != NULL' failed
[FATAL 21:19:08.014858] Scratch will not function properly.
^C[WARN 21:19:08.212568] [Application:114] Caught signal (2), exiting
[FATAL 21:19:08.212791] [Gtk] gtk_main_quit: assertion `main_loops != NULL' failed
[FATAL 21:19:08.212889] Scratch will not function properly.

ttosttos (ttosttos)
description: updated
Changed in scratch:
status: New → Confirmed
importance: Undecided → Wishlist
importance: Wishlist → Low
Changed in scratch:
milestone: none → 1.1
assignee: nobody → Mario Guerriero (mefrio-g)
status: Confirmed → In Progress
status: In Progress → Fix Committed
Changed in scratch:
status: Fix Committed → Fix Released
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.