From owner-freebsd-java@FreeBSD.ORG Tue Mar 4 17:22:29 2014 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from hammer.pct.niksun.com (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by hub.freebsd.org (Postfix) with ESMTP id C1D05589; Tue, 4 Mar 2014 17:22:28 +0000 (UTC) Message-ID: <53160BD4.7060301@FreeBSD.org> Date: Tue, 04 Mar 2014 12:22:28 -0500 From: Jung-uk Kim User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Dmitry Samersoff , Craig Rodrigues , Konstantin Belousov , Peter Holm , Alan Cox , David Xu , Xin Li , Attilio Rao Subject: Re: vm.pmap.pcid_enabled="1" causes Java to coredump in FBSD 10 References: <53157BBA.3060409@gmail.com> In-Reply-To: <53157BBA.3060409@gmail.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 04 Mar 2014 17:32:32 +0000 Cc: "jenkins-admin@freebsd.org" , freebsd-current Current , dms@samersoff.net, "freebsd-java@freebsd.org" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2014 17:22:29 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2014-03-04 02:07:38 -0500, Dmitry Samersoff wrote: > Craig, > > I can take a look, but I have no FreeBSD 10 environment, on 9.2 > everything works fine. 9.2 did not have the kernel feature. > Could you send across hs_err_pid.log? FYI, trace is useless because SIGSEGV/SIGBUS happens randomly at random addresses. Jung-uk Kim > -Dmitry > > > On 2014-03-04 01:43, Craig Rodrigues wrote: >> Hi, >> >> As part of the Jenkins deployment in the FreeBSD cluster the >> jenkins-admin team observed that when running Jenkins on FreeBSD >> 10, the Java virtual machine from the openjdk6 or openjdk7 port >> would coredump regularly. >> >> See item #10 here: https://wiki.freebsd.org/Jenkins >> >> On the advice of Jung-uk Kim, I put the following in >> /boot/loader.conf: >> >> vm.pmap.pcid_enabled="0" >> >> and rebooted. >> >> After that, the Java coredumping problems went away. >> >> Can someone with VM expertise look into this problem and suggest >> a fix? >> >> There are many reports of Java coredumping on FreeBSD 10, such >> as this one: >> http://lists.freebsd.org/pipermail/freebsd-java/2014-March/010606.html >> >> >> It would be good to fix this, so that Java works "out of the box" >> on FreeBSD 10. It's not good when kernel tunables need to be set >> so that Java can work. :( >> >> Thanks. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAEBAgAGBQJTFgvUAAoJEHyflib82/FGWp0H/iz7gr+W/RlgC3Kqh1qQtsjY VvU5y8LWdz/P3Xd86t8fvHmsQalVirWQLLZjaj+xvNcckryRmghygx57og8YfLs/ VJuvGD8m0lzmq7w8Kh5uXj6DufypuGCLt5n7BqKyl3CbYeqXUX9Q3XdUwAhwAPHM 79OXPNYckfiljGulTyOttWxrkNvJb8F7nNdCw3hMZXhdShnT220jbG51mZhgpvng HWrr8B9yLzGsF5ojo8FHTyPYMTOGwswKFt5gc+qCrVk3eCaUg91oS3sM/Nz1XY0W gUNL5ricsRkp8K55sYPl5/5RA0961GDVb7oZa0HcwE3uYmVvGeaMR3S+cnk5qVA= =ewO9 -----END PGP SIGNATURE-----