From xemacs-m  Thu Dec 26 13:57:59 1996
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
          by xemacs.cs.uiuc.edu (8.8.4/8.8.4) with ESMTP
	  id NAA27418 for <xemacs-beta@xemacs.org>; Thu, 26 Dec 1996 13:57:58 -0600 (CST)
Received: (from steve@localhost)
          by altair.xemacs.org (8.8.4/8.8.4)
	  id MAA20090; Thu, 26 Dec 1996 12:07:30 -0800
Sender: steve@xemacs.org
To: xemacs-beta@xemacs.org
Subject: Re: 20.0-b32 crash
References: <7266.851627564@rtp.ericsson.se>
X-Url: http://www.miranova.com/%7Esteve/
Mail-Copies-To: never
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Raymond Toy's message of Thu, 26 Dec 1996 14:12:44 -0500
Mime-Version: 1.0 (generated by tm-edit 7.99)
Content-Type: text/plain; charset=US-ASCII
Date: 26 Dec 1996 12:07:29 -0800
Message-ID: <m2pvzx3w8u.fsf@altair.xemacs.org>
Lines: 45
X-Mailer: Red Gnus v0.72/XEmacs 19.15

>>>>> "Raymond" == Raymond Toy <toy@rtp.ericsson.se> writes:

Raymond> I was running GNUS and did something (sorry, I don't really
Raymond> know what happened) which caused the following crash.
Raymond> Traceback from gdb below:

Thanks for the report and backtrace Raymond.

#0  0xeec73e30 in kill ()
#1  0x88fdc in fatal_error_signal (sig=11) at /home/unix/toy/apps/xemacs-20.0-b32/src/emacs.c:194
#2  <signal handler called>
#3  0x1a2b48 in x_to_emacs_keysym_sunos_bug (return_value_sunos_bug=0xefffe3b4, event=0xefffe6f0, 
    simple_p=0) at /home/unix/toy/apps/xemacs-20.0-b32/src/event-Xt.c:647

Shoot.  That's right in the middle of the keysym code, which has been
changed recently, and in a kludge I cannot test.  Please try to
isolate what you were doing before the crash occurred.

The keysym code now translates kp_something X11 keysyms to
kp-something the same as Emacs, and perhaps there's a problem I
haven't found with how I implemented that.


#ifdef HAVE_XIM
  int len;
  char buffer[64];
              ^^		(This crap speaks for itself)
  char *bufptr = buffer;

 ...
#define LOOKUPSTRING \
  len = XmbLookupString \
    (FRAME_X_XIC (x_window_to_frame \
		  (get_device_from_display (event->display), event->window)), \
     event, bufptr, bufsiz, &keysym, &status);
 ...
 LOOKUPSTRING;           <======== This is the line Xemacs choked on


I don't have access to a Sun, nor have I figured out how to make XIM work.
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.
"That Bill Clinton.  He probably doesn't know how to log on to the
Internet."  -- Rush Limbaugh, noted Computer Expert

