Java VM crashing when running Jenkins?
Jung-uk Kim
jkim at FreeBSD.org
Mon Feb 10 18:47:43 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2014-02-07 20:04:17 -0500, Craig Rodrigues wrote:
> Li-Wen and SteveW,
>
> I am working with Steve Kreuzer to set up Jenkins inside the
> FreeBSD cluster.
>
> We are running a FreeBSD-10 system:
>
> FreeBSD 10.0-RC4 FreeBSD 10.0-RC4 #0 r260130: Tue Dec 31 17:10:01
> UTC 2013 root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC
> amd64
>
> I have these ports:
>
> bootstrap-openjdk-r333271 Oracle's Java 6 virtual machine
> release under the GPL v2 jenkins-1.549 Open-source
> continuous integration server openjdk6-b30,1
> Oracle's Java 6 virtual machine release under the GPL v2
>
>
>
> Once in a while, the JVM seems to crash:
>
> ================================================================
> Feb 8, 2014 12:29:05 AM hudson.triggers.SCMTrigger$Runner run INFO:
> SCM changes detected in FreeBSD_HEAD. Triggering #89 # # A fatal
> error has been detected by the Java Runtime Environment: # #
> SIGSEGV (0xb) at pc=0x0000000801ca4abc, pid=1572, tid=100200 # #
> JRE version: 6.0_32-b30 # Java VM: OpenJDK 64-Bit Server VM
> (23.25-b01 mixed mode bsd-amd64 compressed oops) # Problematic
> frame: # V [libjvm.so+0x4a4abc] AsyncGetCallTrace+0x71ecc # #
> Core dump written. Default location: /usr/local/jenkins/core or
> core.1572 # # An error report file with more information is saved
> as: # /usr/local/jenkins/hs_err_pid1572.log # # If you would like
> to submit a bug report, please visit: #
> http://bugreport.sun.com/bugreport/crash.jsp #
> ================================================================
> Any idea how to solve the problem?
Unfortunately, we know both java/openjdk6 and java/openjdk7 are
unusable for some environment. Basically, C2 (server JIT compliler)
crashes with SIGSEGV/SIGBUS at random addresses. It is not clear why
it only happens on certain platforms, however.
> I've been running Jenkins on a FreeBSD 9 system and haven't had
> this problem before.
It is known that disabling background compilation helps, i. e.,
"-Xbatch". For i386 case, you can also use C1 (client JIT compiler),
i. e., "-client"
Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)
iQEcBAEBAgAGBQJS+R7OAAoJEHyflib82/FGBQYIAImUMopIci1B3deEYkOJJLkS
quZjNt8RRn+YD+VaHGNQhH9+FQoMrOs4wDTqK3OtcyjgXwrUu918sUKEWZcefY0l
YglQ0GGOBTVHplWDwVnxMK5MR+14coFhXknvjY/ghXH4qFSpz7Isf+wu6k32Nksr
3H+gxt/i0HtsScMlJmCdTDIAPrrhWgRhMJYbybET5RUkl5tKjdUPRGhwlQlguG8T
yQIKw6J09JML3kXB9adpJKxEqEVt1dzpHsV0lC3BkZI6str1tYZTZSKrAfhIdpsR
3K+cmg97fcU/ut1R7i5/vUsOvVdV1tUGCqhp2Q2/yWkpXvfcd8RdRkDWvJ1I3r0=
=tpcq
-----END PGP SIGNATURE-----
More information about the freebsd-java
mailing list