devel/nspr's self-test failing: `mutex is on list'
Mikhail Teterin
mi+mx at aldan.algebra.com
Fri Oct 20 08:56:01 PDT 2006
середа 18 жовтень 2006 15:13, David Xu написав:
> Which thread library are you using ? have you tried libthr ?
As the error message was pointing out, the thread library was libpthread:
Fatal error 'mutex is on list' at line 540 in file /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 43)
Switching to libthr does help... I added the following two lines to my
/etc/libmap.conf:
[forktest]
libpthread.so.2 libthr.so.2
and re-ran work/nspr-4.6.3/mozilla/nsprpub/build/pr/tests/forktest:
Wait one second before accept
Wait one second before connect
Accepting connection at port 65406
Connecting to port 65406
Writing message "Hello world!"
Received "Hello world!" from the client
The message is received correctly
Fork succeeded. Parent process continues.
Wait one second before accept
Wait one second before connect
Fork succeeded. Child process continues.
Wait one second before accept
Wait one second before connect
Accepting connection at port 51343
Connecting to port 51343
Accepting connection at port 50506
Writing message "Hello world!"
Received "Hello world!" from the client
Connecting to port 50506
Writing message "Hello world!"
Received "Hello world!" from the client
The message is received correctly
The message is received correctly
Child process exits.
Parent process exits.
PASSED
pthread is the default thread implementation, though, is not it? Can it
be fixed in time before 6.2 is released?
Thanks!
-mi
More information about the freebsd-threads
mailing list