From owner-freebsd-java@FreeBSD.ORG Sat Feb 8 22:27:32 2014 Return-Path: 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 46D0D646; Sat, 8 Feb 2014 22:27:32 +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 D879114C3; Sat, 8 Feb 2014 22:27:31 +0000 (UTC) Received: from mouf.net (swills@mouf [199.48.129.64]) by mouf.net (8.14.5/8.14.5) with ESMTP id s18MRL2U050564 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 8 Feb 2014 22:27:26 GMT (envelope-from swills@mouf.net) Received: (from swills@localhost) by mouf.net (8.14.5/8.14.5/Submit) id s18MRLIA050563; Sat, 8 Feb 2014 22:27:21 GMT (envelope-from swills) Date: Sat, 8 Feb 2014 22:27:21 +0000 From: Steve Wills To: Craig Rodrigues Subject: Re: Java VM crashing when running Jenkins? Message-ID: <20140208222720.GA50395@mouf.net> References: <20140208012716.GA12873@mouf.net> <20140208082903.GA4621@FreeBSD.cs.nctu.edu.tw> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (mouf.net [199.48.129.64]); Sat, 08 Feb 2014 22:27:26 +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.97.8 at mouf.net X-Virus-Status: Clean Cc: Steven Kreuzer , Li-Wen Hsu , freebsd-java@freebsd.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Feb 2014 22:27:32 -0000 Odd, that same version works fine for me, but on 11-CURRENT r260369. I do have the patch for PR ports/173603 applies, but that shouldn't make any difference. Perhaps your jdk was built for a slightly different kernel/world than you are running? Steve On Sat, Feb 08, 2014 at 01:53:37PM -0800, Craig Rodrigues wrote: > Hi, > > On advice from Li-Wen, I updated my box to FreeBSD 10.0-RELEASE. > On advice from Steve Wills, I switched to OpenJDK 7. > > So now I have this: > > # uname -a > FreeBSD 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 > > jenkins-1.549 Open-source continuous integration server > openjdk-7.25.15_2,1 Java Development Kit 7 > > > This is some info from /var/run/dmesg.boot: > > real memory = 5368709120 (5120 MB) > avail memory = 4103163904 (3913 MB) > Event timer "LAPIC" quality 400 > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs > FreeBSD/SMP: 16 package(s) x 1 core(s) > > > Note: I am running Jenkins inside a BHyve VM. > > The java binary still crashed when I tried to run Jenkins. > > # gdb /usr/local/openjdk7/bin/java java.core > (gdb) where > #0 0x0000000800a49f48 in sigaction () from /lib/libthr.so.3 > #1 > #2 0x0000000800a4f654 in pthread_testcancel () from /lib/libthr.so.3 > #3 0x0000000800a4734d in close () from /lib/libthr.so.3 > #4 0x0000000803418587 in Java_java_lang_UNIXProcess_forkAndExec () > from /usr/local/openjdk7/jre/lib/amd64/libjava.so > #5 0x0000000803840fb0 in ?? () > #6 0x0000000800000000 in ?? () > #7 0x0000000000000000 in ?? () > > > Any ideas? Should I switch back to openjdk6? > > -- > Craig > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"