libpthread: Fatal error 'Thread is not system scope'
Daniel Eischen
eischen at vigrid.com
Wed Feb 4 17:07:07 PST 2004
On Thu, 5 Feb 2004, Wiktor Niesiobedzki wrote:
> 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?
Usually, this is because you are using something which stomps
on %gs. And usually, this is Nvidia drivers/libraries. Check
kernel messages for static ldt warnings. If you have any,
that is the problem.
--
Dan Eischen
More information about the freebsd-current
mailing list