From owner-freebsd-java@FreeBSD.ORG Tue Nov 27 15:31:41 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7B5416A41B for ; Tue, 27 Nov 2007 15:31:41 +0000 (UTC) (envelope-from arno@heho.snv.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.freebsd.org (Postfix) with ESMTP id 72E3613C46E for ; Tue, 27 Nov 2007 15:31:41 +0000 (UTC) (envelope-from arno@heho.snv.jussieu.fr) Received: from heho.snv.jussieu.fr (heho.snv.jussieu.fr [134.157.184.22]) by shiva.jussieu.fr (8.13.8/jtpda-5.4) with ESMTP id lAREoKvg005814 ; Tue, 27 Nov 2007 15:50:20 +0100 (CET) X-Ids: 165 Received: from heho.snv.jussieu.fr (localhost [127.0.0.1]) by heho.snv.jussieu.fr (8.13.3/jtpda-5.2) with ESMTP id lAREoJVC071964 ; Tue, 27 Nov 2007 15:50:19 +0100 (MET) Received: (from arno@localhost) by heho.snv.jussieu.fr (8.13.3/8.13.1/Submit) id lAREoJZ3071961; Tue, 27 Nov 2007 15:50:19 +0100 (MET) (envelope-from arno) To: "Andrew Tulloch" References: <366BFCC95F75344DA1E0C4598B3CE19D886987@gboff01-exbe1.complinet.local> From: "Arno J. Klaassen" Date: 27 Nov 2007 15:50:18 +0100 In-Reply-To: <366BFCC95F75344DA1E0C4598B3CE19D886987@gboff01-exbe1.complinet.local> Message-ID: Lines: 73 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (shiva.jussieu.fr [134.157.0.165]); Tue, 27 Nov 2007 15:50:21 +0100 (CET) X-Virus-Scanned: ClamAV 0.88.7/4932/Tue Nov 27 14:14:26 2007 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at shiva.jussieu.fr with ID 474C2EAC.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! Cc: freebsd-java@freebsd.org Subject: Re: FreeBSD 7.0-BETA3 JDK16 libthr crash X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2007 15:31:41 -0000 "Andrew Tulloch" writes: > Whilst testing a java webapp initially with an embedded jetty and then > running within tomcat (www/tomcat6) I seem to be reapeatedly able to > crash java with a signal 6 related to libthr. This is all running on > 7.0-BETA3 with SCHED_ULE on a HP DL360 G5 with 2x Xeon E5320 (Quad core) > and 4GB ram. > > I found the following error in tomcat 6 steddr.log: > Fatal error 'mutex is on list' at line 359 in file > /usr/src/lib/libthr/thread/thr_mutex.c (errno = 60) this looks like what I get with 7.0-BETA3 with SCHED_ULE on a 2x Opteron 285 (Dual core) with my own java program : Fatal error 'mutex is on list' at line 432 in file /files/bsd/src7/lib/libthr/thread/thr_mutex.c (errno = 0) I use jdk15 : java version "1.5.0_13-p7" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-p7-toor_16_nov_2007_16_38) Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_13-p7-toor_16_nov_2007_16_38, mixed mode) I play with options SCHED_ULE options IPI_PREEMPTION options NO_ADAPTIVE_MUTEXES but no combination "just works" (and only SCHED_ULE gives for now the above error). The same program does "just work" on [67]-stable UP and mono-processor dual-core; always jdk15. FYI Best, Arno > Java version: > # java -version > java version "1.6.0_03-p3" Java(TM) SE Runtime Environment (build > 1.6.0_03-p3-root_22_nov_2007_15_55-b00) > Java HotSpot(TM) 64-Bit Server VM (build > 1.6.0_03-p3-root_22_nov_2007_15_55-b00, mixed mode) > > Backtrace from the crash attached. > > Any assistance in solving this would be appreciated. > > Thanks in advance, > Andrew > > ______________________________________________________________________ > > “Complinet Ltd is registered in England. Registered office at Vintners Place, 68 Upper Thames Street, London EC4V 3BJ. Company number 3170722. VAT No. 749 324 021. > Complinet Inc is a corporation registered in Delaware, USA.” > > This email has been scanned by the MessageLabs Email Security System. > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" -- Arno J. Klaassen SCITO S.A. 8 rue des Haies F-75020 Paris, France http://scito.com