From owner-freebsd-java@FreeBSD.ORG  Fri Jan 31 09:04:50 2014
Return-Path: <owner-freebsd-java@FreeBSD.ORG>
Delivered-To: freebsd-java@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 4BD802D6;
 Fri, 31 Jan 2014 09:04:50 +0000 (UTC)
Received: from mail-lb0-x233.google.com (mail-lb0-x233.google.com
 [IPv6:2a00:1450:4010:c04::233])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 58C331926;
 Fri, 31 Jan 2014 09:04:49 +0000 (UTC)
Received: by mail-lb0-f179.google.com with SMTP id l4so3274043lbv.10
 for <multiple recipients>; Fri, 31 Jan 2014 01:04:47 -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=6FDK17fXWuV4uKepEnTlgsP5Y84mcD7qdW8DEbat0pk=;
 b=zmK0ou2t5WkIgFDgmEVHiE8lcpJl43DxgC0LQjH84nbffuaZCDK/xSnAgYjAHAz2ri
 ltwVIa9uSKFzK/JeotCJvbbJunWrKGWscdyNZubrWdo3zCeKEQoF0hpHtPMYAYzQK+8j
 i6ynvpYXoEmWiJ3BgHPH/NiOMWgLu2ktd0QljC8HVAkel2Adh1QmP0cj2+s/uhvvshAA
 v/0EDv2HVdATgQmZ9s7sGnMMwqln+IP3mOChQQKoTf7tq67vLL2TbYi9KL2UqAIwH9/Q
 1/fcdT1j+qfQy4WnU9O13UnyqT8hby95Jng30NCn1qWBuuzoy+8zeKrTr87yzh22y0mG
 3jFQ==
MIME-Version: 1.0
X-Received: by 10.152.88.82 with SMTP id be18mr12814768lab.3.1391159087220;
 Fri, 31 Jan 2014 01:04:47 -0800 (PST)
Received: by 10.112.89.168 with HTTP; Fri, 31 Jan 2014 01:04:47 -0800 (PST)
In-Reply-To: <52EA933B.6030307@FreeBSD.org>
References: <CABW2x9r0zgnb=XX+zeaPpGFrCVrf_a0rZz3_Rt+GX9zUieCkKg@mail.gmail.com>
 <CAMKv5kYcG8ZQLyRO6F5C-PaqtE1d4MZ80=1yeE-PWR72Qv_m1w@mail.gmail.com>
 <CA+U3Mf6g_3S=+E5tp37NYc2Xcwqnzc73zATU_EPOwc8hMynimA@mail.gmail.com>
 <CAMKv5kY0pWHg1_+SN+orCs7_VH+Z5U=xY1MTY08mppymsahpMQ@mail.gmail.com>
 <CAB8uncZDWzkHwBNBG96cmPnky8roJ4W9+xyLUACvMLkXoorJ6g@mail.gmail.com>
 <52B72D09-62E0-4D36-9D56-F45D4D223382@gmail.com>
 <CAMKv5kbErZixmtDfms-4YQ6uGZF_D0dmRA-mcVjN1AtU-bzsrg@mail.gmail.com>
 <52EA933B.6030307@FreeBSD.org>
Date: Fri, 31 Jan 2014 17:04:47 +0800
Message-ID: <CAB8uncaz17-hC8kvcTci6DoLzEWguc+E8Oj_cfwuB3xmCAgxGQ@mail.gmail.com>
Subject: Re: openjdk6 - FreeBSD 10.0-RELEASE - dies with "exited on signal 6"
From: Huang Wen Hui <huanghwh@gmail.com>
To: Jung-uk Kim <jkim@freebsd.org>
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
Cc: Kenneth Culver <kwculver@gmail.com>,
 Sevan / Venture37 <venture37@gmail.com>,
 "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>,
 "freebsd-java@freebsd.org" <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 <freebsd-java.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-java>,
 <mailto:freebsd-java-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-java/>
List-Post: <mailto:freebsd-java@freebsd.org>
List-Help: <mailto:freebsd-java-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-java>,
 <mailto:freebsd-java-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 31 Jan 2014 09:04:50 -0000

I have a system hit this kind of problem very often while building
java/jboss72,
I can give you access for debugging if you need.

Thanks,

Huang Wen Hui



2014-01-31 Jung-uk Kim <jkim@freebsd.org>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 2014-01-30 07:53:41 -0500, Kenneth Culver wrote:
> > Disabling background compilation fixed my issues.
> >
> > On Wednesday, January 29, 2014, Sevan / Venture37
> > <venture37@gmail.com> wrote:
> >
> >> On 29 Jan 2014, at 01:13, Huang Wen Hui <huanghwh@gmail.com
> >> <javascript:;>> wrote:
> >>
> >>> I got the same problem on FreeBSD 10, disable Background
> >>> Compilation
> >> seems to fixed this problem.
> >>
> >> Patched & rebuild openjdk6, I was able to complete the opennms
> >> built process so I thought I'd restart it to double check, build
> >> process froze with java process in a state of uwait. Aborted
> >> after 4 hours & restarted once more.
>
> We are well aware of this problem and trying hard to fix it ATM.
> However, debugging process is very slow because I cannot reproduce the
> problem at all.  ale@ is providing some core dumps and I am trying to
> figure out what's happening.  I know some objects are getting
> free()'ed earlier than expected, which is ultimately causing SIGSEGV
> or SIGBUS *later*.  So, I need more information.  Please send the
> following information *privately*.
>
> grep -B 3 -C 8 CPU: /var/run/dmesg.boot
> cd /usr/ports/java/openjdk6 && make -V CC -V CFLAGS -V CXX -V CXXFLAGS
>
> In the mean time, it seems disabling background compilation (-Xbatch)
> significantly reduces chance of crashes as you already found out.
> Obviously, disabling JIT compilation (-Xint) should always work.
>
> Thanks,
>
> Jung-uk Kim
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (FreeBSD)
>
> iQEcBAEBAgAGBQJS6pM6AAoJEHyflib82/FGV3cIAJUr0Ra1+Dfeuj/cOmKsWfF4
> ETn5eZWoN/Fpw+wUbLXyy47WyssL3yEYykXNBhaAKUEoTlFy8wQ6+ovJw83bSaSk
> dvxg7ZGfAh/Q8MD8pxRSFnkn+SNVOmu4hVp3RyYFMWnz1ml5MRUF3yt7Da3XIwum
> a2Yxn78K1Q1Rq1bbwSS9caRK+UbVH1SzSHTUUc3M+hoLbP08vhJXhENQNEd1YRxc
> AxHwM3SO6rX5Ff6jv6bZyylZd6l4GJ8KXxCitlnhWNkyS2vh8iA62scVq8KUiNdt
> XNV/P0nKfXPOh+sSPTxRaWoFrFJHzYimaihANWq6X2lO5yz8ee70VWt8akDCWEY=
> =GMnm
> -----END PGP SIGNATURE-----
>