Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Mar 2014 12:22:28 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Dmitry Samersoff <dsamersoff@gmail.com>,  Craig Rodrigues <rodrigc@FreeBSD.org>, Konstantin Belousov <kib@freebsd.org>, Peter Holm <pho@freebsd.org>,  Alan Cox <alc@freebsd.org>, David Xu <davidxu@freebsd.org>, Xin Li <delphij@freebsd.org>,  Attilio Rao <attilio@freebsd.org>
Cc:        "jenkins-admin@freebsd.org" <jenkins-admin@freebsd.org>, freebsd-current Current <freebsd-current@freebsd.org>, dms@samersoff.net, "freebsd-java@freebsd.org" <freebsd-java@freebsd.org>
Subject:   Re: vm.pmap.pcid_enabled="1" causes Java to coredump in FBSD 10
Message-ID:  <53160BD4.7060301@FreeBSD.org>
In-Reply-To: <53157BBA.3060409@gmail.com>
References:  <CAG=rPVc-baMXyhoSh30OcdRK9qrBuz4p65rHrpOpW9p4wm_tBg@mail.gmail.com> <53157BBA.3060409@gmail.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53160BD4.7060301>