From owner-freebsd-hardware@FreeBSD.ORG Fri Jan 30 05:56:22 2004 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAA0716A4CE for ; Fri, 30 Jan 2004 05:56:22 -0800 (PST) Received: from out-mx1.crosswinds.net (out-mx1.crosswinds.net [216.18.117.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EF7E43D1D for ; Fri, 30 Jan 2004 05:56:19 -0800 (PST) (envelope-from tony@crosswinds.net) Received: from admin.crosswinds.net (out-mx1.crosswinds.net [216.18.117.38]) by out-mx1.crosswinds.net (Postfix) with ESMTP id 9DC8F2CDF8; Fri, 30 Jan 2004 08:56:18 -0500 (EST) Received: by admin.crosswinds.net (Postfix, from userid 1001) id 50DC03F0B; Fri, 30 Jan 2004 08:56:18 -0500 (EST) Date: Fri, 30 Jan 2004 08:56:18 -0500 From: Tony Holmes To: Andrew MacIntyre Message-ID: <20040130085618.A87131@crosswinds.net> References: <20040128121913.A54789@crosswinds.net> <20040129212244.E2532@bullseye.apana.org.au> <20040129101031.B93034@crosswinds.net> <20040130083530.M8430@bullseye.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20040130083530.M8430@bullseye.apana.org.au>; from andymac@bullseye.apana.org.au on Fri, Jan 30, 2004 at 08:54:45AM +1100 cc: Per von Zweigbergk cc: freebsd-hardware@freebsd.org Subject: Re: Signal 10? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2004 13:56:22 -0000 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.