From owner-freebsd-java@FreeBSD.ORG Sat Feb 8 21:53:40 2014 Return-Path: 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 77A01A5C; Sat, 8 Feb 2014 21:53:40 +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 6610B1293; Sat, 8 Feb 2014 21:53:39 +0000 (UTC) Received: by mail-la0-f50.google.com with SMTP id ec20so3787114lab.9 for ; Sat, 08 Feb 2014 13:53:37 -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=8KV6SF85dAEBedi/E9+IIlbypvSg40hKBv/eFD2PH2E=; b=AOhUq4rE7uruw3tb3YHEi9+PRkTzvYwGD3N/o+3XAPjHnMLLj68fGw9brCqSfxFGjw fetTepE70RRIQu8yO625DKEIpIIm4PT7szXAWJgDwjXqJkyT7PFw7QCNRTMcPWEpWrCr zBgbKFq9OLBs+y1YNmpiY2FzabKEbg93zP/BruLgCDaV030SBAdX6DSL+KDhbP4iMs1e SWZP4fScVakCjBlXw/3Q45nkH0sLTAgZ90Pz7dN2swpWmoFo5wAxHpjEJ3vqI1nD6UA1 CtMv+iuPwzXMxeV3yYZRPIw1KOOGOIvl6hg2o8xLl92/UnVpJYgKYl4VljrHJgctFtAF qJDQ== MIME-Version: 1.0 X-Received: by 10.112.99.74 with SMTP id eo10mr14688363lbb.15.1391896417356; Sat, 08 Feb 2014 13:53:37 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.30.211 with HTTP; Sat, 8 Feb 2014 13:53:37 -0800 (PST) In-Reply-To: <20140208082903.GA4621@FreeBSD.cs.nctu.edu.tw> References: <20140208012716.GA12873@mouf.net> <20140208082903.GA4621@FreeBSD.cs.nctu.edu.tw> Date: Sat, 8 Feb 2014 13:53:37 -0800 X-Google-Sender-Auth: 5tVgAgLqXYlGJczDlEox86DFipE Message-ID: Subject: Re: Java VM crashing when running Jenkins? From: Craig Rodrigues To: Li-Wen Hsu Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: Steven Kreuzer , Steve Wills , 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 21:53:40 -0000 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