Date: Wed, 4 Feb 2004 20:07:05 -0500 (EST) From: Daniel Eischen <eischen@vigrid.com> To: Wiktor Niesiobedzki <bsd@w.evip.pl> Cc: current@freebsd.org Subject: Re: libpthread: Fatal error 'Thread is not system scope' Message-ID: <Pine.GSO.4.10.10402042006020.22525-100000@pcnet5.pcnet.com> In-Reply-To: <20040204231204.GO43404@mail.evip.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10402042006020.22525-100000>