From owner-freebsd-java@FreeBSD.ORG Wed Feb 19 19:51:48 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 9E0F3707; Wed, 19 Feb 2014 19:51:47 +0000 (UTC) Message-ID: <53050B52.8030301@FreeBSD.org> Date: Wed, 19 Feb 2014 14:51:46 -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: Yevgen Kliymovich , Dmitry Sivachenko , freebsd-java@freebsd.org, =?UTF-8?B?6buE5paH6L6J?= Subject: Re: Error compile openjdk-7.51.13_1,1 References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: Wed, 19 Feb 2014 19:51:48 -0000 -----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 > : > >> 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 >> : >> >> 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 : >>> >>> 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 >>>> : >>>> >>>> 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-----