Re: gtk+/tests/testtext Doesn't Run

At 07:52 AM 8/13/2002, Owen Taylor wrote:

Eric Mader <mader jtcsv com> writes:

> Hello,
> I've just re-built everything on my RH 7.2 machine from the cvs HEAD
> as of about an hour ago... The build seemed to go fine.
> When I try to run any of the test programs in gtk+/tests, say
> testtext, they just start using up a lot of cpu cycles and never open
> a window. They worked fine on my RH 7.3 machine...
> Anybody got any idea what the heck is going on here? (I'm going to
> leave testtext running over night to see if it eventually brings up a
> window...)

Can you run it under GDB and get a backtrace? I've never heard of
anything like this.


Here's the backtrace:

[emader doramichan gtk+]$ libtool gdb ./tests/testtext
GNU gdb Red Hat Linux 7.x (5.0rh-15) (MI_OUT)
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run
Starting program: /home/emader/gtk+/tests/.libs/lt-testtext

(lt-testtext:32369): Gtk-WARNING **: The "invisible" property on GtkTextTag is not supported for GTK 2.0, it will be added in a future release. see bug #66194 for status.

Program received signal SIGINT, Interrupt.
0x403d0cf0 in FT_Get_Char_Index () at eval.c:41
41      eval.c: No such file or directory.
        in eval.c
(gdb) bt
#0  0x403d0cf0 in FT_Get_Char_Index () at eval.c:41
#1  0x402fe8a1 in FcFreeTypeQuery (
    file=0x80a1ba0 "/usr/X11R6/lib/X11/fonts/Type1/UTB_____.pfa", id=0,
    blanks=0x80a6aa0, count=0xbfffe858) at fcfreetype.c:512
#2  0x402fdd7f in FcFileScan (set=0x80a5fb8, dirs=0x80a1b18, cache=0x80a69c8,
    file=0x80a1ba0 "/usr/X11R6/lib/X11/fonts/Type1/UTB_____.pfa", force=0)
    at fcdir.c:112
#3  0x402fdf97 in FcDirScan (set=0x80a5fb8, dirs=0x80a1b18, cache=0x80a69c8,
    blanks=0x80a6aa0, dir=0x80a3c98 "/usr/X11R6/lib/X11/fonts/Type1", force=0)
    at fcdir.c:207
#4  0x402f95cf in FcConfigBuildFonts (config=0x80a1ac8) at fccfg.c:197
#5  0x402fec35 in FcInitLoadConfigAndFonts () at fcinit.c:83
#6  0x402fec7a in FcInit () at fcinit.c:101
#7  0x402f96d2 in FcConfigGetCurrent () at fccfg.c:234
#8  0x402faa99 in FcConfigSubstitute (config=0x0, p=0x80a1950,
    kind=FcMatchPattern) at fccfg.c:1074
#9  0x40403262 in pango_xft_font_map_get_patterns (fontmap=0x80a04a8,
    context=0x809dcc0, desc=0x80a1990) at pangoxft-fontmap.c:737
#10 0x4040336a in pango_xft_font_map_load_font (fontmap=0x80a04a8,
    context=0x809dcc0, description=0x80a1990) at pangoxft-fontmap.c:777
#11 0x40436f79 in pango_font_map_load_font (fontmap=0x80a04a8,
    context=0x809dcc0, desc=0x80a1990) at pango-fontmap.c:85
---Type <return> to continue, or q <return> to quit---
#12 0x40435983 in pango_context_load_font (context=0x809dcc0, desc=0x80a1990)
    at pango-context.c:222
#13 0x4043c172 in pango_layout_line_get_empty_extents (line=0x80a1978,
    logical_rect=0xbfffea80) at pango-layout.c:3428
#14 0x4043c5b7 in pango_layout_line_get_extents (line=0x80a1978, ink_rect=0x0,
    logical_rect=0xbfffeb00) at pango-layout.c:3612
#15 0x4043a066 in get_line_extents_layout_coords (layout=0x80a18d0,
    line=0x80a1978, layout_width=204800, y_offset=0, baseline=0xbfffeb7c,
line_ink_layout=0x0, line_logical_layout=0xbfffeb80) at pango-layout.c:1840
#16 0x4043a1d9 in pango_layout_get_extents_internal (layout=0x80a18d0,
    ink_rect=0x0, logical_rect=0xbfffec30, line_extents=0x0)
    at pango-layout.c:1908
#17 0x4043a3a2 in pango_layout_get_extents (layout=0x80a18d0, ink_rect=0x0,
    logical_rect=0xbfffec30) at pango-layout.c:2004
#18 0x401d1981 in gtk_text_layout_get_line_display (layout=0x809eb20,
    line=0x806c6c0, size_only=1) at gtktextlayout.c:1949
#19 0x401d03b4 in gtk_text_layout_real_wrap (layout=0x809eb20, line=0x806c6c0,
    line_data=0x0) at gtktextlayout.c:940
#20 0x401cf9d1 in gtk_text_layout_wrap (layout=0x809eb20, line=0x806c6c0,
    line_data=0x0) at gtktextlayout.c:558
#21 0x401bde60 in _gtk_text_btree_validate_line (tree=0x806c720,
    line=0x806c6c0, view_id=0x809eb20) at gtktextbtree.c:5191
#22 0x401d017e in gtk_text_layout_validate_yrange (layout=0x809eb20,
---Type <return> to continue, or q <return> to quit---
    anchor=0xbfffed90, y0=0, y1=200) at gtktextlayout.c:856
#23 0x401dd457 in gtk_text_view_validate_onscreen (text_view=0x809ce40)
    at gtktextview.c:3012
#24 0x401e250e in gtk_text_view_value_changed (adj=0x0, text_view=0x809ce40)
    at gtktextview.c:6017
#25 0x401e20db in gtk_text_view_set_scroll_adjustments (text_view=0x809ce40,
    hadj=0x8096270, vadj=0x8098be0) at gtktextview.c:5847
#26 0x4015ba1f in _gtk_marshal_VOID__OBJECT_OBJECT (closure=0x809a428,
    return_value=0x0, n_param_values=3, param_values=0xbffff1e0,
    invocation_hint=0xbffff0e8, marshal_data=0x401e1d9c)
    at gtkmarshalers.c:1597
#27 0x40475383 in g_type_class_meta_marshal (closure=0x809a428,
    return_value=0x0, n_param_values=3, param_values=0xbffff1e0,
    invocation_hint=0xbffff0e8, marshal_data=0x1a0) at gclosure.c:514
#28 0x40474f8a in g_closure_invoke (closure=0x809a428, return_value=0x0,
    n_param_values=3, param_values=0xbffff1e0, invocation_hint=0xbffff0e8)
    at gclosure.c:437
#29 0x40489288 in signal_emit_unlocked_R (node=0x809a470, detail=0,
    instance=0x809ce40, emission_return=0x0, instance_and_params=0xbffff1e0)
    at gsignal.c:2379
#30 0x4048762e in g_signal_emit_valist (instance=0x809ce40, signal_id=126,
    detail=0, var_args=0xbffff370) at gsignal.c:2100
#31 0x40197f09 in gtk_signal_emit (object=0x809ce40, signal_id=126)
---Type <return> to continue, or q <return> to quit---
    at gtksignal.c:356
#32 0x4022408a in gtk_widget_set_scroll_adjustments (widget=0x809ce40,
    hadjustment=0x8096270, vadjustment=0x8098be0) at gtkwidget.c:3169
#33 0x40192b2c in gtk_scrolled_window_add (container=0x80970f0,
    child=0x809ce40) at gtkscrolledwindow.c:1315
#34 0x4048a7b5 in g_cclosure_marshal_VOID__OBJECT (closure=0x807c418,
    return_value=0x0, n_param_values=2, param_values=0xbffff6f0,
    invocation_hint=0xbffff5f8, marshal_data=0x40192a48) at gmarshal.c:636
#35 0x40475383 in g_type_class_meta_marshal (closure=0x807c418,
    return_value=0x0, n_param_values=2, param_values=0xbffff6f0,
    invocation_hint=0xbffff5f8, marshal_data=0x16c) at gclosure.c:514
#36 0x40474f8a in g_closure_invoke (closure=0x807c418, return_value=0x0,
    n_param_values=2, param_values=0xbffff6f0, invocation_hint=0xbffff5f8)
    at gclosure.c:437
#37 0x40488908 in signal_emit_unlocked_R (node=0x807c450, detail=0,
    instance=0x80970f0, emission_return=0x0, instance_and_params=0xbffff6f0)
    at gsignal.c:2271
#38 0x4048762e in g_signal_emit_valist (instance=0x80970f0, signal_id=80,
    detail=0, var_args=0xbffff87c) at gsignal.c:2100
#39 0x40197f09 in gtk_signal_emit (object=0x80970f0, signal_id=80)
    at gtksignal.c:356
#40 0x401037a6 in gtk_container_add (container=0x80970f0, widget=0x809ce40)
    at gtkcontainer.c:876
---Type <return> to continue, or q <return> to quit---
#41 0x080520af in create_view (buffer=0x8067120) at testtext.c:2489
#42 0x08052223 in main (argc=1, argv=0xbffff974) at testtext.c:2557
#43 0x4054d507 in __libc_start_main (main=0x80521f4 <main>, argc=1,
    ubp_av=0xbffff974, init=0x804beb8 <_init>, fini=0x8052320 <_fini>,
    rtld_fini=0x4000dc14 <_dl_fini>, stack_end=0xbffff96c)
    at ../sysdeps/generic/libc-start.c:129

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