libpthread: Fatal error 'Thread is not system scope'
Wiktor Niesiobedzki
bsd at w.evip.pl
Wed Feb 4 15:12:16 PST 2004
Hi,
After some longer work with threaded Java application I got following error:
Fatal error 'Thread is not system scope.
' at line 320 in file /usr/src/lib/libpthread/thread/thr_sig.c (errno = 2)
Fatal error 'mutex is on list' at line 516 in file
/usr/src/lib/libpthread/thread/thr_mutex.c (errno = 2)
I use jdk1.4.2 linked against libc_r, libmaped to libpthread
After that one of the thread started to consume 100% of CPU, and ktrace
showed:
20906 java CALL kse_release(0x8056fb4)
20906 java RET kse_release -1 errno 22 Invalid argument
20906 java CALL kse_release(0x8056fb4)
[...]
It is not the first time, this error occures, but it takes time, to trigger
it.
Is there any more info I may provide you?
Thanks,
Wiktor Niesiobedzki
More information about the freebsd-current
mailing list