andrewt@watsnew.waterloo.edu (Andrew Thomas) (11/10/89)
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