Red Hat Bugzilla – Bug 59780
the applications which uses XIM crashed.
Last modified: 2007-04-18 12:40:23 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20020129
Description of problem:
When it runs with LANG=C etc., it crashes. backtrace is here:
bash-2.05a$ LANG=C gdb /usr/bin/gfontsel
GNU gdb Red Hat Linux (5.1.1-1)
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"...
(no debugging symbols found)...
Starting program: /usr/bin/gfontsel
Program received signal SIGSEGV, Segmentation fault.
0x4067b20a in ?? ()
#0 0x4067b20a in ?? ()
#1 0x403979dd in _XlcDynamicLoad () from /usr/X11R6/lib/libX11.so.6
#2 0x40377308 in XRegisterIMInstantiateCallback ()
#3 0x402ee3fa in gdk_im_open () from /usr/lib/libgdk-1.2.so.0
#4 0x402db796 in gdk_init_check () from /usr/lib/libgdk-1.2.so.0
#5 0x4021f87d in gtk_init_check () from /usr/lib/libgtk-1.2.so.0
#6 0x4021fd76 in gtk_init () from /usr/lib/libgtk-1.2.so.0
#7 0x400b8989 in gnome_add_gtk_arg_callback () from /usr/lib/libgnomeui.so.32
#8 0x40422c25 in invokeCallbacks () from /usr/lib/libgnomesupport.so.0
#9 0x40422c47 in invokeCallbacks () from /usr/lib/libgnomesupport.so.0
#10 0x40423b38 in poptGetNextOpt () from /usr/lib/libgnomesupport.so.0
#11 0x40418cb8 in gnomelib_parse_args () from /usr/lib/libgnome.so.32
#12 0x400b8ca9 in gnome_init_with_popt_table () from /usr/lib/libgnomeui.so.32
#13 0x08049c22 in main ()
#14 0x404df108 in __libc_start_main () from /lib/i686/libc.so.6
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.runs X with locale which is needed XIM(e.g. ja_JP.eucJP)
2.specifies LANG=C and runs gfontsel etc. for example.
Actual Results: segfault.
Expected Results: runs correctly
If I runs X with LANG=C and LANG=en_US.ISO8859-1 and etc. which needs XIM, it
works fine of course.
I'd say if gfontsel crashed, there is a bug in gfontsel. There might
be a bug in X that is causing it perhaps, but a bug in gfontsel
for not handling it properly - if this is the case.
Please attach an strace, ltrace also.
Created attachment 45659 [details]
Created attachment 45660 [details]
This problem is not gfontsel specific.
it can be reproduced with all of gtk+ apps and all of gnome apps and all of kde
Also if XMODIFIERS environment value is unset, it works fine.
maybe this thread is related?
Is this problem still relevant in 7.3, or does it work ok now?
Sorry, they work fine. so it seems that this problem was fixed in 7.3. I can't
reproduce at least this problem on 7.3.