From owner-freebsd-java@FreeBSD.ORG  Tue Mar  4 07:08:11 2014
Return-Path: <owner-freebsd-java@FreeBSD.ORG>
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 D4D6CF07;
 Tue,  4 Mar 2014 07:08:11 +0000 (UTC)
Received: from mail-la0-x233.google.com (mail-la0-x233.google.com
 [IPv6:2a00:1450:4010:c03::233])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 821D2A1F;
 Tue,  4 Mar 2014 07:08:09 +0000 (UTC)
Received: by mail-la0-f51.google.com with SMTP id pv20so4480426lab.24
 for <multiple recipients>; Mon, 03 Mar 2014 23:08:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=message-id:date:from:user-agent:mime-version:to:cc:subject
 :references:in-reply-to:content-type:content-transfer-encoding;
 bh=aGOdRUqP0768vpcbXoCOO5irOKWsNDguKElEsxwLGzA=;
 b=YRH9Zsmfq6Ia0SnjVpk8yQsC2EHisuqGxK4zlEzkNdcDDwjRO5pN4+Appr5YgWtPAl
 yH9Ewaq8us3WeATim0axXfyS2mIzHuGQSLBPoN9jnukgL9rJ7W9MPG7bsnpzYAbfYwgj
 9ZC7G2j2OEWv7AVygsk6FeLB4tBOwq+c53Ms9JQ9UrXwGeve/eCZDKr7xfSBXGR8w/Gg
 hntz9smqRlTR3W9dvFtdnUXAn5o+tUylXVmXeDiWwDQhg2e914tsZtUy/TQvHTsnR+s3
 jRNAfg+e/E1rL+lg3udvFtROpwgLevc4V7Iny2m0XXthv4g0B8MzjDaTEoAs4mJ7Oce0
 z+CA==
X-Received: by 10.152.10.72 with SMTP id g8mr336390lab.50.1393916887745;
 Mon, 03 Mar 2014 23:08:07 -0800 (PST)
Received: from jaja.mircat.net (mircat.net. [81.9.105.50])
 by mx.google.com with ESMTPSA id jl8sm18633083lbc.16.2014.03.03.23.08.05
 for <multiple recipients>
 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
 Mon, 03 Mar 2014 23:08:06 -0800 (PST)
Message-ID: <53157BBA.3060409@gmail.com>
Date: Tue, 04 Mar 2014 11:07:38 +0400
From: Dmitry Samersoff <dsamersoff@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Craig Rodrigues <rodrigc@FreeBSD.org>, 
 Konstantin Belousov <kib@freebsd.org>,
 Peter Holm <pho@freebsd.org>, Alan Cox <alc@freebsd.org>, 
 Jung-uk Kim <jkim@freebsd.org>,
 David Xu <davidxu@freebsd.org>, Xin Li <delphij@freebsd.org>, 
 Attilio Rao <attilio@freebsd.org>
Subject: Re: vm.pmap.pcid_enabled="1" causes Java to coredump in FBSD 10
References: <CAG=rPVc-baMXyhoSh30OcdRK9qrBuz4p65rHrpOpW9p4wm_tBg@mail.gmail.com>
In-Reply-To: <CAG=rPVc-baMXyhoSh30OcdRK9qrBuz4p65rHrpOpW9p4wm_tBg@mail.gmail.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Tue, 04 Mar 2014 12:57:19 +0000
Cc: dms@samersoff.net, freebsd-current Current <freebsd-current@freebsd.org>,
 "jenkins-admin@freebsd.org" <jenkins-admin@freebsd.org>,
 "freebsd-java@freebsd.org" <freebsd-java@freebsd.org>
X-BeenThere: freebsd-java@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
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: Tue, 04 Mar 2014 07:08:11 -0000

Craig,

I can take a look, but I have no FreeBSD 10 environment, on 9.2
everything works fine.

Could you send across hs_err_pid.log?

-Dmitry


On 2014-03-04 01:43, Craig Rodrigues wrote:
> Hi,
> 
> As part of the Jenkins deployment in the FreeBSD cluster the
> jenkins-admin team observed that when running Jenkins on FreeBSD
> 10, the Java virtual machine from the openjdk6 or openjdk7 port 
> would coredump regularly.
> 
> See item #10 here:  https://wiki.freebsd.org/Jenkins
> 
> On the advice of Jung-uk Kim, I put the following in
> /boot/loader.conf:
> 
> vm.pmap.pcid_enabled="0"
> 
> and rebooted.
> 
> After that, the Java coredumping problems went away.
> 
> Can someone with VM expertise look into this problem and suggest a
> fix?
> 
> There are many reports of Java coredumping on FreeBSD 10, such as
> this one:
> http://lists.freebsd.org/pipermail/freebsd-java/2014-March/010606.html
>
>  It would be good to fix this, so that Java works "out of the box"
> on FreeBSD 10.  It's not good when kernel tunables need to be set 
> so that Java can work. :(
> 
> Thanks.
> 
> -- Craig _______________________________________________ 
> freebsd-java@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-java To
> unsubscribe, send any mail to
> "freebsd-java-unsubscribe@freebsd.org"
>