Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Feb 2004 00:12:04 +0100
From:      Wiktor Niesiobedzki <bsd@w.evip.pl>
To:        Daniel Eischen <eischen@vigrid.com>
Cc:        current@freebsd.org
Subject:   libpthread: Fatal error 'Thread is not system scope'
Message-ID:  <20040204231204.GO43404@mail.evip.pl>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040204231204.GO43404>