Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2004 21:28:56 +1100 (EST)
From:      Andrew MacIntyre <andymac@bullseye.apana.org.au>
To:        Per von Zweigbergk <pvz@e.kth.se>
Cc:        freebsd-hardware@freebsd.org
Subject:   Re: Signal 10?
Message-ID:  <20040129212244.E2532@bullseye.apana.org.au>
In-Reply-To: <Pine.LNX.4.58.0401290857350.21584@quetzalcoatlite.e.kth.se>
References:  <20040128121913.A54789@crosswinds.net> <Pine.LNX.4.58.0401290857350.21584@quetzalcoatlite.e.kth.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 29 Jan 2004, Per von Zweigbergk wrote:

> Signal 10 is Bus Error. This is much more rare, but still plausibly could
> be caused by incorrectly written software. (I think I've seen Netscape 4
> crash with this message once or twice -- but it's rare.)

The pthreads implementation on 4.x (-lc_r) will also provoke a bus error
if the primary thread's stack (which is hard coded at 1MB) is exhausted.

-lc_r linked pthreads programs on 5.x will also behave this way, but I
don't know whether -lkse has the same limitation.

This has become more prevalent with the more profligate stack use by
recent gcc releases.

--
Andrew I MacIntyre                     "These thoughts are mine alone..."
E-mail: andymac@bullseye.apana.org.au  (pref) | Snail: PO Box 370
        andymac@pcug.org.au             (alt) |        Belconnen  ACT  2616
Web:    http://www.andymac.org/               |        Australia



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