Java VM crashing when running Jenkins?

Craig Rodrigues rodrigc at FreeBSD.org
Sat Feb 8 21:53:40 UTC 2014


Hi,

On advice from Li-Wen, I updated my box to FreeBSD 10.0-RELEASE.
On advice from Steve Wills, I switched to OpenJDK 7.

So now I have this:

# uname -a
FreeBSD 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59
UTC 2014     root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

jenkins-1.549                  Open-source continuous integration server
openjdk-7.25.15_2,1            Java Development Kit 7


This is some info from /var/run/dmesg.boot:

real memory  = 5368709120 (5120 MB)
avail memory = 4103163904 (3913 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <BHYVE  BVMADT  >
FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs
FreeBSD/SMP: 16 package(s) x 1 core(s)


Note: I am running Jenkins inside a BHyve VM.

The java binary still crashed when I tried to run Jenkins.

# gdb /usr/local/openjdk7/bin/java java.core
(gdb) where
#0  0x0000000800a49f48 in sigaction () from /lib/libthr.so.3
#1  <signal handler called>
#2  0x0000000800a4f654 in pthread_testcancel () from /lib/libthr.so.3
#3  0x0000000800a4734d in close () from /lib/libthr.so.3
#4  0x0000000803418587 in Java_java_lang_UNIXProcess_forkAndExec ()
   from /usr/local/openjdk7/jre/lib/amd64/libjava.so
#5  0x0000000803840fb0 in ?? ()
#6  0x0000000800000000 in ?? ()
#7  0x0000000000000000 in ?? ()


Any ideas?  Should I switch back to openjdk6?

--
Craig


More information about the freebsd-java mailing list