Signal 10?
Tony Holmes
tony at crosswinds.net
Fri Jan 30 05:56:22 PST 2004
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.
More information about the freebsd-hardware
mailing list