Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Apr 2005 15:01:56 -0400 (EDT)
From:      "Mike Jakubik" <mikej@rogers.com>
To:        freebsd-current@freebsd.org, freebsd-ports@freebsd.org
Subject:   Reproducible sig 11 with bash2
Message-ID:  <1724.172.16.0.199.1112814116.squirrel@wettoast.dyndns.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1724.172.16.0.199.1112814116.squirrel>