From xemacs-m  Tue Jul 29 04:09:07 1997
Received: from ns.jsys.co.jp (ns.jsys.co.jp [202.33.240.82])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id EAA28425
	for <xemacs-beta@xemacs.org>; Tue, 29 Jul 1997 04:09:06 -0500 (CDT)
Received: from cosmos.jsys.co.jp (cosmos.jsys.co.jp [172.31.80.5])
	by ns.jsys.co.jp (8.8.6/8.8.6) with ESMTP id SAA29804;
	Tue, 29 Jul 1997 18:09:05 +0900 (JST)
Received: from skywalk.jsys.co.jp (j-04110.jsys.co.jp [172.31.49.72])
	by cosmos.jsys.co.jp (8.8.6/8.8.6/NOTES) with ESMTP id SAA09485;
	Tue, 29 Jul 1997 18:09:04 +0900 (JST)
Received: (from ienaga@localhost) by skywalk.jsys.co.jp (8.8.5/3.5Wpl2) id SAA07730; Tue, 29 Jul 1997 18:08:38 +0900 (JST)
To: Martin Buchholz <mrb@Eng.Sun.COM>
Cc: "Stephen J. Turnbull" <turnbull@turnbull.sk.tsukuba.ac.jp>,
        xemacs-beta@xemacs.org
Subject: Re: 20.3-b14 input-method-xlib.c: null XIM status area crashes XEmacs
References: <m0wsnGE-00006qC@turnbull.sk.tsukuba.ac.jp> <199707290652.XAA21984@xemacs.eng.sun.com>
X-Emacs: Emacs 20.0.91, MULE 3.0 (MOMIJINOGA)
Mime-Version: 1.0 (generated by SEMI MIME-Edit 0.85 "Kaga-Ichinomiya")
Content-Type: multipart/mixed;
 boundary="Multipart_Tue_Jul_29_18:08:37_1997-1"
Content-Transfer-Encoding: 7bit
From: Kazuyuki IENAGA <ienaga@jsys.co.jp>
Date: 29 Jul 1997 18:08:37 +0900
In-Reply-To: Martin Buchholz's message of "Mon, 28 Jul 1997 23:52:18 -0700"
Message-ID: <rysg1syrzsa.fsf@skywalk.jsys.co.jp>
Lines: 47
X-Mailer: Gnus v5.4.64 + SEMI patch (r2.1)/Emacs 20.0
X-Face:  9{'tf33,11#K2A'RDL?p:oEk{~%v;iFL63&]_`FnV~q9]UoqU:"Z*;!l8*yw(91jLdj'8ca
 ~kD1b`lzQ>o[fU=>6g(Er\.fiQPm[~<w?Is+rkeQnV9B~6|>`*Nw1,kCrfo(IH??{i~'F


--Multipart_Tue_Jul_29_18:08:37_1997-1
Content-Type: text/plain; charset=US-ASCII

Martin Buchholz <mrb@Eng.Sun.COM> writes:

> I have made the proposed change to input-method-xlib.c, except without
> the #ifdef's.  XEmacs will now never use empty preedit and status
> areas.  In beta 16.
> 
> I have also modified event-Xt.c so that XLookupString will get used
> instead of XmbLookupString if the current frame has no input context.
> 
> This is tricky code and hard to test.  I have no convenient access to
> kinput2 or non-Solaris xlib.  In my opinion both kinput2 and xlib are
> buggy.  The `Sun' distribution of XEmacs uses --with-xim=motif, so
> others should help maintain --with-xim=xlib.

I tested Stephen's patch on FreeBSD 2.2.2 and Berlin.
While the kinput2 is running, it works fine, but if there's no input
method, XEmacs crashes as follows when the XEmacs got any key press
event and I could not get C backtrace.
But when I set $LANG to "C" (other than "^ja.*"), it works.

The configure parameter is:
    ./configure  --with-mule \
	'--site-includes=/usr/local/include /usr/local/canna/include' \
	--site-libraries=/usr/local/lib \
	--with-canna --with-wnn6 --with-xim=xlib


--Multipart_Tue_Jul_29_18:08:37_1997-1
Content-Type: text/plain; charset=US-ASCII

xemacs-beta% ./src/xemacs -q -no-site-file
"f-e-r-i-1:  /pub/compile/emacs/xemacs-beta/src/xemacs
""Find: /etc/xemacs
""Find: /homes/skywalk/ienaga/.xemacs
Warning: locale not supported by C library, locale unchanged
Warning: XOpenIM() failed...no input server available
"

Fatal error (11).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.


--Multipart_Tue_Jul_29_18:08:37_1997-1--

