From owner-freebsd-java@FreeBSD.ORG  Sun Feb 16 02:10:53 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 B3AA4AEC
 for <freebsd-java@freebsd.org>; Sun, 16 Feb 2014 02:10:53 +0000 (UTC)
Received: from nm7.bullet.mail.bf1.yahoo.com (nm7.bullet.mail.bf1.yahoo.com
 [98.139.212.166])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 439FC1DDF
 for <freebsd-java@freebsd.org>; Sun, 16 Feb 2014 02:10:52 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024;
 t=1392516491; bh=FsbtgPodWhyco0FqPCs4z9jX+mRNFO1NyDp28NeZ16g=;
 h=Received:Received:Received:DKIM-Signature:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Subject:From:To:Content-Type:Date:Message-ID:Mime-Version:X-Mailer:Content-Transfer-Encoding;
 b=b6WsviJ/OgZ7H7q6YtiCSEyLUa1WSoN9/ghICihMaVVtW0uUo8+Yuxx0ZyuTSORuEJBaXwWcfzDY10VhbzLK9cCXLzfjIIaFXC6FWcXEN14TpwgDBYUlHXrTTtQMAY+d2QgN+V1wwn9ZWED3/SiZ3RokysbcyacXwH0h1M7EWVY=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca;
 b=GTmwXDs2VHMyR47DS1w+BI38meQITELQAx4LDzN/J1SwfqRMWd6AIQtltkpiFguaAMXOvBXjzcXqat3AJfWuthQwGgwaRUxHWKjN3HGdt7vKVmuihEicrcS/2KsE0LZCjgTIMdxNcL2XtTR4Fzr40ZXTPGp6W/d3lhQHn/cs7TY=;
Received: from [98.139.212.153] by nm7.bullet.mail.bf1.yahoo.com with NNFMP;
 16 Feb 2014 02:08:11 -0000
Received: from [98.139.211.196] by tm10.bullet.mail.bf1.yahoo.com with NNFMP;
 16 Feb 2014 02:08:10 -0000
Received: from [127.0.0.1] by smtp205.mail.bf1.yahoo.com with NNFMP;
 16 Feb 2014 02:08:10 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024;
 t=1392516490; bh=FsbtgPodWhyco0FqPCs4z9jX+mRNFO1NyDp28NeZ16g=;
 h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Subject:From:To:Content-Type:Date:Message-ID:Mime-Version:X-Mailer:Content-Transfer-Encoding;
 b=mQb99Z/mI2YY2HfX2VWxlDpYiHMl/rbZkns89YDWku/i557+GJ6W82XzUTc+Gjwfd7zkAd8zCyi5SVVvg6zlmh69cKD5QbwjD8m/rOIC/rBtDfov3bUblQ2jf+INvlTBN06Mb7dfVU9Th2niFRHvPl0nDG3N9eEPZn+p/CkBca8=
X-Yahoo-Newman-Id: 949756.38001.bm@smtp205.mail.bf1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: XumMm00VM1l3iiG2SbAENYqK4cucvJ_0Z9.0JJtFrP6E_Ki
 3T7JaaDNabNrabvajTlpM700J.j0ESye.VidvBmWSfTXFgqvz5LB6RZRJe56
 OMLKli6mmO2YjQ8KK_7epiveK5oATF2FUQiv6tKNPpXBj.0QsVbV3aRQA6lE
 pSOVO.152AlVOqrkVqS2cUjwGKqRptbOFIlfDaG9aTUJTBIo3J6B18nHP.z_
 ziLs8pDo8JpJryjP7BNOXR7CZBUZFvDMPmT44zt0TKIfl9YxEFkEGYXcJ5A9
 Yvl0F29bHGp84hVQyDqv2CaPFIhSBfT_PaCXlwrgeYrZyZys0pR242Qkdekb
 Kq8Y_tVrtq8q1RBLNGip5V5A8FnpQ4NSVzoxUyIA241ZbT_hpmFY.zVrY11P
 JyURlaWDkSRw7cUrAEWRE1W_N0V9.k9LlNaMPAaBQ4BSgBa.eGhqs2YXD4e_
 YeaFo_jay3fzYggaXVxV71CNqvHYMpTu2QlqWnK9pRxsSmwBkhIC0VLuzrp9
 .NN_Xkw9qIDGCqwi83ongjJs1NQ7yOXOfDkNRF9iaxhR.UFWVHFqaiVIJDBG
 XtSoBN3iKUrWrJqLRlM6321tzaOXPZk.8px1WHhgVgGZEHtZdWcR84Ah9VqA
 ayoCHq5a8QHJ4oTL94jsQLPAv7LZGkrvIlpy2NLR5jvmFv_SroiwpNM10mJy
 Hzq_U_j55AULH3gM7JYokpODZ
X-Yahoo-SMTP: 94w_Q3GswBC6f899ZH1ClmeaggFTpO7u
X-Rocket-Received: from [192.168.88.56] (pbelair4348@99.224.33.12 with plain
 [98.139.211.125])
 by smtp205.mail.bf1.yahoo.com with SMTP; 15 Feb 2014 18:08:10 -0800 PST
Subject: Needing java8
From: User Paul <pbelair4348@yahoo.ca>
To: freebsd-java@freebsd.org
Content-Type: text/plain; charset="us-ascii"
Date: Sat, 15 Feb 2014 21:05:06 -0500
Message-ID: <1392516306.27162.5.camel@sauce>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port 
Content-Transfer-Encoding: 7bit
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: Sun, 16 Feb 2014 02:10:53 -0000

Hello I was learning some Java here:
http://docs.oracle.com/javase/tutorial/java/IandI/defaultmethods.html.

Their using the newer jdk8 from here.
https://jdk8.java.net/download.html 

I was wandering when it might be available in FreeBSD.


From owner-freebsd-java@FreeBSD.ORG  Mon Feb 17 09:43:32 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 78787147
 for <freebsd-java@FreeBSD.org>; Mon, 17 Feb 2014 09:43:32 +0000 (UTC)
Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com
 [209.85.128.181])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 333C51966
 for <freebsd-java@FreeBSD.org>; Mon, 17 Feb 2014 09:43:31 +0000 (UTC)
Received: by mail-ve0-f181.google.com with SMTP id cz12so11696106veb.40
 for <freebsd-java@FreeBSD.org>; Mon, 17 Feb 2014 01:43:25 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:date:message-id:subject:from:to
 :content-type;
 bh=M1/u33D4KIMv0kK/LU7Or4/LKDTeGk8ZRwF0Q/Z/LWk=;
 b=jJPC4nuS+tblxMCgXMeEChEL/c3f1wIojilGnCeZNN5NGq/hUdiskbV/U2LXspDzsY
 5APA1dGFjOxbli2bXNpJPb+LbSHchmvUngyZOOtVwk7KhpVeQrJkPskRSxmAQkgQ0mzh
 bzHXNa1xnPlanUdSvVLezlX4Vn4tmODxsgtqEYJ1lkL+zVlcfxcGDmMmbwsE2x5Zdfex
 ezqsh9li6XerSNPGx7+aJg4TDJRFE3mBSBE2Stx6RLWzZ44UCG25hOMtnUioO8V2V7Tj
 H9I37Kk82mDCZU5FNxlMobh9qCQHlyHta4nrA6nLITyM5f6vhK4hIH8JsBt6UgLUv2bz
 DOeg==
X-Gm-Message-State: ALoCoQmclQww10eArfi4UgyyLaFj5PmZJHU0R76EuX8y2m+lO53miWn6Qxy1utWOsW14Y/RlYLAh
MIME-Version: 1.0
X-Received: by 10.52.171.39 with SMTP id ar7mr13690163vdc.5.1392630205001;
 Mon, 17 Feb 2014 01:43:25 -0800 (PST)
Received: by 10.58.8.130 with HTTP; Mon, 17 Feb 2014 01:43:24 -0800 (PST)
Date: Mon, 17 Feb 2014 11:43:24 +0200
Message-ID: <CAMHp+qWQAX5ahmXYen_aRMPaVnf9+k_6WTaetgkZDP=iA3EHMQ@mail.gmail.com>
Subject: Error compile openjdk-7.51.13_1,1
From: Yevgen Kliymovich <y.kliymovich@octetis.com>
To: freebsd-java@FreeBSD.org
Content-Type: text/plain; charset=ISO-8859-1
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
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: Mon, 17 Feb 2014 09:43:32 -0000

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.

From owner-freebsd-java@FreeBSD.ORG  Mon Feb 17 11:06: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 F16D9DA0
 for <freebsd-java@FreeBSD.org>; Mon, 17 Feb 2014 11:06:50 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id C3B0311C0
 for <freebsd-java@FreeBSD.org>; Mon, 17 Feb 2014 11:06:50 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1HB6o1Z033105
 for <freebsd-java@FreeBSD.org>; Mon, 17 Feb 2014 11:06:50 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1HB6oTL033103
 for freebsd-java@FreeBSD.org; Mon, 17 Feb 2014 11:06:50 GMT
 (envelope-from owner-bugmaster@FreeBSD.org)
Date: Mon, 17 Feb 2014 11:06:50 GMT
Message-Id: <201402171106.s1HB6oTL033103@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: gnats set sender to
 owner-bugmaster@FreeBSD.org using -f
From: FreeBSD bugmaster <bugmaster@freebsd.org>
To: freebsd-java@FreeBSD.org
Subject: Current problem reports assigned to 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: Mon, 17 Feb 2014 11:06:51 -0000

Note: to view an individual PR, use:
  http://www.freebsd.org/cgi/query-pr.cgi?pr=(number).

The following is a listing of current problems submitted by FreeBSD users.
These represent problem reports covering all versions including
experimental development code and obsolete releases.


S Tracker      Resp.      Description
--------------------------------------------------------------------------------
o ports/184204 java       Undefined symbol "libiconv_open" on startup for java/n
f ports/183767 java       java/openjdk6: /usr/include/iconv.h:43:10: fatal error
o java/183662  java       OpenJDK 7 manual pages are misconfigured
o java/183081  java       java crash on machine with zfs kernel module
o ports/182384 java       java/linux-sun-jdk16 won't build with demos & samples
o ports/181136 java       java/icedtea-web not build
o ports/180643 java       java/openjdk6 build fails on amd64 -current
o ports/178856 java       java/openjdk6, java/openjdk7: Java fails to print when
o ports/178728 java       [UPDATE] devel/apache-ant to v1.9.0
o ports/178647 java       java/openjdk6 does not build (without extra hack)
o ports/177802 java       Could not update openfire because of problem in java/o
o ports/175300 java       java/jamvm fails to compile on ARM6 (raspberry-pi)
o ports/174825 java       java/openjdk6: fails to build on i386 (64-bit mode not
o ports/173592 java       java/openjdk6 fails on FreeBSD_9_1_RC2
o ports/173210 java       java/openjdk6 - use better src placement
o java/172962  java       Sig11 while compiling OpenJDK6-b26 using clang
o ports/171014 java       [patch] Correct java/openjdk6 Dependency Declaration
o ports/167903 java       [PATCH] java/openjdk6: Fix build failure in 8.3 jail r
o ports/164941 java       [UPDATE] [NEW PORTS] java/classpath-initial, including
o ports/162991 java       java/openjdk6 fails to build
o java/162522  java       OpenJDK 6 is not setting close on exec
o java/160553  java       Jaikoz java based audio tagger core dumps
o ports/159787 java       java/openjdk6 nio muti-thread bug
o ports/154884 java       java/openjdk6: Every NetBeans version on FreeBSD 8.1 c
f java/147512  java       Crash of RXTX-2.1-7 on AMD64 system
o java/140002  java       java/openjdk6: jconsole dumps tomcat when contacting j
o java/128809  java       JVM aborted when GNU RXTX write to serial port.
o java/123555  java       linux-sun-jdk15, linux-sun-jdk16 produce a coredump
o java/122513  java       native JDKs unbuildable with Linux ones
o ports/119732 java       java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w
o java/119063  java       An unexpected error has been detected by Java Runtime 
o ports/116082 java       java/linux-sun-jdk16 jconsole is unable to connect to 

32 problems total.


From owner-freebsd-java@FreeBSD.ORG  Mon Feb 17 12:21:32 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 72934CB0
 for <freebsd-java@freebsd.org>; Mon, 17 Feb 2014 12:21:32 +0000 (UTC)
Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com
 [IPv6:2a00:1450:4010: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 EBBC01A99
 for <freebsd-java@freebsd.org>; Mon, 17 Feb 2014 12:21:31 +0000 (UTC)
Received: by mail-lb0-f177.google.com with SMTP id 10so9502736lbg.8
 for <freebsd-java@freebsd.org>; Mon, 17 Feb 2014 04:21:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=content-type:mime-version:subject:from:in-reply-to:date:cc
 :content-transfer-encoding:message-id:references:to;
 bh=qeoHC6yYg6U8PMq/uuwQRN6LIYIXu5YmaVrmZfVu3B0=;
 b=odI1Hzs93fDEoxU8ctrEWiEuw7IDKrkgstOb7FbmNrSczkhbAztyaf92U6GkCor3Ba
 ZGVb11aroHnpm0wmTisWROUMBuM8TmBGT9LbE09H5pSjo+/ME+nqjPSkskn/0hH1uHLj
 a3UEH3oS7mwrZqr2uX9fmBqAb3p58RuE/fzSvGuFRxNjBrRpGVMq0vGWyyQx3S0PBKKf
 Ul/GAVznf3LopIwMLT1AK3K1TipPn+wS/+ZSEortJqh15vksvCLGx/bKHxK9jP/dj5x8
 n9Y6Cx+FVaOeC2GnUo59+UbuA7JjQO6++RQq/qyYhVZjxKyTPI+neTBS9s6AtiD5KutH
 Gvzg==
X-Received: by 10.152.115.132 with SMTP id jo4mr477123lab.69.1392639689831;
 Mon, 17 Feb 2014 04:21:29 -0800 (PST)
Received: from 95.108.174.208-red.dhcp.yndx.net
 (95.108.174.208-red.dhcp.yndx.net. [95.108.174.208])
 by mx.google.com with ESMTPSA id v5sm25476330laj.0.2014.02.17.04.21.28
 for <multiple recipients>
 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
 Mon, 17 Feb 2014 04:21:28 -0800 (PST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\))
Subject: Re: Error compile openjdk-7.51.13_1,1
From: Dmitry Sivachenko <trtrmitya@gmail.com>
In-Reply-To: <CAMHp+qWQAX5ahmXYen_aRMPaVnf9+k_6WTaetgkZDP=iA3EHMQ@mail.gmail.com>
Date: Mon, 17 Feb 2014 16:21:26 +0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <F02387B5-B571-4B86-AECE-801039270403@gmail.com>
References: <CAMHp+qWQAX5ahmXYen_aRMPaVnf9+k_6WTaetgkZDP=iA3EHMQ@mail.gmail.com>
To: Yevgen Kliymovich <y.kliymovich@octetis.com>
X-Mailer: Apple Mail (2.1827)
Cc: 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: Mon, 17 Feb 2014 12:21:32 -0000

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 =
Kliymovich <y.kliymovich@octetis.com> wrote:

> Hello,
>=20
> I've a problem with compille openjdk-7.51.13_1,1.
> Here is output.
>=20
> build-bootstrap-javadoc:
> [pcompile] Generating 3 resource files to
> =
/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/boot=
strap/gensrc
>    [javac] Compiling 72 source files to
> =
/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/boot=
strap/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/boot=
strap/lib/javadoc.jar
>     [copy] Copying 1 file to
> =
/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/boot=
strap/bin
>=20
> # 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
>=20
> Attached hs_err_pid73205.log file. If you need any additional info =
please
> let me know.
> _______________________________________________
> 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"


From owner-freebsd-java@FreeBSD.ORG  Mon Feb 17 13:16:09 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 965EAF7A
 for <freebsd-java@freebsd.org>; Mon, 17 Feb 2014 13:16:09 +0000 (UTC)
Received: from mail-la0-x22b.google.com (mail-la0-x22b.google.com
 [IPv6:2a00:1450:4010:c03::22b])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 086CC1FFD
 for <freebsd-java@freebsd.org>; Mon, 17 Feb 2014 13:16:08 +0000 (UTC)
Received: by mail-la0-f43.google.com with SMTP id pv20so11174396lab.16
 for <freebsd-java@freebsd.org>; Mon, 17 Feb 2014 05:16:07 -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=gVMgxhwD6v1TGRcYL1YGPd0FSYWvc62Ah4pzIlzstZg=;
 b=maJxDee9dw8QpHkj9IUKfjdoRU148h3qQehDLDQqwQyPMLRSKybuWlCMuI5ZPtLHMu
 8hq3c+BmdRC7cVua87tG8XX/FTDy69cdfu+UnnNLyxfnrS2PBDwX/JcSSOvr8zIdH5Wk
 RiLTymz3lAiGm8n5jAsVInpMCWVLlSKPd5chr9DFYMaiMYobChFN8hEYFtIdgE1lMl9F
 856SN2yWhpXGMnHkBd6xFmIM6sZFQSzcbMbr3C54GihD1jqnYKNtGuLyhcvIOj3ErjQ+
 GQGq0y63kcze1gKb8TMvkYqPSGCDc/OwnClpBZbakgDDRVrKEuXvdWaIqbxearyxjpWn
 Mjrg==
MIME-Version: 1.0
X-Received: by 10.112.253.34 with SMTP id zx2mr1373385lbc.61.1392642966950;
 Mon, 17 Feb 2014 05:16:06 -0800 (PST)
Received: by 10.112.89.168 with HTTP; Mon, 17 Feb 2014 05:16:06 -0800 (PST)
In-Reply-To: <F02387B5-B571-4B86-AECE-801039270403@gmail.com>
References: <CAMHp+qWQAX5ahmXYen_aRMPaVnf9+k_6WTaetgkZDP=iA3EHMQ@mail.gmail.com>
 <F02387B5-B571-4B86-AECE-801039270403@gmail.com>
Date: Mon, 17 Feb 2014 21:16:06 +0800
Message-ID: <CAB8uncbrvXQHcm5XU16HF+K9scuhnjnx3y-KafQEMoOiJnBo_w@mail.gmail.com>
Subject: Re: Error compile openjdk-7.51.13_1,1
From: Huang Wen Hui <huanghwh@gmail.com>
To: Dmitry Sivachenko <trtrmitya@gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
Cc: Yevgen Kliymovich <y.kliymovich@octetis.com>,
 "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: Mon, 17 Feb 2014 13:16:09 -0000

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 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/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=3D34410417=
152
> > #
> > # JRE version: OpenJDK Runtime Environment (7.0-b18) (build 1.7.0_45-b1=
8)
> > # 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 plea=
se
> > let me know.
> > _______________________________________________
> > 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"
>
> _______________________________________________
> 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"
>

From owner-freebsd-java@FreeBSD.ORG  Mon Feb 17 21:55:04 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 4E6B1B43
 for <freebsd-java@freebsd.org>; Mon, 17 Feb 2014 21:55:04 +0000 (UTC)
Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com
 [209.85.128.175])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 04A5F157C
 for <freebsd-java@freebsd.org>; Mon, 17 Feb 2014 21:55:03 +0000 (UTC)
Received: by mail-ve0-f175.google.com with SMTP id c14so12554208vea.20
 for <freebsd-java@freebsd.org>; Mon, 17 Feb 2014 13:55:02 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:in-reply-to:references:date
 :message-id:subject:from:to:content-type;
 bh=v78qebGtWHmK0py1V9U6HMojCKs8bbQxADn5jjggVMw=;
 b=KFzq80R2sbnAYMbPztxEBAOMfIn/B15oVNidGNQ054Hqu16mSGMDIAY7/TsqA3cle9
 WkTo9w0CICGytDudCNZ/5xTPiiFYPXjIJebu/dWLtOJcdJZ65c/KJiEivFiGMKVAzOiZ
 Xk39UcuDrcIiyYfEUcskNFb6DUA62xcXEu7gia9ThKG1WqwgN+9bLVqLI2rxOW3QXK/n
 k1FlTch1tf0xpZ75CyQEHqgEfmDYH4LGu7mv1hWcW3nttP6Qe6i4J7gI5wdAG+19LiHj
 rjgAnFdAJFl9FONGELIFBiCQgFnMGE/Rcdl1ta961vr6Jx7bmuVh6Vr3Eap1vhbf2GqD
 Ro+Q==
X-Gm-Message-State: ALoCoQl+dfAlAskAW/B/ATk0bNJh+Td6r6LE6DrENS9+FptMjs+hk/Ty63HB+ZRVlNUiRM9oscUG
MIME-Version: 1.0
X-Received: by 10.220.159.4 with SMTP id h4mr18639800vcx.1.1392670033510; Mon,
 17 Feb 2014 12:47:13 -0800 (PST)
Received: by 10.58.8.130 with HTTP; Mon, 17 Feb 2014 12:47:13 -0800 (PST)
In-Reply-To: <CAMHp+qXb9o8gLBujZ-_n+oQLw=qaUbwv4zvNNAd-38nNRfP+rQ@mail.gmail.com>
References: <CAMHp+qWQAX5ahmXYen_aRMPaVnf9+k_6WTaetgkZDP=iA3EHMQ@mail.gmail.com>
 <F02387B5-B571-4B86-AECE-801039270403@gmail.com>
 <CAB8uncbrvXQHcm5XU16HF+K9scuhnjnx3y-KafQEMoOiJnBo_w@mail.gmail.com>
 <CAMHp+qXb9o8gLBujZ-_n+oQLw=qaUbwv4zvNNAd-38nNRfP+rQ@mail.gmail.com>
Date: Mon, 17 Feb 2014 22:47:13 +0200
Message-ID: <CAMHp+qUYH30jmzuhdWHzrbHh4g9pDnw5zh6WMoxJJXLOgaidQw@mail.gmail.com>
Subject: Re: Error compile openjdk-7.51.13_1,1
From: Yevgen Kliymovich <y.kliymovich@octetis.com>
To: trtrmitya@gmail.com, freebsd-java@freebsd.org
Content-Type: text/plain; charset=KOI8-R
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
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: Mon, 17 Feb 2014 21:55:04 -0000

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 sam=
e
> 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 =C6=C5=D7=D2. 2014 =C7., 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/b=
ootstrap/gensrc
>>> >    [javac] Compiling 72 source files to
>>> >
>>> /usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/b=
ootstrap/classes
>>> > #
>>> > # A fatal error has been detected by the Java Runtime Environment:
>>> > #
>>> > #  SIGBUS (0xa) at pc=3D0x0000000801fb2d70, pid=3D73205, tid=3D344104=
17152
>>> > #
>>> > # 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.lo=
g
>>> > [thread 34410420224 also had an error]
>>> >      [jar] Building jar:
>>> >
>>> /usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/b=
ootstrap/lib/javadoc.jar
>>> >     [copy] Copying 1 file to
>>> >
>>> /usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/b=
ootstrap/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.
>>> > _______________________________________________
>>> > freebsd-java@freebsd.org mailing list
>>> > http://lists.freebsd.org/mailman/listinfo/freebsd-java
>>> > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.or=
g
>>> "
>>>
>>> _______________________________________________
>>> 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"
>>>
>>
>>
>

From owner-freebsd-java@FreeBSD.ORG  Wed Feb 19 01:42:57 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 108F67D9
 for <freebsd-java@freebsd.org>; Wed, 19 Feb 2014 01:42:57 +0000 (UTC)
Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com
 [209.85.128.179])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id B9D201F58
 for <freebsd-java@freebsd.org>; Wed, 19 Feb 2014 01:42:55 +0000 (UTC)
Received: by mail-ve0-f179.google.com with SMTP id jx11so14297723veb.38
 for <freebsd-java@freebsd.org>; Tue, 18 Feb 2014 17:42:47 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:in-reply-to:references:date
 :message-id:subject:from:to:content-type;
 bh=zY/dfCLep3P8XaqGc5YeGKb6Pcwh4pjqH16xeLFZIZ0=;
 b=E3NFcAVyVQfEAJJJhKSfvGBi9KsVZm0MzsxLEayNs93Etf2WL2xWpzDXVn5ozF7pNw
 nCnEhbeR981zWsXLSNBksc0IMs1NgQW4MsnrVe4TojZk6dcilaoa6m4AxOMi01a7Gkkm
 gd4rF9RjtixVS2Qnp8bI0A/C/8d3I1u9GvKfmByVc/QbYg49kVuc645rF0RbcOwSUlGF
 KMJogX9fPE/KKOqXlCVCeD04UGs4nqhtKfMrTLelwLa84fHaCtGKUM+oNoz5RCdQXtXV
 Fy+cWFKlD+2KsndHSkvU1Xf52pKxNXe6GGKhgacuDBRXrkts+AXJ5MPA18NstjAguZS7
 kpBQ==
X-Gm-Message-State: ALoCoQkM0j0xnrje30xnUOzjgJ8DMncX32hkEQaWRazS9iWMW1OcGIioHprwvt9trkkNKM+lolzH
MIME-Version: 1.0
X-Received: by 10.220.133.80 with SMTP id e16mr23637117vct.13.1392774167878;
 Tue, 18 Feb 2014 17:42:47 -0800 (PST)
Received: by 10.58.8.130 with HTTP; Tue, 18 Feb 2014 17:42:47 -0800 (PST)
In-Reply-To: <CAMHp+qUYH30jmzuhdWHzrbHh4g9pDnw5zh6WMoxJJXLOgaidQw@mail.gmail.com>
References: <CAMHp+qWQAX5ahmXYen_aRMPaVnf9+k_6WTaetgkZDP=iA3EHMQ@mail.gmail.com>
 <F02387B5-B571-4B86-AECE-801039270403@gmail.com>
 <CAB8uncbrvXQHcm5XU16HF+K9scuhnjnx3y-KafQEMoOiJnBo_w@mail.gmail.com>
 <CAMHp+qXb9o8gLBujZ-_n+oQLw=qaUbwv4zvNNAd-38nNRfP+rQ@mail.gmail.com>
 <CAMHp+qUYH30jmzuhdWHzrbHh4g9pDnw5zh6WMoxJJXLOgaidQw@mail.gmail.com>
Date: Wed, 19 Feb 2014 03:42:47 +0200
Message-ID: <CAMHp+qWnNWgDasyWAc-YGWW5k9USqmKLszBi5PrnVp8TDpAWrw@mail.gmail.com>
Subject: Re: Error compile openjdk-7.51.13_1,1
From: Yevgen Kliymovich <y.kliymovich@octetis.com>
To: Dmitry Sivachenko <trtrmitya@gmail.com>, freebsd-java@freebsd.org, 
 =?UTF-8?B?6buE5paH6L6J?= <huanghwh@gmail.com>
Content-Type: text/plain; charset=KOI8-R
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
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: Wed, 19 Feb 2014 01:42:57 -0000

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.



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 sam=
e
> 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 sa=
me
>> 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 =C6=C5=D7=D2. 2014 =C7., 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=3D0x0000000801fb2d70, pid=3D73205, tid=3D34410=
417152
>>>> > #
>>>> > # 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.l=
og
>>>> > [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.
>>>> > _______________________________________________
>>>> > 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"
>>>>
>>>> _______________________________________________
>>>> 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=
"
>>>>
>>>
>>>
>>
>

From owner-freebsd-java@FreeBSD.ORG  Wed Feb 19 12:02:59 2014
Return-Path: <owner-freebsd-java@FreeBSD.ORG>
Delivered-To: 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 A35F438F
 for <java@freebsd.org>; Wed, 19 Feb 2014 12:02:59 +0000 (UTC)
Received: from seter01.zeto.com.pl (seter01.zeto.com.pl [91.213.237.10])
 by mx1.freebsd.org (Postfix) with SMTP id 357BC1DC1
 for <java@freebsd.org>; Wed, 19 Feb 2014 12:02:57 +0000 (UTC)
Received: from localhost (localhost.localdomain [127.0.0.1])
 by seter01.zeto.com.pl (Postfix) with ESMTP id E4C3029986F0
 for <java@freebsd.org>; Wed, 19 Feb 2014 13:02:56 +0100 (CET)
X-Virus-Scanned: amavisd-new at zeto.com.pl
Received: from seter01.zeto.com.pl ([127.0.0.1])
 by localhost (seter01.zeto.com.pl [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id oxDaWBMWHNz7 for <java@freebsd.org>;
 Wed, 19 Feb 2014 13:02:55 +0100 (CET)
Received: from [172.16.11.3] (unknown [50.31.252.137])
 by seter01.zeto.com.pl (Postfix) with ESMTPA
 for <java@freebsd.org>; Wed, 19 Feb 2014 13:02:54 +0100 (CET)
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Description: Mail message body
Subject: Re:From Mr Vichet,
To: java@freebsd.org
From: "Mr Nuon Vichet" <nuon.vichet@outlook.com>
Date: Wed, 19 Feb 2014 19:02:46 +0700
X-BeenThere: freebsd-java@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: n_vichet@yahoo.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: Wed, 19 Feb 2014 12:02:59 -0000

Hello,
I am Mr. Nuon Vichet, the managing Director of a financial firm here in Sou=
th East Asia.
I am contacting for a good proposal that will benefit both of us if you are=
 interested and trustworthy, please reply back and let's benefit from this =
golden opportunity.
You are my first contact, and I am contacting you because I need to do the =
deal with someone outside my country for security reasons,
it's not the type of deal you let someone around you to be aware of My bank=
s do not even know that i am contacting you.
I will explain better the process as a banker when I see your response, I s=
hall wait for days and if I do not hear from you, I shall look for another =
person.

Regards,
Mr. Vichet.

From owner-freebsd-java@FreeBSD.ORG  Wed Feb 19 18:28:58 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 4825FE75;
 Wed, 19 Feb 2014 18:28:58 +0000 (UTC)
Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94])
 (using TLSv1 with cipher RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id DB88814BE;
 Wed, 19 Feb 2014 18:28:57 +0000 (UTC)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgEFAJP2BFOtJV2c/2dsb2JhbABZgwY4wFOBGxZ0gmRAATwWGAMCAQIBWAEHAQGIAc4XF4xoFQuBXB2EIgSIW22bSYVDg0se
X-IronPort-AV: E=Sophos;i="4.97,507,1389744000"; d="scan'208";a="21649529"
Received: from rcdn-core-5.cisco.com ([173.37.93.156])
 by alln-iport-7.cisco.com with ESMTP; 19 Feb 2014 18:28:51 +0000
Received: from rtp-jclarke-89112.cisco.com (rtp-jclarke-89112.cisco.com
 [10.117.46.173])
 by rcdn-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id s1JISogm001683;
 Wed, 19 Feb 2014 18:28:51 GMT
Message-ID: <5304F7E5.8030802@marcuscom.com>
Date: Wed, 19 Feb 2014 13:28:53 -0500
From: Joe Marcus Clarke <marcus@marcuscom.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9;
 rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: swills@freebsd.org
Subject: VisualVM 1.3.7  starts then quits
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 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: Wed, 19 Feb 2014 18:28:58 -0000

Hey Steve et al.  I am trying to use VisualVM with OpenJDK 7 on FreeBSD 
9.2-p3 to debug a problem with Tomcat.  I have installed VVM both from 
pkgs and ports, and the behavior I see is that it launches, runs for 10 
seconds with full GUI that is functional.  But regardless of what I do 
within the app (or even if I do nothing), the window disappears after 10 
seconds, and the app dies with exit code 2.

The log shows nothing fatal.  The last message is:

WARNING [org.netbeans.modules.profiler.NetBeansProfiler]: Failed to 
initialize the Profiler engine: Problem with a required JFluid 
installation directory or file 
/usr/local/share/visualvm/profiler/lib/deployed/jdk16/solaris

But the app runs a bit after that message is printed.  I see from others 
that this DOES work on FreeBSD, so I'm wondering if there is a new 
issue, or if there's something I may need to do.  My stats are:

-------------------------------------------------------------------------------
 >Log Session: Wednesday, February 19, 2014 1:17:16 PM EST
 >System Info:
   Product Version         = VisualVM 1.3.7
   Operating System        = FreeBSD version 9.2-RELEASE-p3 running on amd64
   Java; VM; Vendor        = 1.7.0_51; OpenJDK 64-Bit Server VM 
24.51-b03; Oracle Corporation
   Runtime                 = OpenJDK Runtime Environment 1.7.0_51-b13
   Java Home               = /usr/local/openjdk7/jre
   System Locale; Encoding = en (visualvm); US-ASCII
   Home Directory          = /root
   Current Directory       = /usr/home/marcus
   User Directory          = /home/marcus/.visualvm/1.3.7
   Cache Directory         = /home/marcus/.cache/visualvm/1.3.7
   Installation            = /usr/local/share/visualvm/visualvm
                             /usr/local/share/visualvm/profiler
                             /usr/local/share/visualvm/platform

Any advice would be very helpful.  Thanks.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc

From owner-freebsd-java@FreeBSD.ORG  Wed Feb 19 19:51:48 2014
Return-Path: <owner-freebsd-java@FreeBSD.ORG>
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 <jkim@FreeBSD.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: Yevgen Kliymovich <y.kliymovich@octetis.com>, 
 Dmitry Sivachenko <trtrmitya@gmail.com>,
 freebsd-java@freebsd.org, =?UTF-8?B?6buE5paH6L6J?= <huanghwh@gmail.com>
Subject: Re: Error compile openjdk-7.51.13_1,1
References: <CAMHp+qWQAX5ahmXYen_aRMPaVnf9+k_6WTaetgkZDP=iA3EHMQ@mail.gmail.com>
 <F02387B5-B571-4B86-AECE-801039270403@gmail.com>
 <CAB8uncbrvXQHcm5XU16HF+K9scuhnjnx3y-KafQEMoOiJnBo_w@mail.gmail.com>
 <CAMHp+qXb9o8gLBujZ-_n+oQLw=qaUbwv4zvNNAd-38nNRfP+rQ@mail.gmail.com>
 <CAMHp+qUYH30jmzuhdWHzrbHh4g9pDnw5zh6WMoxJJXLOgaidQw@mail.gmail.com>
 <CAMHp+qWnNWgDasyWAc-YGWW5k9USqmKLszBi5PrnVp8TDpAWrw@mail.gmail.com>
In-Reply-To: <CAMHp+qWnNWgDasyWAc-YGWW5k9USqmKLszBi5PrnVp8TDpAWrw@mail.gmail.com>
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 <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: 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
> <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 февр. 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-----

From owner-freebsd-java@FreeBSD.ORG  Wed Feb 19 19:56:08 2014
Return-Path: <owner-freebsd-java@FreeBSD.ORG>
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 EB0AC774;
 Wed, 19 Feb 2014 19:56:07 +0000 (UTC)
Message-ID: <53050C57.8020900@FreeBSD.org>
Date: Wed, 19 Feb 2014 14:56:07 -0500
From: Jung-uk Kim <jkim@FreeBSD.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: Craig Rodrigues <rodrigc@FreeBSD.org>, =?UTF-8?B?6buE5paH6L6J?=
 <huanghwh@gmail.com>
Subject: Re: Java VM crashing when running Jenkins?
References: <CAG=rPVd_yLKa1CMv0fZssz6wnb=Sgzev6ZZ0TreooVx-rUzEHQ@mail.gmail.com>
 <20140208222720.GA50395@mouf.net>
 <CAG=rPVe_-t1+UiLAZ2-hjGLVTNr9uEQYetxm3YJF93b5wX-XFQ@mail.gmail.com>
 <20140209171322.GA80586@FreeBSD.cs.nctu.edu.tw>
 <CAG=rPVdXh1GrcavvACJEfWjjWkMOy9ovjeLk4r7ufLJTCT7gng@mail.gmail.com>
 <20140210053638.GA85573@FreeBSD.cs.nctu.edu.tw>
 <CAKBkRUzhzqm+oQdMyeP193OeEMYm3DaWcJXKWxzCTbDoYBfXRw@mail.gmail.com>
 <CAKBkRUygjWbhE=YhoyGXBsxB_G3PJpkL0TqAOgB1wwss6nYstA@mail.gmail.com>
 <CAJuc1zOFuJxv2JSbkeUjAXi3hZisjc7opNN5jDhurmtJys4MOw@mail.gmail.com>
 <CAKBkRUyZR8H_wjZsgQGXRKQ0P=cS97_F_4sKi8=+Fhkg6rF6tw@mail.gmail.com>
 <CAG=rPVdAL7QqsyU6jBzKfVeEcP15x8n1mzDKcwp0i+XRFamCPQ@mail.gmail.com>
 <CAB8uncY=W7HiSfnvs0_HPk3jvWFzTh87xH_zkFMT5fgUQKaaMQ@mail.gmail.com>
 <CAG=rPVcoWcQ3Lgdyub3+iDmcMETabumR-aNLk388xA56USLkXg@mail.gmail.com>
 <CAB8uncaQh-Fu4LDhA=SCnw22MsDSNx8paakLY5VJVZA71dLV=Q@mail.gmail.com>
 <CAG=rPVcDoYOmau-wSdVCbA4P1ZASR5XpOaKRwVD+id58VqLf+w@mail.gmail.com>
In-Reply-To: <CAG=rPVcDoYOmau-wSdVCbA4P1ZASR5XpOaKRwVD+id58VqLf+w@mail.gmail.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: Steven Kreuzer <skreuzer@freebsd.org>, Steve Wills <swills@freebsd.org>,
 Li-Wen Hsu <lwhsu@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: Wed, 19 Feb 2014 19:56:08 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2014-02-11 13:09:56 -0500, Craig Rodrigues wrote:
> On Mon, Feb 10, 2014 at 7:57 PM, Huang Wen Hui
> 
> As jkim said, option "-Xbatch" should be help a lot on STALBE/10,
> but I
>> still got random crash, although very few. Right now  I think
>> STABLE/9 is the best for java app.
>> 
> 
> 
> Thanks for the tip.  Just as an additional data point, I upgraded
> my VM from 10.0-RELEASE to stable/10. Java was still crashing for
> me when running Jenkins. I did not try "-Xbatch".
> 
> I hope that the openjdk6 and openjdk7 problems are fixed for
> stable/10 and CURRENT.  If any developers needs me to test
> anything, let me know.
> 
> For now, I will see about going back to 9.2-RELEASE when using
> openjdk.

http://docs.freebsd.org/cgi/mid.cgi?53050B52.8030301

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQEcBAEBAgAGBQJTBQxWAAoJEHyflib82/FGgbgIAJFoL93nwOtaynsZw8I2DXS+
5PosRzabRYUviajyZNUjKlNEKO2xGE2ZY2eqbN2tLcr95Og2ihsrY6a/bGebQDoG
1ACb0oyY/apLKiLKmRXDremzUOOX9qYqBM10EyjZNyNVDmNx1SzUPO6RZLnhb9Yb
xEOHXw6WT8AkyIhLLOZyddAmpp1IOsTDgGnqtishvjOygYFa+yVrv8cAXp2RG8Hu
v/xWplIgtN4qnKPTTY1vghM88YoXEMQy46bacyIssr6CfVsHDShf7aQtr+TdAGKR
WuxS0zJ5a0wu/hIXrSld608MbnpQrBffg1jC9MsCP8p1FV+UvM2vzmo1AqxQU+g=
=TfGD
-----END PGP SIGNATURE-----

From owner-freebsd-java@FreeBSD.ORG  Wed Feb 19 20:02:04 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 A6C5A9D4
 for <freebsd-java@freebsd.org>; Wed, 19 Feb 2014 20:02:04 +0000 (UTC)
Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 78A421DDB
 for <freebsd-java@freebsd.org>; Wed, 19 Feb 2014 20:02:04 +0000 (UTC)
Received: from mouf.net (swills@mouf [199.48.129.64])
 by mouf.net (8.14.5/8.14.5) with ESMTP id s1JK1sJx055570
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
 Wed, 19 Feb 2014 20:01:59 GMT (envelope-from swills@mouf.net)
Received: (from swills@localhost)
 by mouf.net (8.14.5/8.14.5/Submit) id s1JK1scj055569;
 Wed, 19 Feb 2014 20:01:54 GMT (envelope-from swills)
Date: Wed, 19 Feb 2014 20:01:54 +0000
From: Steve Wills <swills@freebsd.org>
To: Joe Marcus Clarke <marcus@marcuscom.com>
Subject: Re: VisualVM 1.3.7  starts then quits
Message-ID: <20140219200153.GB52070@mouf.net>
References: <5304F7E5.8030802@marcuscom.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5304F7E5.8030802@marcuscom.com>
User-Agent: Mutt/1.5.22 (2013-10-16)
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3
 (mouf.net [199.48.129.64]); Wed, 19 Feb 2014 20:01:59 +0000 (UTC)
X-Spam-Status: No, score=0.0 required=4.5 tests=none autolearn=unavailable
 version=3.3.2
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mouf.net
X-Virus-Scanned: clamav-milter 0.98.1 at mouf.net
X-Virus-Status: Clean
Cc: 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: Wed, 19 Feb 2014 20:02:04 -0000

On Wed, Feb 19, 2014 at 01:28:53PM -0500, Joe Marcus Clarke wrote:
> Hey Steve et al.  I am trying to use VisualVM with OpenJDK 7 on FreeBSD 
> 9.2-p3 to debug a problem with Tomcat.  I have installed VVM both from 
> pkgs and ports, and the behavior I see is that it launches, runs for 10 
> seconds with full GUI that is functional.  But regardless of what I do 
> within the app (or even if I do nothing), the window disappears after 10 
> seconds, and the app dies with exit code 2.
> 
> The log shows nothing fatal.  The last message is:
> 
> WARNING [org.netbeans.modules.profiler.NetBeansProfiler]: Failed to 
> initialize the Profiler engine: Problem with a required JFluid 
> installation directory or file 
> /usr/local/share/visualvm/profiler/lib/deployed/jdk16/solaris
> 
> But the app runs a bit after that message is printed.  I see from others 
> that this DOES work on FreeBSD, so I'm wondering if there is a new 
> issue, or if there's something I may need to do.  My stats are:
> 
> -------------------------------------------------------------------------------
>  >Log Session: Wednesday, February 19, 2014 1:17:16 PM EST
>  >System Info:
>    Product Version         = VisualVM 1.3.7
>    Operating System        = FreeBSD version 9.2-RELEASE-p3 running on amd64
>    Java; VM; Vendor        = 1.7.0_51; OpenJDK 64-Bit Server VM 
> 24.51-b03; Oracle Corporation
>    Runtime                 = OpenJDK Runtime Environment 1.7.0_51-b13
>    Java Home               = /usr/local/openjdk7/jre
>    System Locale; Encoding = en (visualvm); US-ASCII
>    Home Directory          = /root
>    Current Directory       = /usr/home/marcus
>    User Directory          = /home/marcus/.visualvm/1.3.7
>    Cache Directory         = /home/marcus/.cache/visualvm/1.3.7
>    Installation            = /usr/local/share/visualvm/visualvm
>                              /usr/local/share/visualvm/profiler
>                              /usr/local/share/visualvm/platform
> 
> Any advice would be very helpful.  Thanks.

Hmm, this is strange. One thing I notice is that it's trying to load things
from JDK6 (and for solaris at that). Have you tried running it under JDK6?
Personally, I build with a local patch that makes JDK7 the default (normally
JDK6 is default). So maybe it's as simple as making sure the right JDK is used?

Googled around a bit about this and found:

https://netbeans.org/bugzilla/show_bug.cgi?id=155892
http://lists.freebsd.org/pipermail/freebsd-java/2008-July/thread.html
http://playground.teerapap.net/2011/08/visualvm-on-ubuntulucid-failed-to.html
https://bugs.launchpad.net/ubuntu/+source/visualvm/+bug/577958

So you're definitely not the only one to encounter this type of issue, although
none of those seem to indicate a resolution.

The last two in particular make me wonder if building from source would help.
The VisualVM port isn't building VisualVM from source, it's just repackaging
the zip file from visualvm.java.net. We could build from source if needed.
Source is here:

https://java.net/projects/visualvm/sources/svn/show

The only copy of the libprofilerinterface.so file I can find is in the netbeans
package, but only versions for Solaris, Mac, etc. None for FreeBSD.

Perhaps we would get it if we built VisualVM from source.

Steve

From owner-freebsd-java@FreeBSD.ORG  Thu Feb 20 00:56:56 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 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 <multiple recipients>; 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: <CAMHp+qWQAX5ahmXYen_aRMPaVnf9+k_6WTaetgkZDP=iA3EHMQ@mail.gmail.com>
 <F02387B5-B571-4B86-AECE-801039270403@gmail.com>
 <CAB8uncbrvXQHcm5XU16HF+K9scuhnjnx3y-KafQEMoOiJnBo_w@mail.gmail.com>
 <CAMHp+qXb9o8gLBujZ-_n+oQLw=qaUbwv4zvNNAd-38nNRfP+rQ@mail.gmail.com>
 <CAMHp+qUYH30jmzuhdWHzrbHh4g9pDnw5zh6WMoxJJXLOgaidQw@mail.gmail.com>
 <CAMHp+qWnNWgDasyWAc-YGWW5k9USqmKLszBi5PrnVp8TDpAWrw@mail.gmail.com>
 <53050B52.8030301@FreeBSD.org>
Date: Thu, 20 Feb 2014 08:56:55 +0800
Message-ID: <CAB8uncYrFCdP32=c_-8rvN0dj-oSMvECBd-MuWEypTD0CK1LTA@mail.gmail.com>
Subject: Re: Error compile openjdk-7.51.13_1,1
From: Huang Wen Hui <huanghwh@gmail.com>
To: Jung-uk Kim <jkim@freebsd.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
Cc: Dmitry Sivachenko <trtrmitya@gmail.com>,
 Yevgen Kliymovich <y.kliymovich@octetis.com>,
 "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: 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 <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-----
>

From owner-freebsd-java@FreeBSD.ORG  Thu Feb 20 04:45:18 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 206FF569;
 Thu, 20 Feb 2014 04:45:18 +0000 (UTC)
Received: from mail-lb0-x22d.google.com (mail-lb0-x22d.google.com
 [IPv6:2a00:1450:4010:c04::22d])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id ABBBC1F8C;
 Thu, 20 Feb 2014 04:45:16 +0000 (UTC)
Received: by mail-lb0-f173.google.com with SMTP id s7so964815lbd.4
 for <multiple recipients>; Wed, 19 Feb 2014 20:45:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:date:message-id:subject:from:to:cc:content-type;
 bh=TTXnvbz/tVkE1dVujS1kqPVe4YA0gyS2tdnj5MTz+d0=;
 b=mZ6SRQAuG+m1PDABAV1I3kdBvLy8vuX+vEqWepI9KQmeZ+59DOLnkLuMbGY+/rBBI+
 rAI0fVCdYG7SBHZQI3TlIvd4CpJP0lUA6Szf/wMNIpbugip54t8/x2PolMtdRCf7h7HS
 SkWAvMa6SFG33wRjEhPPhpzqJuF3bqSfCyyAoPX/odz+XMsT5gohwQhOwIRU2XloC0/D
 7guJUsrLQskg5QLWWTc3dBSlQIkMKzk7eoz9REpeD1xxvG3FdYKGxIhr2DJNPwVLXNPH
 1ECpIih6j6plj9wrguR9PvrnZFU+Z9WFhP1omYz4mi9rGK6q/l/WOhLgyu/e8SgA76Jd
 e8Sw==
MIME-Version: 1.0
X-Received: by 10.152.25.165 with SMTP id d5mr2405603lag.89.1392871514680;
 Wed, 19 Feb 2014 20:45:14 -0800 (PST)
Sender: crodr001@gmail.com
Received: by 10.112.30.211 with HTTP; Wed, 19 Feb 2014 20:45:14 -0800 (PST)
Date: Wed, 19 Feb 2014 20:45:14 -0800
X-Google-Sender-Auth: nMEwJ_D3ijZRPCiy8b3zpp0wIgY
Message-ID: <CAG=rPVeZGSs5_rRpRgdoSNK988TYY+BK76qeprWcR1JC64ekKQ@mail.gmail.com>
Subject: vm.pmap.pcid_enabled="0" seems to eliminate Java/Jenkins crashing
 problems in FBSD 10
From: Craig Rodrigues <rodrigc@FreeBSD.org>
To: "freebsd-java@freebsd.org" <freebsd-java@freebsd.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
Cc: FreeBSD Release Engineering Team <re@freebsd.org>, attilio@freebsd.org,
 Xin Li <delphij@freebsd.org>, FreeBSD Security Team <secteam@freebsd.org>,
 Dmitry Sivachenko <trtrmitya@gmail.com>, Jung-uk Kim <jkim@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: Thu, 20 Feb 2014 04:45:18 -0000

Hi,

I am followed Jung-uk Kim's advice here:

http://lists.freebsd.org/pipermail/freebsd-java/2014-February/010582.html


and configured the one of the FreeBSD stable/10 VM's (running at r261732)
that I have running
under BHyve with the
following in /boot/loader.conf:

vm.pmap.pcid_enabled="0"


In this VM, I then ran a Jenkins build, and it ran successfully to
completion.
You can see the logs for this  build here:
https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/146/


Previously, I had problems with the JVM crashing:
http://lists.freebsd.org/pipermail/freebsd-java/2014-February/010536.html

I did not encounter problems with the JVM crashing
after setting vm.pmap.pcid_enabled="0".

Thanks.
--
Craig

From owner-freebsd-java@FreeBSD.ORG  Thu Feb 20 11:30:01 2014
Return-Path: <owner-freebsd-java@FreeBSD.ORG>
Delivered-To: freebsd-java@smarthost.ysv.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 0632BEA1
 for <freebsd-java@smarthost.ysv.freebsd.org>;
 Thu, 20 Feb 2014 11:30:01 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id BB1AF1484
 for <freebsd-java@smarthost.ysv.freebsd.org>;
 Thu, 20 Feb 2014 11:30:00 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1KBU0pN099043
 for <freebsd-java@freefall.freebsd.org>; Thu, 20 Feb 2014 11:30:00 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1KBU0hX099042;
 Thu, 20 Feb 2014 11:30:00 GMT (envelope-from gnats)
Resent-Date: Thu, 20 Feb 2014 11:30:00 GMT
Resent-Message-Id: <201402201130.s1KBU0hX099042@freefall.freebsd.org>
Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer)
Resent-To: freebsd-java@FreeBSD.org
Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org,
 Sean Hsien <umphy27@gmail.com>
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 BAC8BDFB
 for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Feb 2014 11:24:26 +0000 (UTC)
Received: from newred.freebsd.org (cgiserv.freebsd.org
 [IPv6:2001:1900:2254:206a::50:4])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id A6FA113F0
 for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Feb 2014 11:24:26 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
 by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s1KBOQpi080003
 for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Feb 2014 11:24:26 GMT
 (envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
 by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s1KBOQ8o080000;
 Thu, 20 Feb 2014 11:24:26 GMT (envelope-from nobody)
Message-Id: <201402201124.s1KBOQ8o080000@cgiserv.freebsd.org>
Date: Thu, 20 Feb 2014 11:24:26 GMT
From: Sean Hsien <umphy27@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
X-Send-Pr-Version: www-3.1
Subject: java/186916: ports/java/java-subversion build fails with:
 /usr/bin/ld: cannot find -lstdc++
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: Thu, 20 Feb 2014 11:30:01 -0000


>Number:         186916
>Category:       java
>Synopsis:       ports/java/java-subversion build fails with: /usr/bin/ld: cannot find -lstdc++
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-java
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 20 11:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Sean Hsien
>Release:        10.0-RELEASE
>Organization:
>Environment:
FreeBSD umphy-p151sm 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
The port /java/java-subversion build fails with the error:

/usr/bin/ld: cannot find -lstdc++
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/java/java-subversion/work/subversion-1.8.5
*** Error code 1

It is needed by eclipse to integrate with subversion via subclipse.
>How-To-Repeat:
cd /usr/ports/java/java-subversion
sudo make install clean
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:

From owner-freebsd-java@FreeBSD.ORG  Thu Feb 20 17:59:22 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 8B77DD91;
 Thu, 20 Feb 2014 17:59:22 +0000 (UTC)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78])
 (using TLSv1 with cipher RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 3BFCA1C3C;
 Thu, 20 Feb 2014 17:59:21 +0000 (UTC)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgUFAL5BBlOtJV2Y/2dsb2JhbABPCoMGOINZvD1PgRAWdIIlAQEBAwEBAiBVARALDgoCAgUWCwICCQMCAQIBFi8GDQEHAQGHeQgNrQChHBeBKYs/gSBcB4JvgUkEiFttjBSEBosvhUODSx4
X-IronPort-AV: E=Sophos;i="4.97,513,1389744000"; d="scan'208";a="305398978"
Received: from rcdn-core-1.cisco.com ([173.37.93.152])
 by rcdn-iport-7.cisco.com with ESMTP; 20 Feb 2014 17:59:15 +0000
Received: from dhcp-10-150-53-200.cisco.com (dhcp-10-150-53-200.cisco.com
 [10.150.53.200])
 by rcdn-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id s1KHxFMG011544;
 Thu, 20 Feb 2014 17:59:15 GMT
Message-ID: <53064273.6090306@marcuscom.com>
Date: Thu, 20 Feb 2014 12:59:15 -0500
From: Joe Marcus Clarke <marcus@marcuscom.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9;
 rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: Steve Wills <swills@freebsd.org>
Subject: Re: VisualVM 1.3.7  starts then quits
References: <5304F7E5.8030802@marcuscom.com> <20140219200153.GB52070@mouf.net>
In-Reply-To: <20140219200153.GB52070@mouf.net>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: 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: Thu, 20 Feb 2014 17:59:22 -0000

On 2/19/14, 3:01 PM, Steve Wills wrote:
> On Wed, Feb 19, 2014 at 01:28:53PM -0500, Joe Marcus Clarke wrote:
>> Hey Steve et al.  I am trying to use VisualVM with OpenJDK 7 on FreeBSD 
>> 9.2-p3 to debug a problem with Tomcat.  I have installed VVM both from 
>> pkgs and ports, and the behavior I see is that it launches, runs for 10 
>> seconds with full GUI that is functional.  But regardless of what I do 
>> within the app (or even if I do nothing), the window disappears after 10 
>> seconds, and the app dies with exit code 2.
>>
>> The log shows nothing fatal.  The last message is:
>>
>> WARNING [org.netbeans.modules.profiler.NetBeansProfiler]: Failed to 
>> initialize the Profiler engine: Problem with a required JFluid 
>> installation directory or file 
>> /usr/local/share/visualvm/profiler/lib/deployed/jdk16/solaris
>>
>> But the app runs a bit after that message is printed.  I see from others 
>> that this DOES work on FreeBSD, so I'm wondering if there is a new 
>> issue, or if there's something I may need to do.  My stats are:
>>
>> -------------------------------------------------------------------------------
>>  >Log Session: Wednesday, February 19, 2014 1:17:16 PM EST
>>  >System Info:
>>    Product Version         = VisualVM 1.3.7
>>    Operating System        = FreeBSD version 9.2-RELEASE-p3 running on amd64
>>    Java; VM; Vendor        = 1.7.0_51; OpenJDK 64-Bit Server VM 
>> 24.51-b03; Oracle Corporation
>>    Runtime                 = OpenJDK Runtime Environment 1.7.0_51-b13
>>    Java Home               = /usr/local/openjdk7/jre
>>    System Locale; Encoding = en (visualvm); US-ASCII
>>    Home Directory          = /root
>>    Current Directory       = /usr/home/marcus
>>    User Directory          = /home/marcus/.visualvm/1.3.7
>>    Cache Directory         = /home/marcus/.cache/visualvm/1.3.7
>>    Installation            = /usr/local/share/visualvm/visualvm
>>                              /usr/local/share/visualvm/profiler
>>                              /usr/local/share/visualvm/platform
>>
>> Any advice would be very helpful.  Thanks.
> 
> Hmm, this is strange. One thing I notice is that it's trying to load things
> from JDK6 (and for solaris at that). Have you tried running it under JDK6?
> Personally, I build with a local patch that makes JDK7 the default (normally
> JDK6 is default). So maybe it's as simple as making sure the right JDK is used?
> 
> Googled around a bit about this and found:
> 
> https://netbeans.org/bugzilla/show_bug.cgi?id=155892
> http://lists.freebsd.org/pipermail/freebsd-java/2008-July/thread.html
> http://playground.teerapap.net/2011/08/visualvm-on-ubuntulucid-failed-to.html
> https://bugs.launchpad.net/ubuntu/+source/visualvm/+bug/577958

I don't think the profile engine is the problem.  VVM continues to run a
bit after I get this message.  The reports from others seem to indicate
that even with this, the app should continue to run.

Nonetheless, for my issue, I needed profiling quick, so I got a free
trial for YourKit.  It worked to help my identify my leak.

> 
> So you're definitely not the only one to encounter this type of issue, although
> none of those seem to indicate a resolution.
> 
> The last two in particular make me wonder if building from source would help.
> The VisualVM port isn't building VisualVM from source, it's just repackaging
> the zip file from visualvm.java.net. We could build from source if needed.
> Source is here:
> 
> https://java.net/projects/visualvm/sources/svn/show
> 
> The only copy of the libprofilerinterface.so file I can find is in the netbeans
> package, but only versions for Solaris, Mac, etc. None for FreeBSD.
> 
> Perhaps we would get it if we built VisualVM from source.

I went through the code looking for a System.exit(2), but I couldn't
find one.  I'm really perplexed why this would yield a result code of 2
and otherwise be silent (i.e., the VM isn't dying on an Error).  I
wonder if this exit is coming from the JVM itself.

Joe

> 
> Steve
> 


-- 
PGP Key : http://www.marcuscom.com/pgp.asc

From owner-freebsd-java@FreeBSD.ORG  Fri Feb 21 22:55:00 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 AB78AD1B;
 Fri, 21 Feb 2014 22:55:00 +0000 (UTC)
Received: from mail-qg0-x22f.google.com (mail-qg0-x22f.google.com
 [IPv6:2607:f8b0:400d:c04::22f])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 0636116C5;
 Fri, 21 Feb 2014 22:54:59 +0000 (UTC)
Received: by mail-qg0-f47.google.com with SMTP id 63so9053876qgz.6
 for <multiple recipients>; Fri, 21 Feb 2014 14:54:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:reply-to:sender:in-reply-to:references:date:message-id
 :subject:from:to:cc:content-type;
 bh=jaFNzZxJN/d4hWe006FobFpXjVXDs9rXBtm4LNwTZB4=;
 b=yVR2oKsyJMNyAoeyW62XI97XGECP2HEFulTO+UWsXtm2JoKwnXZydMSWahyinD4VF+
 kx7jbUL7eVN5yHoRMm93ooNQKy54/BEar5+pZNtxWLynM4cSQvCj1K9eQorgvMGzh0Gq
 p7p5enbM4ZeXFyF651BPheVC35weDDk+41cAyVTq/tw6IYl2Rb/VQ3TQGPRULeIGISUa
 BNyXsldTEaKG0+feMDhAbkQiBSiasVK+OA8ij7WcCBz4x82c2ytGAiArM+4M8bQ7dtbI
 XBVgZ1RiVS3rxAXSY91Yy5LBik2hpAEmr+ItOcsue3bHAcO/KxpliFyVYGmFHilGmkkZ
 Torg==
MIME-Version: 1.0
X-Received: by 10.140.80.53 with SMTP id b50mr13040811qgd.43.1393023299000;
 Fri, 21 Feb 2014 14:54:59 -0800 (PST)
Sender: asmrookie@gmail.com
Received: by 10.96.153.195 with HTTP; Fri, 21 Feb 2014 14:54:58 -0800 (PST)
In-Reply-To: <CAG=rPVeZGSs5_rRpRgdoSNK988TYY+BK76qeprWcR1JC64ekKQ@mail.gmail.com>
References: <CAG=rPVeZGSs5_rRpRgdoSNK988TYY+BK76qeprWcR1JC64ekKQ@mail.gmail.com>
Date: Fri, 21 Feb 2014 23:54:58 +0100
X-Google-Sender-Auth: rV4FjE4hzhgZxtyNRcaahFRCKvc
Message-ID: <CAJ-FndBKMg9NVm=qn2hmfEbFH-ZVPFr92gVHz3MkbgVXK=xpug@mail.gmail.com>
Subject: Re: vm.pmap.pcid_enabled="0" seems to eliminate Java/Jenkins crashing
 problems in FBSD 10
From: Attilio Rao <attilio@freebsd.org>
To: Craig Rodrigues <rodrigc@freebsd.org>
Content-Type: text/plain; charset=UTF-8
Cc: FreeBSD Release Engineering Team <re@freebsd.org>,
 Xin Li <delphij@freebsd.org>, FreeBSD Security Team <secteam@freebsd.org>,
 Dmitry Sivachenko <trtrmitya@gmail.com>, Jung-uk Kim <jkim@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: attilio@FreeBSD.org
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, 21 Feb 2014 22:55:00 -0000

On Thu, Feb 20, 2014 at 5:45 AM, Craig Rodrigues <rodrigc@freebsd.org> wrote:
> Hi,
>
> I am followed Jung-uk Kim's advice here:
>
> http://lists.freebsd.org/pipermail/freebsd-java/2014-February/010582.html
>
>
> and configured the one of the FreeBSD stable/10 VM's (running at r261732)
> that I have running
> under BHyve with the
> following in /boot/loader.conf:
>
> vm.pmap.pcid_enabled="0"

IIRC PCID had to be already disabled by default as we saw it was
slower in the real world or I'm missing something?

Thanks,
Attilio


-- 
Peace can only be achieved by understanding - A. Einstein

From owner-freebsd-java@FreeBSD.ORG  Fri Feb 21 23:06:20 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 2F2DCFB6;
 Fri, 21 Feb 2014 23:06:20 +0000 (UTC)
Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com
 [IPv6:2a00:1450:4010:c03::22e])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id B97161795;
 Fri, 21 Feb 2014 23:06:18 +0000 (UTC)
Received: by mail-la0-f46.google.com with SMTP id b8so2890070lan.5
 for <multiple recipients>; Fri, 21 Feb 2014 15:06:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:date:message-id:subject
 :from:to:cc:content-type;
 bh=E3NZ8z0hATYxcTnJqBrz6UNlqjx6mCXjvHPWUzS0lzA=;
 b=KhJfp/RZQ3rfzuYwoGirC6JsA3iTjHMjc7no9z1h6ur50rd5k0da/kC1KncIxhoAIC
 kXjrlYedh+zqi+vEbmjJ8wNR9jAvIP9Ys91JVuipGlo/HokqVm7eQ8JVHSoM5IfBD8Wi
 U5acgeYVGIn6Mn333II+merrfi/M0svdGZlUxSk0meWpY/6zEaUYV81W61w1uf4FFnfj
 7L2lcgNEyUqFUr8bV7Q73yzJS+TTCnfdYvUAXHp9FFI2yBJ4O7EIjmr65334gN5qJiiR
 9pPJCRADBlwwT9TB2sJCS8hH9WqGnTgrdUFpru+VUz3y9tVAQGcOhS5blmkV3E6hmWRx
 fktQ==
MIME-Version: 1.0
X-Received: by 10.112.166.68 with SMTP id ze4mr5300010lbb.58.1393023976776;
 Fri, 21 Feb 2014 15:06:16 -0800 (PST)
Sender: crodr001@gmail.com
Received: by 10.112.30.211 with HTTP; Fri, 21 Feb 2014 15:06:16 -0800 (PST)
In-Reply-To: <CAJ-FndBKMg9NVm=qn2hmfEbFH-ZVPFr92gVHz3MkbgVXK=xpug@mail.gmail.com>
References: <CAG=rPVeZGSs5_rRpRgdoSNK988TYY+BK76qeprWcR1JC64ekKQ@mail.gmail.com>
 <CAJ-FndBKMg9NVm=qn2hmfEbFH-ZVPFr92gVHz3MkbgVXK=xpug@mail.gmail.com>
Date: Fri, 21 Feb 2014 15:06:16 -0800
X-Google-Sender-Auth: li7GVNFj-xS1WXKFXIUkinAGlfU
Message-ID: <CAG=rPVds7Z6EvSFuDsB3pJ401DvSkps0gq0Zy=MS7_Wp29JddQ@mail.gmail.com>
Subject: Re: vm.pmap.pcid_enabled="0" seems to eliminate Java/Jenkins crashing
 problems in FBSD 10
From: Craig Rodrigues <rodrigc@FreeBSD.org>
To: attilio@freebsd.org
Content-Type: text/plain; charset=ISO-8859-1
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
Cc: FreeBSD Release Engineering Team <re@freebsd.org>,
 Xin Li <delphij@freebsd.org>, FreeBSD Security Team <secteam@freebsd.org>,
 Dmitry Sivachenko <trtrmitya@gmail.com>, Jung-uk Kim <jkim@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: Fri, 21 Feb 2014 23:06:20 -0000

On Fri, Feb 21, 2014 at 2:54 PM, Attilio Rao <attilio@freebsd.org> wrote:

> On Thu, Feb 20, 2014 at 5:45 AM, Craig Rodrigues <rodrigc@freebsd.org>
> wrote:
> > Hi,
> >
> > I am followed Jung-uk Kim's advice here:
> >
> >
> http://lists.freebsd.org/pipermail/freebsd-java/2014-February/010582.html
> >
> >
> > and configured the one of the FreeBSD stable/10 VM's (running at r261732)
> > that I have running
> > under BHyve with the
> > following in /boot/loader.conf:
> >
> > vm.pmap.pcid_enabled="0"
>
> IIRC PCID had to be already disabled by default as we saw it was
> slower in the real world or I'm missing something?
>
> Thanks,
> Attilio
>


I never observed an problems with speed problems being introduced by
vm.pmap.pcid_enabled="1".
All I can say is that I saw that Java VM crash when
vm.pmap.pcid_enabled="1", but setting
vm.pmap.pcid_enabled="0" stopped the crashes with the Java VM.

My focus was on stopping the Java crashes.

I still don't know the real cause of the problem...is it:

(1)  problem with new code that is executed when vm.pmap.pcid_enabled="1"
implementation?
(2)  latent bug in VM that is triggered by vm.pmap.pcid_enabled="1" but not
directly related to that?
(3)  bug in OpenJDK?

Hard to say for sure, but any help from a FreeBSD VM expert would be
greatly appreciated.

--
Craig

From owner-freebsd-java@FreeBSD.ORG  Fri Feb 21 23:13:20 2014
Return-Path: <owner-freebsd-java@FreeBSD.ORG>
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 591211BA;
 Fri, 21 Feb 2014 23:13:20 +0000 (UTC)
Message-ID: <5307DD8F.5020501@FreeBSD.org>
Date: Fri, 21 Feb 2014 18:13:19 -0500
From: Jung-uk Kim <jkim@FreeBSD.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: attilio@FreeBSD.org, Craig Rodrigues <rodrigc@freebsd.org>
Subject: Re: vm.pmap.pcid_enabled="0" seems to eliminate Java/Jenkins crashing
 problems in FBSD 10
References: <CAG=rPVeZGSs5_rRpRgdoSNK988TYY+BK76qeprWcR1JC64ekKQ@mail.gmail.com>
 <CAJ-FndBKMg9NVm=qn2hmfEbFH-ZVPFr92gVHz3MkbgVXK=xpug@mail.gmail.com>
In-Reply-To: <CAJ-FndBKMg9NVm=qn2hmfEbFH-ZVPFr92gVHz3MkbgVXK=xpug@mail.gmail.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: Dmitry Sivachenko <trtrmitya@gmail.com>, Xin Li <delphij@freebsd.org>,
 FreeBSD Security Team <secteam@freebsd.org>,
 FreeBSD Release Engineering Team <re@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: Fri, 21 Feb 2014 23:13:21 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2014-02-21 17:54:58 -0500, Attilio Rao wrote:
> On Thu, Feb 20, 2014 at 5:45 AM, Craig Rodrigues
> <rodrigc@freebsd.org> wrote:
>> Hi,
>> 
>> I am followed Jung-uk Kim's advice here:
>> 
>> http://lists.freebsd.org/pipermail/freebsd-java/2014-February/010582.html
>>
>>
>>
>> 
and configured the one of the FreeBSD stable/10 VM's (running at r261732)
>> that I have running under BHyve with the following in
>> /boot/loader.conf:
>> 
>> vm.pmap.pcid_enabled="0"
> 
> IIRC PCID had to be already disabled by default as we saw it was 
> slower in the real world or I'm missing something?

No, it is enabled by default on all 10+ AFAICT.

http://svnweb.freebsd.org/base/head/sys/amd64/amd64/pmap.c?annotate=261781#l370
http://svnweb.freebsd.org/base/stable/10/sys/amd64/amd64/pmap.c?annotate=260467#l370
http://svnweb.freebsd.org/base/releng/10.0/sys/amd64/amd64/pmap.c?annotate=259065#l370

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQEcBAEBAgAGBQJTB92PAAoJEHyflib82/FGt1kH/j+xmZzvuisHwqhV/iyWwqTv
J5P4pYUp+yFcg6B4riBcpxlmZ5ZG2KCSK5NJZVZXX0p6UWW1MLeZc8siZPaCPdg8
I3DtkIQeZEjoFxtcP96K2IzDZBDzw5d8Kh4kZeFXXSJKX6LIW4XJVmGdhgoBN5Cd
ExIcOS+J3dY9s3QCeb9lpHsx6BWW6ziIVcALRmYI/opbTGbSW7pvbd+BX8WP2TZs
BH+SCLNkciLfNnFhm+nbZ+r3nIRB7/G+zlFTPzFYgQhATgGA8KRR1G6HPF0Zlcmm
LNssZSUGyJmM0ZA2TPbQyd/bq9kYzKcPL2k8zVvMdqk2Rp1AuPMF0inj4OmR9eM=
=Sv2D
-----END PGP SIGNATURE-----

From owner-freebsd-java@FreeBSD.ORG  Sat Feb 22 17:02:42 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 98E30604;
 Sat, 22 Feb 2014 17:02:42 +0000 (UTC)
Received: from mail-la0-x232.google.com (mail-la0-x232.google.com
 [IPv6:2a00:1450:4010:c03::232])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 2F8941884;
 Sat, 22 Feb 2014 17:02:41 +0000 (UTC)
Received: by mail-la0-f50.google.com with SMTP id ec20so3573461lab.23
 for <multiple recipients>; Sat, 22 Feb 2014 09:02:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:date:message-id:subject
 :from:to:cc:content-type;
 bh=LA4nul6Ut17/JKDS3S+uBcNv9ei9PiVS9gId/JbGsEw=;
 b=FpfsAMUKYtbJxDwF8xF386IUPrXod0nIqhqG/VnrE9B7M+P4m8w2VrPaZmtYUKIH89
 sZmBZmja2aRPke23DLLNXQe21tpqKAkRvL3azb10/3Ay6yrga7qQmgWG2ufychMY+E5z
 3QBzX4Cc9ZvRc0OlUXlG+grHVdwrJz3RfgMy3SMbL5j69/PGowC3D29Gl+i4ng/Yvj+B
 icefwYu5ix5IS4i74znJZBEe8xLu5vByNKt3DWHZdrqWwm+dEG/Aym+AEO9rcFOtKbAY
 BMs2t9tiRMr+PRjn68g2IZWrGEUyiJs2hb4TcZWGe17ZGNczibxLP4yJhHfUMwyAYCZ3
 tYHQ==
MIME-Version: 1.0
X-Received: by 10.112.40.114 with SMTP id w18mr6987318lbk.20.1393088559136;
 Sat, 22 Feb 2014 09:02:39 -0800 (PST)
Sender: crodr001@gmail.com
Received: by 10.112.30.211 with HTTP; Sat, 22 Feb 2014 09:02:39 -0800 (PST)
In-Reply-To: <5307DD8F.5020501@FreeBSD.org>
References: <CAG=rPVeZGSs5_rRpRgdoSNK988TYY+BK76qeprWcR1JC64ekKQ@mail.gmail.com>
 <CAJ-FndBKMg9NVm=qn2hmfEbFH-ZVPFr92gVHz3MkbgVXK=xpug@mail.gmail.com>
 <5307DD8F.5020501@FreeBSD.org>
Date: Sat, 22 Feb 2014 09:02:39 -0800
X-Google-Sender-Auth: j6FtK1U9l8bHKELvz5fnIqu1kNc
Message-ID: <CAG=rPVf9MRprfRa2ORBUHpd62S0cJ3+u-Kv=foqoM+pXg40fEA@mail.gmail.com>
Subject: Re: vm.pmap.pcid_enabled="0" seems to eliminate Java/Jenkins crashing
 problems in FBSD 10
From: Craig Rodrigues <rodrigc@FreeBSD.org>
To: Jung-uk Kim <jkim@freebsd.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Content-Filtered-By: Mailman/MimeDel 2.1.17
Cc: FreeBSD Release Engineering Team <re@freebsd.org>, attilio@freebsd.org,
 Xin Li <delphij@freebsd.org>, FreeBSD Security Team <secteam@freebsd.org>,
 Dmitry Sivachenko <trtrmitya@gmail.com>,
 "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: Sat, 22 Feb 2014 17:02:42 -0000

On Fri, Feb 21, 2014 at 3:13 PM, Jung-uk Kim <jkim@freebsd.org> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 2014-02-21 17:54:58 -0500, Attilio Rao wrote:
>
>
> No, it is enabled by default on all 10+ AFAICT.
>
>
> http://svnweb.freebsd.org/base/head/sys/amd64/amd64/pmap.c?annotate=261781#l370
>
> http://svnweb.freebsd.org/base/stable/10/sys/amd64/amd64/pmap.c?annotate=260467#l370
>
> http://svnweb.freebsd.org/base/releng/10.0/sys/amd64/amd64/pmap.c?annotate=259065#l370
>


Yes, I looked at the code with Xin Li,
and Xin showed me that the default behavior of the code is
to examine the capabilities of the CPU, and if the PCID feature
is available, it then sets vm.pmap.pcid_enabled=1.

So my next question is:  where is the bug?

If it:
  -> bug in code implementatino of pcid?
  -> bug in FreeBSD VM?
  -> bug in microcode of CPU?

For now I can work around this by turning the feature off,
but it would be nice to fix this, since a lot of effort has been done to
improve performance.
--
Craig