Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2014 13:47:42 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Craig Rodrigues <rodrigc@FreeBSD.org>, Li-Wen Hsu <lwhsu@freebsd.org>,  Steve Wills <swills@freebsd.org>, freebsd-java@freebsd.org
Cc:        Steven Kreuzer <skreuzer@freebsd.org>
Subject:   Re: Java VM crashing when running Jenkins?
Message-ID:  <52F91ECE.6060008@FreeBSD.org>
In-Reply-To: <CAG=rPVd_yLKa1CMv0fZssz6wnb=Sgzev6ZZ0TreooVx-rUzEHQ@mail.gmail.com>
References:  <CAG=rPVd_yLKa1CMv0fZssz6wnb=Sgzev6ZZ0TreooVx-rUzEHQ@mail.gmail.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52F91ECE.6060008>