Article View: gnu.emacs.bug
Article #99894Re: X Version of Emacs under SUN OpenWindows
From: Jim Becker
Date: Wed, 28 Mar 1990 00:25
Date: Wed, 28 Mar 1990 00:25
55 lines
2091 bytes
2091 bytes
wpmstr!fpb@sunpitt.east.sun.com (Frank P. Bresz) writes: In GNU Emacs 18.52.3 of Tue Apr 11 1989 on omaha1 (berkeley-unix) Then I got it to link up and correctly generate an 'xemacs' which I tried running over the net on an X-server. I keep getting bus error (core dumped). Here is what the stack trace looks like : Bus error (core dumped) ittc:emacs>adb xemacs core file = core -- program ``xemacs'' SIGBUS 10: bus error $c _XLookupString(0xf7ffdd68,0xf7ffddcc,0x14,0xf7ffdd5c,0xf7ffdd60,0x78) + 288 [ traceback deleted ] The Sun server uses the XComposeStatus parameter on XLookupString for composing key sequences. Older servers, and the MIT release, don't use this yet. The call in emacs that calls XLookupString() is currently: <file x11term.c> 1226: XComposeStatus status; ..... 1396: nbytes = XLookupString (&event, mapping_buf, 20, &keysym, &status); and needs to be changed to: static XComposeStatus status; nbytes = XLookupString (&event, mapping_buf, 20, &keysym, &status); since status is a pointer that is used between calls it can't be on the stack. Note that NULL should also work with the server, as before, but there was an interrum version of the server that expected the `status' variable anyway. (Although I don't believe this is out in the field version.) Hope this helps! -Jim Becker -- Jim Becker / jcb%frisbee@sun.com / Sun Microsystems
Technical Details
Message-ID:
<133569@sun.Eng.Sun.COM>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!snorkelwacker!apple!sun-barr!newstop!sun!frisbee!jcbReferences:
<9003261909.AA04416@wpmstr.wp>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,9e94ddefda50bba X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-03-27 16:25:42 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!snorkelwacker!apple!sun-barr!newstop!sun!frisbee!jcb From: jcb@frisbee.Sun.COM (Jim Becker) Newsgroups: gnu.emacs.bug Subject: Re: X Version of Emacs under SUN OpenWindows Message-ID: <133569@sun.Eng.Sun.COM> Date: 28 Mar 90 00:25:42 GMT References: <9003261909.AA04416@wpmstr.wp> Sender: news@sun.Eng.Sun.COM Distribution: gnu Lines: 55 Posted: Wed Mar 28 01:25:42 1990