apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garrett Rooney <roo...@electricjellyfish.net>
Subject Re: HTTP2 w/ threads on FBSD
Date Wed, 06 Apr 2005 18:32:42 GMT
Paul Querna wrote:
> Philip M. Gollucci wrote:
>> Hi,
>> on my FreeBSD 6.0-current/i386 (cvsuped from 5.3-release from CDS) so 
>> it should be after the SMPng
>> of the threading in the kernel.
>> I built PERL 5.9.3 w/ithreads.
>> APR SVN trunk with threads (1.2.0)
>> and httpd2 SNV(2.1.5-dev) trunk with both prefork and worker mpms.
>> Running either httpd gives me this
>> .Fatal error 'Spinlock called when not threaded.' at line 87 in file 
>> /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
> That sounds like a regression from FreeBSD, upstream, not with APR.  I 
> am using similar versions to what you have, but with 5-STABLE (5.4rc1).

I seem to recall that kind of error happening when there's some bad 
combination of threading libraries, like when part of your codebase is 
using libc_r and part is using libpthread.  A google search for 
"Spinlock called when not threaded FreeBSD" should yield some answers.


View raw message