New threading library & python
dlt at mebtel.net
Sun Feb 15 09:37:30 PST 2004
I use spambayes, apython based bayesian mail filter. Today I rebuilt
python 2.3 for no discernible reason, and spambayes failed
--- Logging /home/dlt/mail/procmail.log for dlt, Fatal error 'Spinlock
called when not threaded.' at line 83 in file
/usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 2)
procmail: Program failure (-6) of "/usr/local/bin/sb_filter.py"
procmail: Rescue of unfiltered data succeeded
My problem is that I don't really understand what the replacement of the
pthreads library with the kse library means, and I can't go dig it out
of the last couple weeks of archives. I fixed it by rebuilding python
without thread and rebuilding py-bsddb to link to the new python.
Could somebody explain a) what went wrong, and b) what is the correct
fix for this library problem? And please copy me, as I am not
subscribed to this list.
FreeBSD lorne.arm.org 5.2-CURRENT FreeBSD 5.2-CURRENT #28: Sun Feb 15
07:53:51 EST 2004 root at lorne.arm.org:/usr/obj/usr/src/sys/LORNE
Derek Tattersall dlt at mebtel.net
More information about the freebsd-ports