Segmentation Fault in edubuntu-menueditor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Edubuntu Menu Editor |
Fix Committed
|
Low
|
Marc Gariépy |
Bug Description
Segmentation Fault when launching bin/menueditor and X is unavailable
$ DISPLAY=no_thanks bin/menueditor
/usr/lib/
warnings.
bin/menueditor:369: Warning: invalid (NULL) pointer instance
builder.
bin/menueditor:369: Warning: g_signal_
builder.
bin/menueditor:369: GtkWarning: gtk_settings_
builder.
bin/menueditor:369: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
builder.
bin/menueditor:369: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
builder.
/home/vince/
self.icon_theme = gtk.icon_
bin/menueditor:105: GtkWarning: gtk_settings_
self.
bin/menueditor:105: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
self.
bin/menueditor:119: GtkWarning: gtk_settings_
self.
bin/menueditor:119: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
self.
bin/menueditor:388: GtkWarning: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
window.show()
bin/menueditor:388: GtkWarning: gdk_pango_
window.show()
bin/menueditor:388: PangoWarning: pango_context_
window.show()
bin/menueditor:388: PangoWarning: pango_context_
window.show()
bin/menueditor:388: PangoWarning: pango_context_
window.show()
bin/menueditor:388: PangoWarning: pango_layout_new: assertion `context != NULL' failed
window.show()
bin/menueditor:388: PangoWarning: pango_layout_
window.show()
bin/menueditor:388: PangoWarning: pango_layout_
window.show()
bin/menueditor:388: PangoWarning: pango_layout_
window.show()
bin/menueditor:388: PangoWarning: pango_layout_
window.show()
bin/menueditor:388: PangoWarning: pango_layout_
window.show()
bin/menueditor:388: PangoWarning: pango_layout_
window.show()
bin/menueditor:388: PangoWarning: pango_layout_
window.show()
bin/menueditor:388: GtkWarning: gtk_settings_
window.show()
bin/menueditor:388: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
window.show()
bin/menueditor:388: PangoWarning: pango_layout_
window.show()
bin/menueditor:388: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
window.show()
bin/menueditor:388: PangoWarning: pango_layout_
window.show()
bin/menueditor:388: GtkWarning: gtk_widget_
window.show()
bin/menueditor:388: GtkWarning: gtk_widget_
window.show()
bin/menueditor:388: GtkWarning: gdk_screen_
window.show()
bin/menueditor:388: GtkWarning: gdk_colormap_
window.show()
bin/menueditor:388: GtkWarning: gdk_screen_
window.show()
bin/menueditor:388: GtkWarning: gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed
window.show()
[1] 5937 segmentation fault DISPLAY=no_thanks bin/menueditor
Changed in menueditor: | |
status: | New → Confirmed |
importance: | Undecided → Low |
assignee: | nobody → Marc Gariépy (mgariepy) |
summary: |
- Segmentation Fault + Segmentation Fault in edubuntu-menueditor |
Here is a fix to catch the warning and the long series of asserts in gtk
a simple check of
window.get_screen() is not None
before
window.show()
in bin/menueditor
also does the trick, but shows an ugly trace of gtk asserts