Article View: gnu.emacs.bug
Article #98506unsetting USER and LOGNAME causes a emacs core dump on Sun4
From: Wolfgang S. Rupprecht
Date: Sat, 29 Jun 1991 11:38
Date: Sat, 29 Jun 1991 11:38
31 lines
1675 bytes
1675 bytes
In GNU Emacs 18.57.3 of Thu Apr 11 1991 on wsrcc.com (berkeley-unix)
Unsetting USER and LOGNAME causes a emacs core dump on a Sparc 4/20
running SunOS 4.1. Looks like a NULL pointer bug.
wolfgang@wsrcc ;-) unset USER
wolfgang@wsrcc ;-) unset LOGNAME
wolfgang@wsrcc ;-) emacs -nw -q
Fatal error (11).Segmentation fault (core dumped)
wolfgang@wsrcc ;-) cd /usr/local/emacs/src
wolfgang@wsrcc ;-) gdb emacs
GDB 3.5, Copyright (C) 1989 Free Software Foundation, Inc.[...]
Type "help" for a list of commands.
(gdb) run -nw -q
Starting program: /usr/local/bin/emacs -nw -q
Program received signal 11, Segmentation fault
0x63ab0 in strcmp ()
(gdb) bt
#0 0x63ab0 in strcmp ()
#1 0x65d30 in getpwent ()
#2 0x65360 in getpwnam ()
#3 0x396fc in init_editfns ()
#4 0x177c0 in main ()
(gdb)
-wolfgang
---
Wolfgang Rupprecht wolfgang@wsrcc.com (or) uunet!wsrcc!wolfgang
Snail Mail Address: Box 6524, Alexandria, VA 22306-0524
Technical Details
Message-ID:
<9106291938.AA00464@wsrcc.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!wsrcc.COM!wolfgangShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,ce98198e28038e0f,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-06-30 03:51:20 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!wsrcc.COM!wolfgang From: wolfgang@wsrcc.COM (Wolfgang S. Rupprecht) Newsgroups: gnu.emacs.bug Subject: unsetting USER and LOGNAME causes a emacs core dump on Sun4 Message-ID: <9106291938.AA00464@wsrcc.com> Date: 29 Jun 91 11:38:05 GMT Sender: gnulists@ai.mit.edu Distribution: gnu Organization: Wolfgang S Rupprecht Computer Consulting, Washington DC. Lines: 31 Approved: bug-gnu-emacs@prep.ai.mit.edu