Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] SWT produce a VM failure on a GC.getFontMetrics() call.


Does anyone have already seen this kind of joke ?
Using Eclipse SDK 3.0.1 on a Linux Suse.
Thanks for your help.
Arnaud.


** (<unknown>:668): CRITICAL **: file pango-fontmap.c: line 126 (pango_font_map_load_fontset): assertion `pango_font_description_get_family (desc) != NULL' failed

** (<unknown>:668): CRITICAL **: file pango-fontset.c: line 101 (pango_fontset_get_metrics): assertion `fontset != NULL' failed

(<unknown>:668): GLib-GObject-CRITICAL **: file gobject.c: line 1337 (g_object_unref): assertion `G_IS_OBJECT (object)' failed

** (<unknown>:668): CRITICAL **: file fonts.c: line 1206 (pango_font_metrics_get_ascent): assertion `metrics != NULL' failed

** (<unknown>:668): CRITICAL **: file fonts.c: line 1226 (pango_font_metrics_get_descent): assertion `metrics != NULL' failed

** (<unknown>:668): CRITICAL **: file fonts.c: line 1245 (pango_font_metrics_get_approximate_char_width): assertion `metrics != NULL' failed

** (<unknown>:668): CRITICAL **: file fonts.c: line 1182 (pango_font_metrics_unref): assertion `metrics != NULL' failed

** (<unknown>:668): CRITICAL **: file pango-fontmap.c: line 126 (pango_font_map_load_fontset): assertion `pango_font_description_get_family (desc) != NULL' failed

** (<unknown>:668): CRITICAL **: file pango-fontset.c: line 101 (pango_fontset_get_metrics): assertion `fontset != NULL' failed

(<unknown>:668): GLib-GObject-CRITICAL **: file gobject.c: line 1337 (g_object_unref): assertion `G_IS_OBJECT (object)' failed

** (<unknown>:668): CRITICAL **: file fonts.c: line 1206 (pango_font_metrics_get_ascent): assertion `metrics != NULL' failed

** (<unknown>:668): CRITICAL **: file fonts.c: line 1226 (pango_font_metrics_get_descent): assertion `metrics != NULL' failed

** (<unknown>:668): CRITICAL **: file fonts.c: line 1245 (pango_font_metrics_get_approximate_char_width): assertion `metrics != NULL' failed

** (<unknown>:668): CRITICAL **: file fonts.c: line 1182 (pango_font_metrics_unref): assertion `metrics != NULL' failed

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x400E49DF
Function=strlen+0xF
Library=/lib/libc.so.6

Current Java thread:
        at org.eclipse.swt.internal.gtk.OS.pango_context_get_metrics(Native Method)
        - locked <0x4831db20> (a java.lang.Class)
        at org.eclipse.swt.graphics.GC.getFontMetrics(GC.java:1472)
                at ....

and Sun's VM (1.4.2) produce a core file ...

Back to the top