Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jul 2014 20:07:50 -0400
From:      Jason Unovitch <jason.unovitch@gmail.com>
To:        freebsd-java@freebsd.org, jwdevel@gmail.com
Subject:   Re: Mysterious reboot involving Java...
Message-ID:  <53BDD956.6060807@gmail.com>
In-Reply-To: <mailman.35.1404907201.5411.freebsd-java@freebsd.org>
References:  <mailman.35.1404907201.5411.freebsd-java@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Wed, 09 Jul 2014 06:19:03 +0200, John W <jwdevel@gmail.com> wrote:
>> >I have a strange issue where when I run certain Java programs my
>> >machine will spontaneously reboot. No useful log messages are produced
>> >that I have found.
>> >
>> >I found some suspiciously similar issues [1] [2] reported by others,
>> >but I am having a tough time determining if it has been fixed in my
>> >version of the kernel.
>> >I found reference to a patch [3] but that is only for FreeBSD 10.
>> >
>> >I'm on an older build: FreeBSD 9.1-RELEASE #2 r253726: Mon Jul 29
>> >19:46:55 PDT 2013
>> >
>> >This happens when I recompile OpenJDK, and also when doing some image
>> >processing with JAlbum.
>> >
>> >I'd be happy to update my system, but I'd like to have some confidence
>> >that I'll be getting a fix for this issue before I spend some hours on
>> >that task.
>> >
>> >Does anyone have any tips for tracking this down, or familiarity with
>> >this issue?
>> >
>> >Thanks
>> >-John
>> >
>> >[1]
>> >http://lists.freebsd.org/pipermail/freebsd-java/2014-January/010481.html
>> >[2]
>> >https://groups.google.com/forum/#!topic/comp.unix.bsd.freebsd.announce/zM7XMcZiUBg
>> >  :  "As part of the Jenkins setup, Craig Rodrigues encountered
>> >problems with running Java on FreeBSD 9.2 and FreeBSD 10.0. Both
>> >problems stemmed from changes to the FreeBSD Virtual Memory (VM)
>> >subsystem."
>> >[3]
>> >http://lists.freebsd.org/pipermail/freebsd-bugs/2014-March/055683.html
>
> Is the system panicing? If yes, do you get a kernel dump?
> http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html
>
> Ronald.
>

You are almost certainly affected by the mmap issue in errata notice 
14:02 if you are using a vanilla 9.1-RELEASE and it's panicing.  This 
issue paniced my home box about three times when I updated OpenJDK for 
my DLNA media server jail earlier this year before I managed to revert 
the jail to an older version.

http://www.freebsd.org/security/advisories/FreeBSD-EN-14:02.mmap.asc

With 10.0-RELEASE and Java, I was also affected by 14:07 which was 
causing application crashes and not system reboots.  Not an issue for 
your particular case.

http://www.freebsd.org/security/advisories/FreeBSD-EN-14:07.pmap.asc

Jason



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53BDD956.6060807>