Thread View: gnu.bash.bug
1 messages
1 total messages
Started by Andrew Thomas
Thu, 09 Nov 1989 21:26
1.04: segmentation fault on Ultrix
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads