Set prompt so that it contains \w. Let's use for example
Move into a directory that you can use but not list. (no
read bit, execute bit exists)
Then move into a directory under that.
Bash will crash immediately.
Could not replicate this problem using bash-1.14.7-14