Stef Epardaud <stef(a)lunatech.com> writes:
shame to me, xemacs is just crashing so often when i call gnuclient
that i even had to setenv EDITOR vi !
i'm really saddened by this :(
is anybody else using gnuclient and havind problems ?
basicly a call to gnuclient crashes the entire xemacs running.
You seem to be running 21.2.19 on Linux box.
Could you let me know your environment both xemacs and gnuclient?
Especially with operating system, $LANG, $LANGUAGE and whatever you
modified or added to the system out of the box.
Anyhow, when you built it with `--input-method=no' as Jan mentioned,
then the problem will go away.
and this is the output of gdb :
(gdb) where
#0 0x402eb0a1 in kill () from /lib/libc.so.6
#1 0x8093cf4 in fatal_error_signal (sig=11) at emacs.c:276
#2 0x402a5edc in pthread_sighandler () from /lib/libpthread.so.0
#3 0x402eafd8 in __restore () from /lib/libc.so.6
#4 0x80d1c17 in IMInstantiateCallback (dpy=0x8bb38c0,
client_data=0x8afc7b0 "\0340:@\220ǯ\b¨_", call_data=0x0)
at input-method-xlib.c:253
#5 0x401cc112 in _XimRegisterIMInstantiateCallback ()
from /usr/X11R6/lib/libX11.so.6
#6 0x401a2f50 in XRegisterIMInstantiateCallback ()
from /usr/X11R6/lib/libX11.so.6
I know we need to purify `input-method-xlib.c'.
The XIM and XIC should be simplified. It is not difficult.
* Register an XIM when the device was initialized in XIM_init_device.
* Initialize an XIC when the frame was poped up in XIM_init_frame.
* Disable all XICs for frames when the XIM was unregistered in
IMDestroyCallback.
* Enable all XICs for frames when the XIM was enabled in
IMInstantiateCallback.
I'm sorry I have little time to do it right now, until 27th of this
month...
-- kazz