Reproducible sig 11 with bash2

From: Mike Jakubik <mikej_at_rogers.com>
Date: Wed, 6 Apr 2005 15:01:56 -0400 (EDT)
Hello,

I ran in to this odd problem by making a typo. By following the below
steps, bash2 will exit with signal 11 and dump core. The user will get
booted out of the system if it is their primary shell.


1) Type in "blah`" and press enter 4 times.

---
# blah`
>
>
>
>
---

2) Hit Ctrl-D.

---
> -bash: unexpected EOF while looking for matching ``'
-bash: syntax error: unexpected end of file
---

3) Hit the arrow up key, to repeat the last command.

---
# blah`




---

4) Hit the backspace key 4 times, to return to the value "blah`"

---
# blah`
---

5) Hit enter. Bash will now exit with sig 11.

Dmesg will show the following

pid 83287 (bash), uid 0: exited on signal 11 (core dumped)

This only happens on -CURRENT, 5.4 is ok. I am running FreeBSD 6.0-CURRENT
#0: Wed Mar 30 20:17:38 EST 2005.

Thanks.
Received on Wed Apr 06 2005 - 17:02:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:31 UTC