Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes



3 answers

Permanent link
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...
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

0 votes


Permanent link
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

0 votes


Permanent link
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...
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

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 21 '08, 5:18 a.m.

Question was seen: 6,648 times

Last updated: Jan 21 '08, 5:18 a.m.

Confirmation Cancel Confirm