From owner-freebsd-java@FreeBSD.ORG Thu Jul 25 13:01:12 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 72C4C1D6 for ; Thu, 25 Jul 2013 13:01:12 +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 3325827A6 for ; Thu, 25 Jul 2013 13:01:12 +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 1V2LAL-0000HH-Kk; Thu, 25 Jul 2013 15:01:09 +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 1V2LAM-0004rB-0m; Thu, 25 Jul 2013 15:01:10 +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 15:01:05 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: 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_40 autolearn=disabled version=3.3.1 X-Scan-Signature: be1ed956250a6aced2eef8025a824392 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 13:01:12 -0000 On Thu, 25 Jul 2013 14:59:31 +0200, Ronald Klop wrote: > 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 Grrr. The other way around. gdb [options] [executable-file [core-file or process-id]] Regards, Ronald. > > 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" > _______________________________________________ > 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"