Error when running gtk-demo

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error when running gtk-demo

Gowri Kandasamy
I built GTK2.4 & its dependencies. I get the following error message
when I run gtk-demo

** (gtk-demo:23035): WARNING **: No builtin or dynamically loaded modules
were found. Pango will not work correctly. This probably means
there was an error in the creation of:
  '/opt/gtk2.4/etc/pango/pango.modules'
You may be able to recreate this file by running pango-querymodules.

(gtk-demo:23035): GLib-GObject-CRITICAL **: file gobject.c: line 1561:
assertion `G_IS_OBJECT (object)' failed

** (gtk-demo:23035): CRITICAL **: file pango-engine.c: line 68:
assertion `PANGO_IS_FONT (font)' failed

** ERROR **: file shape.c: line 75: assertion failed: (glyphs->num_glyphs > 0)
aborting...
Abort(coredump)

The following trace from GBD:
#0  0x20000000782ca3d0:0 in _read_sys+0x30 () from /usr/lib/hpux32/libc.so.1
#1  0x20000000782dd300:0 in read+0x160 () from /usr/lib/hpux32/libc.so.1
#2  0x20000000782a8340:0 in _filbuf+0x1e0 () from /usr/lib/hpux32/libc.so.1
#3  0x2000000078c9f3d0:0 in FcCacheReadString () at fccache.c:65
#4  0x2000000078ca4070:0 in FcGlobalCacheLoad () at fccache.c:792
#5  0x2000000078ca89c0:0 in FcConfigBuildFonts () at fccfg.c:264
#6  0x2000000078cc9ea0:0 in FcInitLoadConfigAndFonts () at fcinit.c:83
#7  0x2000000078cc9fa0:0 in FcInit () at fcinit.c:101
#8  0x2000000078ca8f80:0 in FcConfigGetCurrent () at fccfg.c:313
#9  0x2000000078caeb80:0 in FcConfigSubstituteWithPat () at fccfg.c:1223
#10 0x2000000078cafec0:0 in FcConfigSubstitute () at fccfg.c:1435

#11 0x200000007886d280:0 in pango_xft_font_map_default_substitute ()
    at pangoxft-fontmap.c:358
#12 0x2000000078039880:0 in pango_fc_default_substitute ()
    at pangofc-fontmap.c:652
#13 0x2000000078039af0:0 in pango_fc_font_map_get_patterns ()
    at pangofc-fontmap.c:681
#14 0x2000000078039f10:0 in pango_fc_font_map_load_font ()
    at pangofc-fontmap.c:742
#15 0x2000000077fe6700:0 in pango_font_map_load_font () at pango-fontmap.c:85
#16 0x2000000077fdd350:0 in pango_context_load_font () at pango-context.c:229
#17 0x2000000077ffdc60:0 in pango_layout_line_get_empty_extents ()
    at pango-layout.c:3679
#18 0x2000000077fff200:0 in pango_layout_line_get_extents ()
    at pango-layout.c:3869
#19 0x2000000077ff4750:0 in get_line_extents_layout_coords ()
    at pango-layout.c:1940
#20 0x2000000077ff4db0:0 in pango_layout_get_extents_internal ()
    at pango-layout.c:2030

#21 0x2000000077ff56f0:0 in pango_layout_get_extents () at pango-layout.c:2126
#22 0x200000007940f630:0 in gtk_text_layout_get_line_display ()
    at gtktextlayout.c:2089
#23 0x2000000079409e40:0 in gtk_text_layout_real_wrap ()
    at gtktextlayout.c:1046
#24 0x20000000794078f0:0 in gtk_text_layout_wrap () at gtktextlayout.c:653
#25 0x20000000793c22a0:0 in _gtk_text_btree_validate_line ()
    at gtktextbtree.c:5376
#26 0x2000000079409620:0 in gtk_text_layout_validate_yrange ()
    at gtktextlayout.c:962
#27 0x200000007943a9d0:0 in gtk_text_view_validate_onscreen ()
    at gtktextview.c:3129
#28 0x200000007944cf00:0 in gtk_text_view_value_changed ()
    at gtktextview.c:6461
#29 0x200000007944c250:0 in gtk_text_view_set_scroll_adjustments ()
    at gtktextview.c:6291
#30 0x2000000079244500:0 in _gtk_marshal_VOID__OBJECT_OBJECT ()
    at gtkmarshalers.c:1808
#31 0x2000000078777fe0:0 in g_type_class_meta_marshal () at gclosure.c:514
#32 0x20000000787777a0:0 in g_closure_invoke () at gclosure.c:437
#33 0x20000000787bfc30:0 in signal_emit_unlocked_R () at gsignal.c:2516
#34 0x20000000787bbee0:0 in g_signal_emit_valist () at gsignal.c:2237
#35 0x20000000787bc740:0 in g_signal_emit () at gsignal.c:2281
#36 0x2000000079585030:0 in gtk_widget_set_scroll_adjustments ()
    at gtkwidget.c:3631
#37 0x2000000079315ff0:0 in gtk_scrolled_window_add ()
    at gtkscrolledwindow.c:1336
#38 0x20000000787c4650:0 in g_cclosure_marshal_VOID__OBJECT ()
    at gmarshal.c:636
#39 0x2000000078777fe0:0 in g_type_class_meta_marshal () at gclosure.c:514
#40 0x20000000787777a0:0 in g_closure_invoke () at gclosure.c:437
#41 0x20000000787be2d0:0 in signal_emit_unlocked_R () at gsignal.c:2408
#42 0x20000000787bbee0:0 in g_signal_emit_valist () at gsignal.c:2237
#43 0x20000000787bc740:0 in g_signal_emit () at gsignal.c:2281
#44 0x2000000079090340:0 in gtk_container_add () at gtkcontainer.c:962
#45 0x4033470:0 in create_text () at main.c:664
#46 0x4034490:0 in main () at main.c:864


Has anyonce seen this issue. Am I missing something?
_______________________________________________
gtk-devel-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Reply | Threaded
Open this post in threaded view
|

Re: Error when running gtk-demo

Owen Taylor
On Mon, 2005-06-06 at 22:22 -0700, Gowri Kandasamy wrote:
> I built GTK2.4 & its dependencies. I get the following error message
> when I run gtk-demo

A) Wrong list, this list is about developing GTK+

B) This list is also only about currently maintained versions of GTK+,
   which GTK+-2.4 is not. (GTK+-2.6.x is the stable version.)

> ** (gtk-demo:23035): WARNING **: No builtin or dynamically loaded modules
> were found. Pango will not work correctly. This probably means
> there was an error in the creation of:
>   '/opt/gtk2.4/etc/pango/pango.modules'
> You may be able to recreate this file by running pango-querymodules.

C) This is descriptive of your problem.

Regards,
                                                Owen


_______________________________________________
gtk-devel-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

signature.asc (196 bytes) Download Attachment