Article View: gnu.bash.bug
Article #6871.04: segmentation fault on Ultrix
From: Andrew Thomas
Date: Thu, 09 Nov 1989 21:26
Date: Thu, 09 Nov 1989 21:26
22 lines
1297 bytes
1297 bytes
Running Ultrix 2.0 on a uVaxII
I have installed bash 1.04 and have noticed a case where bash will
segmentation fault. I cannot debug it because it seems to want to
transfer control outside of the program segment so the debugger gets
confused. I can reproduce this every time by doing the following:
bash$ function blab () { while (1) ; do echo hi ; done ; }
bash$ blab
<now press ^C before it finds the non-existent command 1>
segmentation fault
I have observed that bash will always crash if I interrupt a shell
function while it is executing or searching for an external command.
(to the best of my knowledge).
Hope this helps.
--
Andrew Thomas
andrewt@watsnew.waterloo.edu Systems Design Eng. University of Waterloo
"If a million people do a stupid thing, it's still a stupid thing." - Opus
Technical Details
Message-ID:
<ANDREWT.89Nov9162652@watsnew.waterloo.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!samsung!cs.utexas.edu!uunet!watmath!watcgl!andrewtShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!samsung!cs.utexas.edu!uunet!watmath!watcgl!andrewt From: andrewt@watsnew.waterloo.edu (Andrew Thomas) Newsgroups: gnu.bash.bug Subject: 1.04: segmentation fault on Ultrix Message-ID: <ANDREWT.89Nov9162652@watsnew.waterloo.edu> Date: 9 Nov 89 21:26:52 GMT Sender: daemon@watcgl.waterloo.edu Organization: University of Waterloo, Waterloo, Ontario, Canada Lines: 22