Re: libpthread: Fatal error 'Thread is not system scope'

From: Daniel Eischen <eischen_at_vigrid.com>
Date: Wed, 4 Feb 2004 20:07:05 -0500 (EST)
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
Received on Wed Feb 04 2004 - 16:07:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:41 UTC