Skip site navigation (1)Skip section navigation (2)
Date:      27 Nov 2007 15:50:18 +0100
From:      "Arno J. Klaassen" <arno@heho.snv.jussieu.fr>
To:        "Andrew Tulloch" <andrew.tulloch@complinet.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: FreeBSD 7.0-BETA3 JDK16 libthr crash
Message-ID:  <wpve7nrbdh.fsf@heho.snv.jussieu.fr>
In-Reply-To: <366BFCC95F75344DA1E0C4598B3CE19D886987@gboff01-exbe1.complinet.local>
References:  <366BFCC95F75344DA1E0C4598B3CE19D886987@gboff01-exbe1.complinet.local>

next in thread | previous in thread | raw e-mail | index | archive | help
"Andrew Tulloch" <andrew.tulloch@complinet.com> 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



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