Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2014 08:56:55 +0800
From:      Huang Wen Hui <huanghwh@gmail.com>
To:        Jung-uk Kim <jkim@freebsd.org>
Cc:        Dmitry Sivachenko <trtrmitya@gmail.com>, Yevgen Kliymovich <y.kliymovich@octetis.com>, "freebsd-java@freebsd.org" <freebsd-java@freebsd.org>
Subject:   Re: Error compile openjdk-7.51.13_1,1
Message-ID:  <CAB8uncYrFCdP32=c_-8rvN0dj-oSMvECBd-MuWEypTD0CK1LTA@mail.gmail.com>
In-Reply-To: <53050B52.8030301@FreeBSD.org>
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> <53050B52.8030301@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jkim@freebsd.org>:

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB8uncYrFCdP32=c_-8rvN0dj-oSMvECBd-MuWEypTD0CK1LTA>