Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 2014 13:53:37 -0800
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        Li-Wen Hsu <lwhsu@freebsd.org>
Cc:        Steven Kreuzer <skreuzer@freebsd.org>, Steve Wills <swills@freebsd.org>, freebsd-java@freebsd.org
Subject:   Re: Java VM crashing when running Jenkins?
Message-ID:  <CAG=rPVdiqn-ToLGrVnt4rd14_eW7rTk1mj1iKu0jiBjFdBjL%2BQ@mail.gmail.com>
In-Reply-To: <20140208082903.GA4621@FreeBSD.cs.nctu.edu.tw>
References:  <CAG=rPVd_yLKa1CMv0fZssz6wnb=Sgzev6ZZ0TreooVx-rUzEHQ@mail.gmail.com> <20140208012716.GA12873@mouf.net> <CAG=rPVeWU2t5FCX0%2Bh-%2BXi9EKOegCFYyrJKb2h33D0Eb=n-b=w@mail.gmail.com> <20140208082903.GA4621@FreeBSD.cs.nctu.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVdiqn-ToLGrVnt4rd14_eW7rTk1mj1iKu0jiBjFdBjL%2BQ>