🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87884

Segmentation fault after dumping facemenu.el into Emacs

#87884
From: Chris Moore
Date: Wed, 24 Aug 1994 14:37
65 lines
4162 bytes
In GNU Emacs 19.25.94.1 (sparc-sun-sunos4.1.3, X toolkit) of Mon Aug
22 1994 on sun25, I just edited my site-init.el file to require a
package called facemenu.el.  I've done this many times before for
other packages without getting this kind of problem.  It doesn't work
if the package makes use of X windows functions at load time, but that
shows up as the emacs executable is dumped, not after it has been
dumped and executed.  Upon running the resulting emacs executable, I
get this:

========================================================================
(gdb) run
Starting program: /a/sun70/root/bigg/gnu/emacs-19.25.92/src/emacs 

Program received signal SIGSEGV, Segmentation fault.
0x27acc in menu_item_equiv_key (item_string=20536324, item1=86254892, descrip_ptr=0xefffcdd4) at xmenu.c:363
363	    XCONS (item1)->cdr = Fcons (Fcons (savedkey, descrip), def);
(gdb) where
#0  0x27acc in menu_item_equiv_key (item_string=20536324, item1=86254892, descrip_ptr=0xefffcdd4) at xmenu.c:363
#1  0x27d00 in single_keymap_panes (keymap=88072308, pane_name=20536324, prefix=20536324, notreal=1) at xmenu.c:486
#2  0x27bc0 in keymap_panes (keymaps=0xefffcf90, nmaps=1, notreal=1) at xmenu.c:430
#3  0x285b0 in Fx_popup_menu (position=20536324, menu=88072308) at xmenu.c:801
#4  0x753c0 in Ffuncall (nargs=135548552, args=0xefffd038) at eval.c:2059
#5  0x88644 in Fbyte_code (bytestr=51849520, vector=68626808, maxdepth=2) at bytecode.c:422
#6  0x75998 in funcall_lambda (fun=102181144, nargs=0, arg_vector=0xefffd25c) at eval.c:2231
#7  0x754e0 in Ffuncall (nargs=102181144, args=0xefffd258) at eval.c:2106
#8  0x88644 in Fbyte_code (bytestr=51849348, vector=68626636, maxdepth=0) at bytecode.c:422
#9  0x74968 in Feval (form=85403764) at eval.c:1655
#10 0x724c0 in Fprogn (args=85403756) at eval.c:338
#11 0x75cb4 in unbind_to (count=32, value=20536324) at eval.c:2315
#12 0x88a80 in Fbyte_code (bytestr=51849044, vector=68626352, maxdepth=2) at bytecode.c:588
#13 0x75998 in funcall_lambda (fun=102180668, nargs=0, arg_vector=0xefffd6f8) at eval.c:2231
#14 0x756d8 in apply_lambda (fun=102180668, args=20536324, eval_flag=1) at eval.c:2160
#15 0x74a48 in Feval (form=87765716) at eval.c:1685
#16 0x30944 in top_level_2 () at keyboard.c:888
#17 0x738fc in internal_condition_case (bfun=0x30934 <top_level_2>, handlers=20536624, hfun=0x30584 <cmd_error>)
    at eval.c:1096
#18 0x309ec in top_level_1 () at keyboard.c:896
#19 0x73458 in internal_catch (tag=20536604, func=0x309b4 <top_level_1>, arg=20536324) at eval.c:886
#20 0x308ac in command_loop () at keyboard.c:858
#21 0x303d0 in recursive_edit_1 () at keyboard.c:694
#22 0x30504 in Frecursive_edit () at keyboard.c:736
#23 0x2f928 in main (argc=1, argv=0xefffdd4c, envp=0xefffdd54) at emacs.c:762
(gdb) p savedkey
$1 = 72139088
(gdb) p descrip
$2 = 55323684
(gdb) p def
$3 = 21130564
(gdb) p item1
$4 = 86254892
(gdb) p XCONS(item1)
No symbol "XCONS" in current context.
(gdb) 
========================================================================

I just FTP'ed the facemenu.el package from cs.rochester.edu in
/pub/boris.  I'm using v1.0.

Chris.
--
Chris.Moore@src.bae.co.uk /      Chris Moore      \ Argue for your limitations,
                         / Sowerby Research Centre \   and surely, they
                         \  British Aerospace PLC  /      are yours.
tel: +44 272 363375       \      BRISTOL, UK      /          -- Richard Bach
Technical Details
Message-ID: <9408241402.AA08914@sun25.src.bae.co.uk>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!uunet!cs.utexas.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!src.bae.co.uk!Chris.Moore

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,fb36cf3573a294f0,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-08-24 07:52:08 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!uunet!cs.utexas.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!src.bae.co.uk!Chris.Moore
From: Chris.Moore@src.bae.co.uk (Chris Moore)
Newsgroups: gnu.emacs.bug
Subject: Segmentation fault after dumping facemenu.el into Emacs
Date: 24 Aug 1994 10:37:38 -0400
Organization: GNUs Not Usenet
Lines: 65
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9408241402.AA08914@sun25.src.bae.co.uk>