Subject: Re: why python+pth?
To: Jason Thorpe <thorpej@wasabisystems.com>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 11/18/2003 17:38:38
On Mon, Nov 17, 2003 at 05:09:01PM -0800, Jason Thorpe wrote:
> >There is a stack corruption on -current with native threads. Therefore
> >Python sometimes coredumps (eg. while processing regular expressions,
> >or cpickle). It works most cases, though.
>
> It's not "stack corruption". It's that the default stack size for
> pthread apps is not large enough for Python. There is currently no API
> to change the stack size for threaded apps.
it would seem Wrong to have to change a part of the operating system
to use Python successfully. I know of no other systems where this is
necessary.
why can't we just increase the default stack size for pthread apps in
NetBSD to something more appropriate for applications which exist in
the real world...?
g.