Java VM crashing when running Jenkins?
Craig Rodrigues
rodrigc at FreeBSD.org
Sun Feb 9 17:42:47 UTC 2014
Hi,
I am on 10.0-R.
Yes, I set $jenkins_java_home in /etc/rc.conf to switch to openjdk7.
I did an experiment of switching back to openjdk6, and got a different
crash
# gdb /usr/local/openjdk6/bin/java java.core
(gdb) where
#0 0x0000000800ccb26a in thr_kill () from /lib/libc.so.7
#1 0x0000000800d92ac9 in abort () from /lib/libc.so.7
#2 0x0000000801e9b161 in os::abort ()
from /usr/local/openjdk6/jre/lib/amd64/server/libjvm.so
#3 0x0000000801fbf709 in VMError::report_and_die ()
from /usr/local/openjdk6/jre/lib/amd64/server/libjvm.so
#4 0x0000000801e9fedc in JVM_handle_bsd_signal ()
from /usr/local/openjdk6/jre/lib/amd64/server/libjvm.so
#5 0x0000000800a493f6 in swapcontext () from /lib/libthr.so.3
#6 0x0000000800a48ff3 in sigaction () from /lib/libthr.so.3
#7 <signal handler called>
#8 0x0000000801e83186 in Node::out_grow ()
from /usr/local/openjdk6/jre/lib/amd64/server/libjvm.so
#9 0x0000000801ef39e9 in PhaseChaitin::Split ()
from /usr/local/openjdk6/jre/lib/amd64/server/libjvm.so
#10 0x0000000801b3956f in PhaseChaitin::Register_Allocate ()
from /usr/local/openjdk6/jre/lib/amd64/server/libjvm.so
#11 0x0000000801b98c42 in Compile::Code_Gen ()
from /usr/local/openjdk6/jre/lib/amd64/server/libjvm.so
#12 0x0000000801b97198 in Compile::Compile ()
from /usr/local/openjdk6/jre/lib/amd64/server/libjvm.so
#13 0x0000000801b26d56 in C2Compiler::compile_method ()
from /usr/local/openjdk6/jre/lib/amd64/server/libjvm.so
---Type <return> to continue, or q <return> to quit---
#14 0x0000000801ba109c in CompileBroker::invoke_compiler_on_method ()
from /usr/local/openjdk6/jre/lib/amd64/server/libjvm.so
#15 0x0000000801ba08d6 in CompileBroker::compiler_thread_loop ()
from /usr/local/openjdk6/jre/lib/amd64/server/libjvm.so
#16 0x0000000801f802e1 in JavaThread::thread_main_inner ()
from /usr/local/openjdk6/jre/lib/amd64/server/libjvm.so
#17 0x0000000801e9ab40 in java_start ()
from /usr/local/openjdk6/jre/lib/amd64/server/libjvm.so
#18 0x0000000800a444a4 in pthread_create () from /lib/libthr.so.3
#19 0x0000000000000000 in ?? ()
The crash doesn't happen right away after the startup of Jenkins. I'm
not sure when it happens , maybe when it is about to do a job.
--
Craig
On Sun, Feb 9, 2014 at 9:13 AM, Li-Wen Hsu <lwhsu at freebsd.org> wrote:
> On Sat, Feb 08, 2014 at 14:55:47 -0800, Craig Rodrigues wrote:
> > On Sat, Feb 8, 2014 at 2:27 PM, Steve Wills <swills at freebsd.org> wrote:
> >
> > > 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?
> > >
> >
> > Hi,
> >
> > I installed FreeBSD 10.0-RELEASE using freebsd-update,
> > and I installed openjdk and jenkins using "pkg"
> > so I didn't compile anything myself.
>
> I just did a fresh install of 10.0-R, installed openjdk and jenkins using
> pkg, then startd jenkins, everything seems fine at this point. Does the
> java binary crash as soon as you start jenkins on your side or when it
> runs a while, or starts executing jobs?
>
> BTW, the default dependency of jenkins is openjdk6, have you changed
> $jenkins_java_home ?
>
> Li-Wen
>
> --
> Li-Wen Hsu <lwhsu at FreeBSD.org>
> http://lwhsu.org
>
More information about the freebsd-java
mailing list