Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2007 17:01:41 GMT
From:      "Arno J. Klaassen" <arno@heho.snv.jussieu.fr>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   threads/116668: can no longer use jdk15 with libthr on -stable SMP
Message-ID:  <200709261701.l8QH1fQc020382@www.freebsd.org>
Resent-Message-ID: <200709261710.l8QHA1Mv009250@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         116668
>Category:       threads
>Synopsis:       can no longer use jdk15 with libthr on -stable SMP
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-threads
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 26 17:10:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Arno J. Klaassen
>Release:        amd64 -stable
>Organization:
SCITO SA
>Environment:
FreeBSD install 6.2-STABLE FreeBSD 6.2-STABLE #2: Thu Sep 20 14:19:10 CEST 2007     toor@install:/usr/obj/files/bsd/src6/sys/S2881  amd64
>Description:

jdk15 very easily hangs in 'umtx' or 'nanosleep' state when running with
libthr on amd64-stable SMP.

I do not see this behaviour on UP.

Might not be related at all to libthr 'an sich', since I see the same with linux-sun-jdk14
>How-To-Repeat:
put 
[/usr/local/jdk1.5.0/bin/javac]
libpthread.so.2 libthr.so.2

in libmap.conf

and then simply launce 'usr/local/jdk1.5.0/bin/javac <bunch of java-files>'

after some repetitions javac will hang; you can kill it (but only with kill -9 )
  
>Fix:
bon, don't use libthr with java on SMP systems ...




>Release-Note:
>Audit-Trail:
>Unformatted:



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