From owner-freebsd-java@FreeBSD.ORG Thu Feb 20 00:56:56 2014 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 668EB25F; Thu, 20 Feb 2014 00:56:56 +0000 (UTC) Received: from mail-qg0-x231.google.com (mail-qg0-x231.google.com [IPv6:2607:f8b0:400d:c04::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0A850177A; Thu, 20 Feb 2014 00:56:55 +0000 (UTC) Received: by mail-qg0-f49.google.com with SMTP id j107so2449815qga.8 for ; Wed, 19 Feb 2014 16:56:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=DSQBxBbma5L/qHue7hpHtfr77W7P3+YdbR8Ubzz3GHc=; b=kjrq1KQRLewAOASKWWcoFSus8+sYVv0q8ZNSFA4SmkKME/vZpNJptsCeqsZ03U8veY dcNT0HX80UJOhlxoMPonhnirgWRcLP5Ok4lQ1AtVkUMseOqjwDc4gkEJnJuYuvBb+i1g nNEWONGJexBGK5dqgxp4g6JGzA3Bqljq0RYdANpM/Pqtz3gtQfhBFLfBiCIr/cfYwhsI pJOqhjpnWVzcg0/R7coc+5r37X6ZC3jW9SLWT1OnUzGRHxgH/D9nznvHAbOaSuqAI4og 6FXS0byhF5Jq5+XhRnauPmDexQe+w5Cl++Zm9ovVI6NzXZSZK+xm65q1vP1EKlfeDfYq 0RnQ== MIME-Version: 1.0 X-Received: by 10.236.128.111 with SMTP id e75mr34941940yhi.70.1392857815127; Wed, 19 Feb 2014 16:56:55 -0800 (PST) Received: by 10.170.136.193 with HTTP; Wed, 19 Feb 2014 16:56:55 -0800 (PST) In-Reply-To: <53050B52.8030301@FreeBSD.org> References: <53050B52.8030301@FreeBSD.org> Date: Thu, 20 Feb 2014 08:56:55 +0800 Message-ID: Subject: Re: Error compile openjdk-7.51.13_1,1 From: Huang Wen Hui To: Jung-uk Kim Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: Dmitry Sivachenko , Yevgen Kliymovich , "freebsd-java@freebsd.org" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: huanghwh@gmail.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Feb 2014 00:56:56 -0000 Woo..., big news! I confirm that this works on my IMAC and MBP. Thank you very very much! BTW, this also make mate-terminal stable, before mate-terminal crash when open tabs quickly. http://www.freebsd.org/cgi/query-pr.cgi?pr=3D184362 Cheers, Huang Wenhui 2014-02-20 3:51 GMT+08:00 Jung-uk Kim : > -----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=3D"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 =D1=84=D0=B5=D0=B2=D1=80. 2014 =D0=B3., at 13:43, Yevgen Kliy= movich < > >>>>> 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/boo= tstrap/gensrc > >>>>>> > >>>>> > [javac] Compiling 72 source files to > >>>>>> > >>>>> > /usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/boo= tstrap/classes > >>>>>> > >>>>> > # > >>>>>> # A fatal error has been detected by the Java Runtime > >>>>>> Environment: # # SIGBUS (0xa) at pc=3D0x0000000801fb2d70, > >>>>>> pid=3D73205, tid=3D34410417152 # # 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/boo= tstrap/lib/javadoc.jar > >>>>>> > >>>>> > [copy] Copying 1 file to > >>>>>> > >>>>> > /usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/boo= tstrap/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=3D > =3D+vRU > -----END PGP SIGNATURE----- >