gtk+ 2.1 on RH8
- From: younker <younker dreamscope com cn>
- To: gtk-devel-list gnome org
- Subject: gtk+ 2.1 on RH8
- Date: Sun, 13 Oct 2002 15:38:42 +0800
hello, I am a Chinese, and I compile gtk+ 2.1 on rh8, and my locale is
zh_CN.GB2312, but when I installed the compiled gtk+ package on my system,
the program use the textview or entry widget will segment fault ,
I use gdb to back trace the gtk-demo app, below is the error message:
gdb gtk-demo
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 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) r
Starting program: /opt/src/gnome2/gtk+-2.1.0/demos/gtk-demo/.libs/gtk-demo
Program received signal SIGSEGV, Segmentation fault.
0x4031b9a2 in XGetICValues () from /usr/X11R6/lib/libX11.so.6
(gdb) bt
#0 0x4031b9a2 in XGetICValues () from /usr/X11R6/lib/libX11.so.6
#1 0x4084fb0f in get_ic_real (context_xim=0x810efa8) at
gtkimcontextxim.c:1067
#2 0x4084fb62 in gtk_im_context_xim_get_ic (context_xim=0x810efa8)
at gtkimcontextxim.c:1081
#3 0x4084ede2 in gtk_im_context_xim_set_cursor_location (context=0x810efa8,
area=0xbffff0e0) at gtkimcontextxim.c:584
#4 0x4013f7c8 in gtk_im_context_set_cursor_location (context=0x810efa8,
area=0xbffff0e0) at gtkimcontext.c:406
#5 0x40141954 in gtk_im_multicontext_set_cursor_location (context=0x80aeb68,
area=0xbffff0e0) at gtkimmulticontext.c:343
#6 0x4013f7c8 in gtk_im_context_set_cursor_location (context=0x80aeb68,
area=0xbffff0e0) at gtkimcontext.c:406
#7 0x401cdf83 in gtk_text_view_update_im_spot_location (text_view=0x80ae508)
at gtktextview.c:1706
#8 0x401cfec6 in changed_handler (layout=0x80afcf0, start_y=0, old_height=18,
new_height=62, data=0x80ae508) at gtktextview.c:3217
#9 0x40158cd8 in _gtk_marshal_VOID__INT_INT_INT (closure=0x80afd70,
return_value=0x0, n_param_values=4, param_values=0xbffff400,
invocation_hint=0xbffff308, marshal_data=0x0) at gtkmarshalers.c:1356
#10 0x4047e0c0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#11 0x404928b4 in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#12 0x40491888 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#13 0x40491af4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#14 0x401c2aa7 in gtk_text_layout_changed (layout=0x80afcf0, y=0,
old_height=18, new_height=62) at gtktextlayout.c:530
#15 0x401c31a3 in gtk_text_layout_validate_yrange (layout=0x80afcf0,
anchor=0xbffff610, y0=0, y1=366) at gtktextlayout.c:887
#16 0x401cfa95 in gtk_text_view_validate_onscreen (text_view=0x80ae508)
at gtktextview.c:3012
---Type <return> to continue, or q <return> to quit---
#17 0x401cfb42 in gtk_text_view_flush_first_validate (text_view=0x80ae508)
at gtktextview.c:3068
#18 0x401cfb9d in first_validate_callback (data=0x80ae508)
at gtktextview.c:3089
#19 0x404dac83 in g_idle_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0x404d7f65 in g_main_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0x404d8f98 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x404d92ad in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#23 0x404d9a1f in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#24 0x40155b60 in gtk_main () at gtkmain.c:1108
#25 0x08057d5e in main (argc=1, argv=0xbffff874) at main.c:877
#26 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6
I use XSIM to input chinese.
hope the message can help.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]