vm.pmap.pcid_enabled="1" causes Java to coredump in FBSD 10

Jung-uk Kim jkim at FreeBSD.org
Tue Mar 4 17:22:29 UTC 2014


-----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-----


More information about the freebsd-java mailing list