Problems with python and threads under Freebsd
snacktime
snacktime at gmail.com
Mon Feb 7 14:17:00 EST 2005
I posted this to freebsd-questions, but though I would put it here
also in case anyone has any ideas.
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.
#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 ?? ()
More information about the Python-list
mailing list