Java VM crashing when running Jenkins?

Steve Wills swills at freebsd.org
Sat Feb 8 22:27:32 UTC 2014


Odd, that same version works fine for me, but on 11-CURRENT r260369. I do have
the patch for PR ports/173603 applies, but that shouldn't make any difference.
Perhaps your jdk was built for a slightly different kernel/world than you are
running?

Steve

On Sat, Feb 08, 2014 at 01:53:37PM -0800, Craig Rodrigues wrote:
> 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
> _______________________________________________
> freebsd-java at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"


More information about the freebsd-java mailing list