From owner-freebsd-java@FreeBSD.ORG Thu Jul 10 00:07:54 2014 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 726F1AD6 for ; Thu, 10 Jul 2014 00:07:54 +0000 (UTC) Received: from mail-qc0-x229.google.com (mail-qc0-x229.google.com [IPv6:2607:f8b0:400d:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2FF1D29BC for ; Thu, 10 Jul 2014 00:07:54 +0000 (UTC) Received: by mail-qc0-f169.google.com with SMTP id i17so3010925qcy.0 for ; Wed, 09 Jul 2014 17:07:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=TRrWdHTiCyI19M3LXh8h5tYwKkXZ29JXAMivlEOh7Yg=; b=NWzxAjcLhfKawpq+Cto2YpNhIEzR9Dfu9oEN2qe2Oi4U8EtvsU4ryvqFkSp5Oi41Wk +70ho1vac7iVaAfRYAoAWkz5WDN02zMtbUOnWM0B3Sujp50HP6Vgw6spWB/IaIepBiYJ NkCQdA1B3zKnG4A4rMZVqkhR9ET7xo9CFd6q15mbeN+nffN+WY3NEe/5bssw352pv1dL LxuHKqt7VjissWmTBsiLQPsfQ6Ofc0h1+QDr9780qP4cy1jZrZ9WLu/fol4KpxF1xzio KW+ZXz+UsGuS6FtnE6baD8smF2vhuWzdhHzoXpQmRU43jzhcRN82YKIH46530Pg4J9lw iwAA== X-Received: by 10.140.40.81 with SMTP id w75mr71430044qgw.112.1404950873359; Wed, 09 Jul 2014 17:07:53 -0700 (PDT) Received: from [10.100.83.5] (cpe-065-191-113-083.nc.res.rr.com. [65.191.113.83]) by mx.google.com with ESMTPSA id b49sm23485837qgb.27.2014.07.09.17.07.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 09 Jul 2014 17:07:53 -0700 (PDT) Message-ID: <53BDD956.6060807@gmail.com> Date: Wed, 09 Jul 2014 20:07:50 -0400 From: Jason Unovitch User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-java@freebsd.org, jwdevel@gmail.com Subject: Re: Mysterious reboot involving Java... References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2014 00:07:54 -0000 > On Wed, 09 Jul 2014 06:19:03 +0200, John W 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