Jazz build engine: Gtk critical error on Linux
Hi
When I start jbe on linux I encounter following problem:
(jbe:8367): Gtk-CRITICAL **: file gtksettings.c: line 447
(gtk_settings_get_for_screen): assertion `GDK_IS_SCREEN (screen)' failed
(jbe:8367): GLib-GObject-CRITICAL **: file gobject.c: line 1222
(g_object_get): assertion `G_IS_OBJECT (object)' failed
(jbe:8367): GLib-GObject-WARNING **: value "TRUE" of type `gboolean' is
invalid or out of range for property `visible' of type `gboolean'
(jbe:8367): Gtk-WARNING **: Screen for GtkWindow not set; you must always
set
a screen for a GtkWindow before using the window
(jbe:8367): Gdk-CRITICAL **: file gdkpango-x11.c: line 49
(gdk_pango_context_get_for_screen): assertion `GDK_IS_SCREEN (screen)'
failed
(jbe:8367): Gdk-CRITICAL **: file gdkscreen-x11.c: line 250
(gdk_screen_get_default_colormap): assertion `GDK_IS_SCREEN (screen)' failed
(jbe:8367): Gdk-CRITICAL **: file gdkpango.c: line 150
(gdk_pango_context_set_colormap): assertion `context != NULL' failed
** (jbe:8367): CRITICAL **: file pango-context.c: line 382
(pango_context_set_base_dir): assertion `context != NULL' failed
** (jbe:8367): CRITICAL **: file pango-context.c: line 308
(pango_context_set_font_description): assertion `context != NULL' failed
** (jbe:8367): CRITICAL **: file pango-context.c: line 343
(pango_context_set_language): assertion `context != NULL' failed
** (jbe:8367): CRITICAL **: file pango-layout.c: line 208
(pango_layout_new): assertion `context != NULL' failed
** (jbe:8367): CRITICAL **: file pango-layout.c: line 782
(pango_layout_set_text): assertion `layout != NULL' failed
** (jbe:8367): CRITICAL **: file pango-layout.c: line 441
(pango_layout_set_attributes): assertion `layout != NULL' failed
** (jbe:8367): CRITICAL **: file pango-layout.c: line 605
(pango_layout_set_alignment): assertion `layout != NULL' failed
** (jbe:8367): CRITICAL **: file pango-layout.c: line 293
(pango_layout_set_width): assertion `layout != NULL' failed
** (jbe:8367): CRITICAL **: file pango-layout.c: line 2126
(pango_layout_get_extents): assertion `layout != NULL' failed
(jbe:8367): Gtk-CRITICAL **: file gtkicontheme.c: line 310
(gtk_icon_theme_get_for_screen): assertion `GDK_IS_SCREEN (screen)' failed
(jbe:8367): Gtk-CRITICAL **: file gtksettings.c: line 447
(gtk_settings_get_for_screen): assertion `GDK_IS_SCREEN (screen)' failed
(jbe:8367): Gtk-CRITICAL **: file gtkiconfactory.c: line 1098
(gtk_icon_size_lookup_for_settings): assertion `GTK_IS_SETTINGS (settings)'
failed
(jbe:8367): Gtk-WARNING **: Invalid icon size 6
(jbe:8367): Gtk-CRITICAL **: file gtkicontheme.c: line 1240
(gtk_icon_theme_load_icon): assertion `GTK_IS_ICON_THEME (icon_theme)'
failed
Platform: Linux version 2.6.9-42.ELsmp
(bhcompile@hs20-bc1-1.build.redhat.com) (gcc version 3.4.6 20060404 (Red Hat
3.4.6-2))
I have invented a workaround: java -jar
plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar -repository
....
i.e. invoking eclipse launcher directly.
However, can you point me what's wrong?
Roman
When I start jbe on linux I encounter following problem:
(jbe:8367): Gtk-CRITICAL **: file gtksettings.c: line 447
(gtk_settings_get_for_screen): assertion `GDK_IS_SCREEN (screen)' failed
(jbe:8367): GLib-GObject-CRITICAL **: file gobject.c: line 1222
(g_object_get): assertion `G_IS_OBJECT (object)' failed
(jbe:8367): GLib-GObject-WARNING **: value "TRUE" of type `gboolean' is
invalid or out of range for property `visible' of type `gboolean'
(jbe:8367): Gtk-WARNING **: Screen for GtkWindow not set; you must always
set
a screen for a GtkWindow before using the window
(jbe:8367): Gdk-CRITICAL **: file gdkpango-x11.c: line 49
(gdk_pango_context_get_for_screen): assertion `GDK_IS_SCREEN (screen)'
failed
(jbe:8367): Gdk-CRITICAL **: file gdkscreen-x11.c: line 250
(gdk_screen_get_default_colormap): assertion `GDK_IS_SCREEN (screen)' failed
(jbe:8367): Gdk-CRITICAL **: file gdkpango.c: line 150
(gdk_pango_context_set_colormap): assertion `context != NULL' failed
** (jbe:8367): CRITICAL **: file pango-context.c: line 382
(pango_context_set_base_dir): assertion `context != NULL' failed
** (jbe:8367): CRITICAL **: file pango-context.c: line 308
(pango_context_set_font_description): assertion `context != NULL' failed
** (jbe:8367): CRITICAL **: file pango-context.c: line 343
(pango_context_set_language): assertion `context != NULL' failed
** (jbe:8367): CRITICAL **: file pango-layout.c: line 208
(pango_layout_new): assertion `context != NULL' failed
** (jbe:8367): CRITICAL **: file pango-layout.c: line 782
(pango_layout_set_text): assertion `layout != NULL' failed
** (jbe:8367): CRITICAL **: file pango-layout.c: line 441
(pango_layout_set_attributes): assertion `layout != NULL' failed
** (jbe:8367): CRITICAL **: file pango-layout.c: line 605
(pango_layout_set_alignment): assertion `layout != NULL' failed
** (jbe:8367): CRITICAL **: file pango-layout.c: line 293
(pango_layout_set_width): assertion `layout != NULL' failed
** (jbe:8367): CRITICAL **: file pango-layout.c: line 2126
(pango_layout_get_extents): assertion `layout != NULL' failed
(jbe:8367): Gtk-CRITICAL **: file gtkicontheme.c: line 310
(gtk_icon_theme_get_for_screen): assertion `GDK_IS_SCREEN (screen)' failed
(jbe:8367): Gtk-CRITICAL **: file gtksettings.c: line 447
(gtk_settings_get_for_screen): assertion `GDK_IS_SCREEN (screen)' failed
(jbe:8367): Gtk-CRITICAL **: file gtkiconfactory.c: line 1098
(gtk_icon_size_lookup_for_settings): assertion `GTK_IS_SETTINGS (settings)'
failed
(jbe:8367): Gtk-WARNING **: Invalid icon size 6
(jbe:8367): Gtk-CRITICAL **: file gtkicontheme.c: line 1240
(gtk_icon_theme_load_icon): assertion `GTK_IS_ICON_THEME (icon_theme)'
failed
Platform: Linux version 2.6.9-42.ELsmp
(bhcompile@hs20-bc1-1.build.redhat.com) (gcc version 3.4.6 20060404 (Red Hat
3.4.6-2))
I have invented a workaround: java -jar
plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar -repository
....
i.e. invoking eclipse launcher directly.
However, can you point me what's wrong?
Roman
3 answers
Hm, the reason is pretty simple and reasonable: I run the eclipse (jbe)
outside a window toolkit - ./jbe works when using xterm.
Regards,
Roman
"Roman Smirak" <roman.smirak@tietoenator.com> wrote in message
news:fn1quh$b0b$1@localhost.localdomain...
outside a window toolkit - ./jbe works when using xterm.
Regards,
Roman
"Roman Smirak" <roman.smirak@tietoenator.com> wrote in message
news:fn1quh$b0b$1@localhost.localdomain...
Hi
When I start jbe on linux I encounter following problem:
(jbe:8367): Gtk-CRITICAL **: file gtksettings.c: line 447
(gtk_settings_get_for_screen): assertion `GDK_IS_SCREEN (screen)' failed
(jbe:8367): GLib-GObject-CRITICAL **: file gobject.c: line 1222
(g_object_get): assertion `G_IS_OBJECT (object)' failed
(jbe:8367): GLib-GObject-WARNING **: value "TRUE" of type `gboolean' is
invalid or out of range for property `visible' of type `gboolean'
(jbe:8367): Gtk-WARNING **: Screen for GtkWindow not set; you must always
set
a screen for a GtkWindow before using the window
(jbe:8367): Gdk-CRITICAL **: file gdkpango-x11.c: line 49
(gdk_pango_context_get_for_screen): assertion `GDK_IS_SCREEN (screen)'
failed
(jbe:8367): Gdk-CRITICAL **: file gdkscreen-x11.c: line 250
(gdk_screen_get_default_colormap): assertion `GDK_IS_SCREEN (screen)'
failed
(jbe:8367): Gdk-CRITICAL **: file gdkpango.c: line 150
(gdk_pango_context_set_colormap): assertion `context != NULL' failed
** (jbe:8367): CRITICAL **: file pango-context.c: line 382
(pango_context_set_base_dir): assertion `context != NULL' failed
** (jbe:8367): CRITICAL **: file pango-context.c: line 308
(pango_context_set_font_description): assertion `context != NULL' failed
** (jbe:8367): CRITICAL **: file pango-context.c: line 343
(pango_context_set_language): assertion `context != NULL' failed
** (jbe:8367): CRITICAL **: file pango-layout.c: line 208
(pango_layout_new): assertion `context != NULL' failed
** (jbe:8367): CRITICAL **: file pango-layout.c: line 782
(pango_layout_set_text): assertion `layout != NULL' failed
** (jbe:8367): CRITICAL **: file pango-layout.c: line 441
(pango_layout_set_attributes): assertion `layout != NULL' failed
** (jbe:8367): CRITICAL **: file pango-layout.c: line 605
(pango_layout_set_alignment): assertion `layout != NULL' failed
** (jbe:8367): CRITICAL **: file pango-layout.c: line 293
(pango_layout_set_width): assertion `layout != NULL' failed
** (jbe:8367): CRITICAL **: file pango-layout.c: line 2126
(pango_layout_get_extents): assertion `layout != NULL' failed
(jbe:8367): Gtk-CRITICAL **: file gtkicontheme.c: line 310
(gtk_icon_theme_get_for_screen): assertion `GDK_IS_SCREEN (screen)' failed
(jbe:8367): Gtk-CRITICAL **: file gtksettings.c: line 447
(gtk_settings_get_for_screen): assertion `GDK_IS_SCREEN (screen)' failed
(jbe:8367): Gtk-CRITICAL **: file gtkiconfactory.c: line 1098
(gtk_icon_size_lookup_for_settings): assertion `GTK_IS_SETTINGS
(settings)' failed
(jbe:8367): Gtk-WARNING **: Invalid icon size 6
(jbe:8367): Gtk-CRITICAL **: file gtkicontheme.c: line 1240
(gtk_icon_theme_load_icon): assertion `GTK_IS_ICON_THEME (icon_theme)'
failed
Platform: Linux version 2.6.9-42.ELsmp
(bhcompile@hs20-bc1-1.build.redhat.com) (gcc version 3.4.6 20060404 (Red
Hat 3.4.6-2))
I have invented a workaround: java -jar
plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar -repository
...
i.e. invoking eclipse launcher directly.
However, can you point me what's wrong?
Roman
Yes, that is something I assumed; I have created work item
https://jazz.net/jazz/web/projects/Jazz%20Project#action=com.ibm.team.workitem.viewWorkItem&id=41862
Roman
"Ryan Manwiller" <ryanman@no-s-p-a-m.us.ibm.com> wrote in message
news:fn2mrq$n5i$1@localhost.localdomain...
https://jazz.net/jazz/web/projects/Jazz%20Project#action=com.ibm.team.workitem.viewWorkItem&id=41862
Roman
"Ryan Manwiller" <ryanman@no-s-p-a-m.us.ibm.com> wrote in message
news:fn2mrq$n5i$1@localhost.localdomain...
jbe should be a headless rcp application. I don't see why it should
require UI. Can you submit a work item in the Build category and we will
investigate.
---
Ryan Manwiller
Jazz Team Build