From owner-freebsd-java@FreeBSD.ORG Thu Jul 25 12:59:38 2013 Return-Path: Delivered-To: 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 ESMTP id A6E75178 for ; Thu, 25 Jul 2013 12:59:38 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 688E0278A for ; Thu, 25 Jul 2013 12:59:38 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1V2L8p-0008Rq-H4; Thu, 25 Jul 2013 14:59:35 +0200 Received: from [81.21.138.17] (helo=ronaldradial.versatec.local) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1V2L8p-0004kZ-TY; Thu, 25 Jul 2013 14:59:35 +0200 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: "Sevan / Venture37" Subject: Re: [Call For Help] Clang + OpenJDK + head + amd64 == cocktail of death (for clusters) References: <20130725083917.GH41432@ithaqua.etoilebsd.net> <51F0EC1E.90100@samersoff.net> <20130725094159.GA61207@ithaqua.etoilebsd.net> <51F106F6.7050700@gmail.com> <51F11D3E.9090602@gmail.com> Date: Thu, 25 Jul 2013 14:59:31 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: <51F11D3E.9090602@gmail.com> User-Agent: Opera Mail/12.16 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.0 X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.1 X-Scan-Signature: 3ced5df4177ef3a93a84b902ce7c160e Cc: java@freebsd.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jul 2013 12:59:38 -0000 On Thu, 25 Jul 2013 14:42:38 +0200, Sevan / Venture37 wrote: > On 25/07/2013 16:20, Ronald Klop wrote: >> >> It ends with this: >> gmake[2]: *** [build] Segmentation fault (core dumped) >> >> So grab the core dump. Feed it to the debugger and see what is wrong. >> >> Ronald. > > Not much, unless I'm using gdb wrong? This might work better. gdb /usr/ports/java/openjdk6/work/langtools/make/java.core /usr/local/openjdk6/bin/java It might be necessary to build java with DEBUG=true. Or at least FASTDEBUG=true. See 'make config' in /usr/ports/java/openjdk6. BTW: I'm not sure, but I think your existing installation of openjdk6 dumps core. This is important to know to debug the right program. Regards, Ronald. > > Core file is 6GB > > /usr/ports/java/openjdk6/work/langtools/make/java.core: ELF 64-bit LSB > core file x86-64, version 1 (FreeBSD), FreeBSD-style, from 'java' > > > /usr/ports/java/openjdk6/work/langtools/make> gdb > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "amd64-marcel-freebsd". > (gdb) core java.core > Core was generated by `java'. > Program terminated with signal 11, Segmentation fault. > #0 0x0000000801e302f5 in ?? () > (gdb) bt > #0 0x0000000801e302f5 in ?? () > #1 0x0000000800fbd801 in ?? () > #2 0x000000018efb4700 in ?? () > #3 0x0000000000000078 in ?? () > #4 0x0000000a03006138 in ?? () > #5 0x0000000000000000 in ?? () > (gdb) quit > _______________________________________________ > 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"