* Seg fault after unset PATH
@ 1998-03-14 16:52 Adam Spiers
0 siblings, 0 replies; only message in thread
From: Adam Spiers @ 1998-03-14 16:52 UTC (permalink / raw)
To: zsh workers mailing list
miles:adam ...BUILD/zsh-3.0.5/Src % ./zsh
miles:adam ...BUILD/zsh-3.0.5/Src % unlimit coredumpsize
miles:adam ...BUILD/zsh-3.0.5/Src % unset PATH
miles:adam ...BUILD/zsh-3.0.5/Src % finger
zsh: 7075 segmentation fault ./zsh
miles:adam ...BUILD/zsh-3.0.5/Src % gdb ./zsh core
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (i586-unknown-linux), Copyright 1996 Free Software Foundation, Inc...
Core was generated by `./zsh'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libncurses.so.4...done.
Reading symbols from /lib/libc.so.5...done.
Reading symbols from /lib/ld-linux.so.1...done.
#0 0x805c875 in hashcmd (arg0=0x80c734c "finger", pp=0x80e1510) at exec.c:448
448 if (**pp == '/') {
(gdb) bt
#0 0x805c875 in hashcmd (arg0=0x80c734c "finger", pp=0x80e1510) at exec.c:448
#1 0x805f2bd in execcmd (cmd=0x80c7460, input=0, output=0, how=2, last1=2)
at exec.c:1364
#2 0x805d68e in execpline2 (pline=0x80c74a8, how=2, input=0, output=0,
last1=0) at exec.c:802
#3 0x805cf06 in execpline (l=0x80c744c, how=2, last1=0) at exec.c:647
#4 0x805cb27 in execlist (list=0x80c74b8, dont_change_job=0, exiting=0)
at exec.c:527
#5 0x80708ef in loop (toplevel=1) at init.c:131
#6 0x807075a in main (argc=1, argv=0xbffff6b0) at init.c:77
#7 0x804a0cb in ___crt_dummy__ ()
(gdb) q
miles:adam ...BUILD/zsh-3.0.5/Src % echo $ZSH_VERSION
3.0.5
miles:adam ...BUILD/zsh-3.0.5/Src % file zsh
zsh: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked, not stripped
miles:adam ...BUILD/zsh-3.0.5/Src % uname -a
Linux miles.new.ox.ac.uk 2.0.33 #4 Wed Feb 18 10:49:27 GMT 1998 i586 unknown
I built this version of zsh using the spec file from the SRPM
for 3.0.5 on the RedHat contrib site, so no particularly odd
build options:
./configure --prefix=/usr --bindir=/bin --enable-etcdir=/etc/zsh
Feel free to ask if you want more information on reproducing the
bug. Hope this is of some use in tracking it down!
--
Adam Spiers, Computing Officer, New College, Oxford University, UK **
violoncello/modern jazz/juggling/cycling/Perl/Linux fanatic, M$ hater
e-mail: adam.spiers@new.ox.ac.uk WWW: http://www.new.ox.ac.uk/~adam/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-03-14 17:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-03-14 16:52 Seg fault after unset PATH Adam Spiers
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).