Re: gtk+ 2.1 on RH8



younker <younker dreamscope com cn> writes:

> 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:

[...]

> 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

This has been fixed in CVS since 2.1.0. Thanks for the 
report anyways.

Regards,
                                        Owen

Fri Oct  4 15:05:19 2002  HideToshi Tajima  <hidetoshi tajima sun com>

        * modules/input/gtkimcontextxim.c (get_ic_real): Fix memory
        intilization error caused by my previous checkin.
        #94908 a patch from famao momonga-linux org (Motonobu Ichimura)

Index: gtkimcontextxim.c
===================================================================
RCS file: /cvs/gnome/gtk+/modules/input/gtkimcontextxim.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -p -r1.23 -r1.24
--- gtkimcontextxim.c   26 Sep 2002 22:51:34 -0000      1.23
+++ gtkimcontextxim.c   4 Oct 2002 22:41:24 -0000       1.24
@@ -1064,7 +1064,7 @@ get_ic_real (GtkIMContextXIM *context_xi
        * (bugzilla #81759)
        */
       gulong mask = 0;
-      XGetICValues (context_xim->ic,
+      XGetICValues (xic,
                    XNFilterEvents, &mask,
                    NULL);
       context_xim->filter_key_release = (mask & KeyReleaseMask);



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