gtk+ for linux framebuffer crashed



Hi!

I had some problems with the framebuffer version of gtk. Allways I started an
application, eg gtk-demo it crashed with an segmentation fault.
With the stack dump of the core file I discovered that fontconfig has some
problems with the path "/usr/X11R6/lib/X11/fonts/URW". After throwing the path
out of the fonts.conf file gtk-demo worked like expected.
The none framebuffer version of gtk+ worked without changing the fonts.conf.

Has anybody an idea whats the problem is ?

By Dirk


#0  0x404dc6c9 in free () from /lib/libc.so.6
#1  0x402cd26c in ft_free (memory=0x80c1620, block=0x1)
    at /appl/src/Libraries/gtk/freetype-2.1.5/builds/unix/ftsystem.c:157
#2  0x402cd698 in FT_Free (memory=0x1, P=0xfffffff9)
    at /appl/src/Libraries/gtk/freetype-2.1.5/src/base/ftutil.c:134
#3  0x4030553b in T1_Face_Done (face=0x80d12d0)
    at /appl/src/Libraries/gtk/freetype-2.1.5/src/type1/t1objs.c:232
#4  0x402d0bc0 in destroy_face (memory=0x80c1620, face=0x80d12d0, driver=0x2)
    at /appl/src/Libraries/gtk/freetype-2.1.5/src/base/ftobjs.c:695
#5  0x402d1e9a in FT_Done_Face (face=0x80d12d0)
    at /appl/src/Libraries/gtk/freetype-2.1.5/src/base/ftobjs.c:1838
#6  0x405a0736 in FcFreeTypeQuery (
    file=0x80b0208 "/usr/X11R6/lib/X11/fonts/URW/hrger.pfa", id=0,
    blanks=0x80b17b0, count=0x80d1478) at fcfreetype.c:910
#7  0x405a1702 in FcFileScan (set=0x80b43d0, dirs=0x80b0168, cache=0x80b1a08,
    blanks=0x80b17b0, file=0x80b0208 "/usr/X11R6/lib/X11/fonts/URW/hrger.pfa",
    force=0) at fcdir.c:113
#8  0x405a1a62 in FcDirScan (set=0x80b43d0, dirs=0x80b0168, cache=0x80b1a08,
    blanks=0x80b17b0, dir=0x80b3c50 "/usr/X11R6/lib/X11/fonts/URW", force=0)
    at fcdir.c:221
#9  0x405a46ea in FcConfigBuildFonts (config=0x80b0100) at fccfg.c:206
#10 0x4059f887 in FcInitLoadConfigAndFonts () at fcinit.c:83
#11 0x4059f8e5 in FcInit () at fcinit.c:101
#12 0x405a4825 in FcConfigGetCurrent () at fccfg.c:243
#13 0x405a61d9 in FcConfigSubstituteWithPat (config=0x0, p=0x80aff68,
    p_pat=0x0, kind=FcMatchPattern) at fccfg.c:1140
#14 0x405a6214 in FcConfigSubstitute (config=0x0, p=0x80aff68,
    kind=FcMatchPattern) at fccfg.c:1344
#15 0x40348a72 in pango_fc_default_substitute (fontmap=0x8082128,
    pattern=0x80aff68) at pangoft2-fontmap.c:340
#16 0x4034790d in pango_fc_font_map_get_patterns (fontmap=0x8082128,
    context=0x80aff68, desc=0x80aff28, language=0x80afb68)
    at pangofc-fontmap.cI:574
#17 0x40347a58 in pango_fc_font_map_load_font (fontmap=0x8082128,
    context=0x80a82c8, description=0x80aff28) at pangofc-fontmap.cI:632
#18 0x40373727 in pango_font_map_load_font (fontmap=0x1, context=0x80a82c8,
    desc=0x80aff28) at pango-fontmap.c:85
#19 0x40371dcb in pango_context_load_font (context=0x80a82c8, desc=0x80aff28)
    at pango-context.c:222
#20 0x40379ba7 in pango_layout_line_get_empty_extents (line=0x1,
    logical_rect=0xbfffe8d0) at pango-layout.c:3518
#21 0x4037a0c0 in pango_layout_line_get_extents (line=0x80aff90, ink_rect=0x0,
    logical_rect=0xbfffe940) at pango-layout.c:3702
#22 0x40377469 in get_line_extents_layout_coords (layout=0x80afe68,
    line=0x80aff90, layout_width=-1, y_offset=0, baseline=0xbfffe9cc,
    line_ink_layout=0x0, line_logical_layout=0xbfffe9d0) at pango-layout.c:1848
#23 0x4037758f in pango_layout_get_extents_internal (layout=0x80afe68,
    ink_rect=0x0, logical_rect=0xbfffea90, line_extents=0x0)
    at pango-layout.c:1916
#24 0x403777f8 in pango_layout_get_extents (layout=0x8082128, ink_rect=0x0,
    logical_rect=0xbfffea90) at pango-layout.c:2012
#25 0x401d7bf0 in gtk_text_layout_get_line_display (layout=0x80a8030,
    line=0x80a77b8, size_only=1) at gtktextlayout.c:1978
#26 0x401d67ff in gtk_text_layout_real_wrap (layout=0x80a8030, line=0x80a77b8,
    line_data=0x80afd10) at gtktextlayout.c:966
#27 0x401d5cf7 in gtk_text_layout_wrap (layout=0x80afd28, line=0x80a77b8,
    line_data=0x0) at gtktextlayout.c:583
#28 0x401c22b8 in _gtk_text_btree_validate_line (tree=0x80afd28,
    line=0x80a77b8, view_id=0x80a8030) at gtktextbtree.c:5193
#29 0x401d6519 in gtk_text_layout_validate_yrange (layout=0x80a8030,
    anchor=0xbfffebf0, y0=0, y1=200) at gtktextlayout.c:882
#30 0x401e4427 in gtk_text_view_validate_onscreen (text_view=0x80a6170)
    at gtktextview.c:3059
#31 0x401e92c5 in gtk_text_view_value_changed (adj=0x0, text_view=0x80a6170)
    at gtktextview.c:6159
--
Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte Informationen.
Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte
sofort den Absender und loeschen Sie diese E-Mail. Das unbefugte Kopieren
dieser E-Mail oder die unbefugte Weitergabe der enthaltenen Informationen
ist nicht gestattet.

The information contained in this message is confidential or protected by
law. If you are not the intended recipient, please contact the sender and
delete this message. Any unauthorised copying of this message or
unauthorised distribution of the information contained herein is prohibited.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]