I have a large system building with make that eventually falls over
when bash crashes with a segmentation fault. Looking closer, after
cd'ing to a directory created during the make, any non-built-in command
crashes. I ran a debug build of bash to try to capture a stack trace for
this report but there were no symbols in the core file. Running in gdb
it looks like the crash occurs after forking the child process and the
core probably comes from the command, not bash. Built-in commands do not
crash. If you cd out of this directory, non-built-ins start working
again. There's something about this directory that bash doesn't like. It
was created in the usual way by mkdir during the execution of make.
Repeat-By:
cd to suspect directory and execute non-built-in command like 'ls' and
it crashes with segmentation fault. Built-in command like 'pwd'works. cd
out of the evil directory and non-built-in commands work.
[Prev in Thread]
Current Thread
[Next in Thread]
bash segmentation fault executing non-built-in commands in a suspect directory,
chris cross<=