Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2004 08:56:18 -0500
From:      Tony Holmes <tony@crosswinds.net>
To:        Andrew MacIntyre <andymac@bullseye.apana.org.au>
Cc:        freebsd-hardware@freebsd.org
Subject:   Re: Signal 10?
Message-ID:  <20040130085618.A87131@crosswinds.net>
In-Reply-To: <20040130083530.M8430@bullseye.apana.org.au>; from andymac@bullseye.apana.org.au on Fri, Jan 30, 2004 at 08:54:45AM %2B1100
References:  <20040128121913.A54789@crosswinds.net> <Pine.LNX.4.58.0401290857350.21584@quetzalcoatlite.e.kth.se> <20040129212244.E2532@bullseye.apana.org.au> <20040129101031.B93034@crosswinds.net> <20040130083530.M8430@bullseye.apana.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On +Jan 30, Andrew MacIntyre wrote:
> On Thu, 29 Jan 2004, Tony Holmes wrote:
> 
> > > 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.
> >
> > I'm getting sig 10 from python only and it is linked with pthreads.... this
> > could explain it. It's a 4.9-Release box.
> 
> Python version & gcc version?  Using regexps?

python 2.3.2_3, gcc 2.95.4

I recompiled python -DWITHOUT_THREADS from ports and viola! Sig10's are gone.

> If this is the problem, the limit was determined based on the behaviour of
> Python's regression test suite, but your app's stack usage may be more
> stack hungry than the test suite resulting in the sig10s.

Could be - this is the cPanel environment and there isn't a lot of
documentation to figure out what is going on :)

-- 
Tony Holmes

Founder and Senior Systems Architect
Crosswinds Internet Communications Inc.



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