From owner-freebsd-current@FreeBSD.ORG Wed Feb 4 15:12:15 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA82816A4CE for ; Wed, 4 Feb 2004 15:12:15 -0800 (PST) Received: from mail.evip.pl (mail.evip.com.pl [212.244.157.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 156A443D58 for ; Wed, 4 Feb 2004 15:12:09 -0800 (PST) (envelope-from w@evip.pl) Received: from drwebc by mail.evip.pl with drweb-scanned (Exim 4.22) id 1AoWBg-000ALH-Nv; Thu, 05 Feb 2004 00:12:04 +0100 Received: from w by mail.evip.pl with local (Exim 4.22) id 1AoWBg-000ALB-Kv; Thu, 05 Feb 2004 00:12:04 +0100 Date: Thu, 5 Feb 2004 00:12:04 +0100 From: Wiktor Niesiobedzki To: Daniel Eischen Message-ID: <20040204231204.GO43404@mail.evip.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: Wiktor Niesiobedzki cc: current@freebsd.org Subject: libpthread: Fatal error 'Thread is not system scope' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2004 23:12:16 -0000 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