java/116667: linux-sun-javac1.4 hangs on SMP

Arno J. Klaassen arno at heho.snv.jussieu.fr
Wed Sep 26 10:00:04 PDT 2007


>Number:         116667
>Category:       java
>Synopsis:       linux-sun-javac1.4 hangs on SMP
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-java
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 26 17:00:03 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 at install:/usr/obj/files/bsd/src6/sys/S2881  amd64
>Description:
running /usr/local/linux-sun-jdk1.4.2/bin/javac just hangs, top(1) showing two javac processes with eat 100% cpu time

I once got an hot-spot error: the start of the error-file says :


Current thread (0x080943f8):  JavaThread "Signal Dispatcher" daemon [_thread_in_
vm, id=44392]

siginfo:si_signo=11, si_errno=0, si_code=16414, si_addr=0x00000000

Registers:
EAX=0xfefffd9c, EBX=0xfefff6dc, ECX=0x00000000, EDX=0x00000001
ESP=0xfefff650, EBP=0xfefff754, ESI=0x280811b8, EDI=0xfefff778
EIP=0xffffefd4, CR2=0x00000000, EFLAGS=0x00010246

Top of Stack: (sp=0xfefff650)
0xfefff650:   0000000c fefff65c fefff6dc 0000000c
0xfefff660:   00000000 00000000 feffc7e8 00000000
0xfefff670:   00000000 00000000 00000000 00000000
0xfefff680:   00000000 00000000 00000000 00000000
0xfefff690:   00000000 00000000 00000000 00000000
0xfefff6a0:   00000000 00000000 00000000 00000000
0xfefff6b0:   00000000 00000000 00000000 00000000
0xfefff6c0:   00000000 00000000 00000000 00000000 

Instructions: (pc=0xffffefd4)
0xffffefc4:   01 00 00 8d 9c 24 8c 00 00 00 8e 6b 00 8e 63 04
0xffffefd4:   8e 43 08 8e 5b 0c 50 b8 ad 00 00 00 cd 80 eb fe 

Stack: [0xfef8e000,0xff000000),  sp=0xfefff650,  free space=453k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  0xffffefd4
C  [libpthread.so.0+0x78e9]
C  [libpthread.so.0+0xa6fd]
C  [libpthread.so.0+0x718e]  __pthread_mutex_lock+0x122
V  [libjvm.so+0x2646ab]

>How-To-Repeat:
just type 

  /usr/local/linux-sun-jdk1.4.2/bin/javac -v

a couple of times is enough on my system (4way smp)

NB, I do NOT see this problem on an otherwise equivalent UP system
>Fix:
/usr/local/jdk1.5.0/bin/javac -source 1.4



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


More information about the freebsd-java mailing list