Hi, there,
I am trying to use rxvt 2.7.8 under zn_CN locale in
mandrake 9.0 (XFree86 4.2.1).
It turns out segment fault during the XIM init stage.
Here is the stacktrace and related src code.
Is there any workaround released about this ?
I remember the old 2.7.3 worked quite well.
I dropped by www.rxvt.org, but seems it's stagnant.
Thanks so much.
Xiong Jiang
Program received signal SIGSEGV, Segmentation fault.
0x402be71a in ?? ()
(gdb) bt
#0 0x402be71a in ?? ()
#1 0x4008507a in _XInitDynamicOM () from /usr/X11R6/lib/libX11.so.6
#2 0x40063208 in XRegisterIMInstantiateCallback ()
from /usr/X11R6/lib/libX11.so.6
#3 0x0805c631 in rxvt_init_xlocale (r=0x808e5a0) at init.c:589
#4 0x0804e774 in rxvt_init (argc=1, argv=0xbffff8f4) at main.c:87
#5 0x0804b3a7 in main (argc=1, argv=0xbffff8f4) at rxvt.c:11
#6 0x40104082 in __libc_start_main () from /lib/i686/libc.so.6
rxvt_init_xlocale(rxvt_t *r)
{
...
/* To avoid Segmentation Fault in C locale: Solaris only? */
if (STRCMP(r->h->locale, "C"))
line 589: XRegisterIMInstantiateCallback(r->Xdisplay, NULL, NULL, NULL,
rxvt_IMInstantiateCallback, NULL);
}
#endif
}