Python with threading core dumps on 5.3
Kris Kennaway
kris at obsecurity.org
Mon Feb 7 11:20:50 PST 2005
On Mon, Feb 07, 2005 at 11:14:36AM -0800, Payment Online wrote:
> I am consistantly getting seg faults and bus errors when running a
> multi threaded python application under 5.3-release-p2. Python was
> built from the port(python 2.4) with threading enabled. Rebuilding
> with the huge stack size option enabled didn't make a difference. The
> application uses twisted (www.twistedmatrix.com) and it runs fine
> until I put it under a bit of a load and have 20-30 simultaneous
> threads running. Then it core dumps. Following is the backtrace from
> the core file. The backtrace is always the same. Are threads just
> generally problematic on Freebsd?
You'll need to recompile with debugging symbols in order to get a
useful trace. The python maintainer might be able to talk you through
this.
Kris
> #0 0x2823cdbb in pthread_testcancel () from /usr/lib/libpthread.so.1
> #1 0x28234b06 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1
> #2 0x00000000 in ?? ()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050207/ec98a7d0/attachment.bin
More information about the freebsd-questions
mailing list