Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2014 14:51:46 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Yevgen Kliymovich <y.kliymovich@octetis.com>,  Dmitry Sivachenko <trtrmitya@gmail.com>, freebsd-java@freebsd.org, =?UTF-8?B?6buE5paH6L6J?= <huanghwh@gmail.com>
Subject:   Re: Error compile openjdk-7.51.13_1,1
Message-ID:  <53050B52.8030301@FreeBSD.org>
In-Reply-To: <CAMHp%2BqWnNWgDasyWAc-YGWW5k9USqmKLszBi5PrnVp8TDpAWrw@mail.gmail.com>
References:  <CAMHp%2BqWQAX5ahmXYen_aRMPaVnf9%2Bk_6WTaetgkZDP=iA3EHMQ@mail.gmail.com> <F02387B5-B571-4B86-AECE-801039270403@gmail.com> <CAB8uncbrvXQHcm5XU16HF%2BK9scuhnjnx3y-KafQEMoOiJnBo_w@mail.gmail.com> <CAMHp%2BqXb9o8gLBujZ-_n%2BoQLw=qaUbwv4zvNNAd-38nNRfP%2BrQ@mail.gmail.com> <CAMHp%2BqUYH30jmzuhdWHzrbHh4g9pDnw5zh6WMoxJJXLOgaidQw@mail.gmail.com> <CAMHp%2BqWnNWgDasyWAc-YGWW5k9USqmKLszBi5PrnVp8TDpAWrw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2014-02-18 20:42:47 -0500, Yevgen Kliymovich wrote:
> Hello all,
> 
> JDK is successfully compiled only with: # cpuset -l 0 portmaster
> openjdk-7.51.13_1,1
> 
> I use Jenkins ver. 1.551. Currently it starts and works fine. With
> previous version of OpenJDK apache-ant randomly crashed with the
> same error with threds. Let's see how it will work with this one
> version of OpenJDK.

I think I found the culprit.  Please do "sysctl vm.pmap.pcid_enabled"
and see if it is set to "1".  If so, try setting the following in
/boot/loader.conf, reboot, and try again without the above cpuset hack.

vm.pmap.pcid_enabled="0"

Jung-uk Kim

> 2014-02-17 22:47 GMT+02:00 Yevgen Kliymovich
> <y.kliymovich@octetis.com>:
> 
>> It also doesn't work for me. I guess problem somewhere with
>> threads in kernel because binary version openjdk fall from time
>> to time with the same symptoms.
>> 
>> 
>> 2014-02-17 22:46 GMT+02:00 Yevgen Kliymovich
>> <y.kliymovich@octetis.com>:
>> 
>> It also doesn't work for me. I guess problem somewhere with
>> threads in
>>> kernel because binary version openjdk fall from time to time
>>> with the same symptoms.
>>> 
>>> 
>>> 2014-02-17 15:16 GMT+02:00 Huang Wen Hui <huanghwh@gmail.com>:
>>> 
>>> Hi,
>>>> I try that patch, but situation is not changed for me:(
>>>> 
>>>> Cheers,
>>>> 
>>>> Huang Wenhui
>>>> 
>>>> 
>>>> 2014-02-17 20:21 GMT+08:00 Dmitry Sivachenko
>>>> <trtrmitya@gmail.com>:
>>>> 
>>>> Using stable/10 I suggest everybody to apply rev. 261867.
>>>>> 
>>>>> I was experiencing random program crashes after migrating
>>>>> from stable/9 and this patch appears to fix them.
>>>>> 
>>>>> 
>>>>> 
>>>>> On 17 февр. 2014 г., at 13:43, Yevgen Kliymovich < 
>>>>> y.kliymovich@octetis.com> wrote:
>>>>> 
>>>>>> Hello,
>>>>>> 
>>>>>> I've a problem with compille openjdk-7.51.13_1,1. Here is
>>>>>> output.
>>>>>> 
>>>>>> build-bootstrap-javadoc: [pcompile] Generating 3 resource
>>>>>> files to
>>>>>> 
>>>>> /usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/bootstrap/gensrc
>>>>>>
>>>>> 
[javac] Compiling 72 source files to
>>>>>> 
>>>>> /usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/bootstrap/classes
>>>>>>
>>>>> 
#
>>>>>> # A fatal error has been detected by the Java Runtime
>>>>>> Environment: # #  SIGBUS (0xa) at pc=0x0000000801fb2d70,
>>>>>> pid=73205, tid=34410417152 # # JRE version: OpenJDK
>>>>>> Runtime Environment (7.0-b18) (build
>>>>> 1.7.0_45-b18)
>>>>>> # Java VM: OpenJDK 64-Bit Server VM (24.45-b08 mixed mode
>>>>>> bsd-amd64 compressed oops) # Problematic frame: # V
>>>>>> [libjvm.so+0x7b2d70]  JVM_FindSignal+0x1c4720 # # Core
>>>>>> dump written. Default location: /cores/core or
>>>>>> core.73205 # # An error report file with more information
>>>>>> is saved as: #
>>>>> /usr/ports/java/openjdk7/work/openjdk/langtools/make/hs_err_pid73205.log
>>>>>>
>>>>> 
[thread 34410420224 also had an error]
>>>>>> [jar] Building jar:
>>>>>> 
>>>>> /usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/bootstrap/lib/javadoc.jar
>>>>>>
>>>>> 
[copy] Copying 1 file to
>>>>>> 
>>>>> /usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/bootstrap/bin
>>>>>>
>>>>>>
>>>>> 
# uname -a
>>>>>> FreeBSD dev 10.0-STABLE FreeBSD 10.0-STABLE #9 r262016:
>>>>>> Mon Feb 17
>>>>> 06:57:38
>>>>>> EET 2014     root@dev:/usr/obj/usr/src/sys/TG_DEV  amd64
>>>>>> 
>>>>>> Attached hs_err_pid73205.log file. If you need any
>>>>>> additional info
>>>>> please
>>>>>> let me know.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQEcBAEBAgAGBQJTBQtSAAoJEHyflib82/FGdK4IAJyOmqVAjPAAUcpfCE92q1Oj
jpVkxbrCbuA9G278xpt8/pus/kCpIPg9P1htiyR8hbDoeq/dwItu3NWL3ZwUPqyV
cQYCWQZRRGGCltZDiX+PFqmBjsb7tNt+5hLPRthiw6eg7aVYbymQ7qBsHEcMSkjq
gpQjY6FPpNvL3uwM3MXnz9qnPe1GGl3m2LHb5HgST5EuzPlWb5j0J7DZWHaFE9pT
JXNYSUrN5ivFTP+kQjlceltAJtG9n+JQN+DLiwOcgW3s2kjjq/ByuxOMXQq/dN6f
P2XRfpdbghBncfdaGLnrk83GiL0RdYB2afO4RZl7nIwxtaYH0n9GTD76m1dYSFY=
=+vRU
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53050B52.8030301>