Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 2013 14:59:31 +0200
From:      "Ronald Klop" <ronald-freebsd8@klop.yi.org>
To:        "Sevan / Venture37" <venture37@gmail.com>
Cc:        java@freebsd.org
Subject:   Re: [Call For Help] Clang + OpenJDK + head + amd64 == cocktail of death (for clusters)
Message-ID:  <op.w0r3phye8527sy@ronaldradial.versatec.local>
In-Reply-To: <51F11D3E.9090602@gmail.com>
References:  <20130725083917.GH41432@ithaqua.etoilebsd.net> <51F0EC1E.90100@samersoff.net> <20130725094159.GA61207@ithaqua.etoilebsd.net> <51F106F6.7050700@gmail.com> <op.w0r1wdfh8527sy@ronaldradial.versatec.local> <51F11D3E.9090602@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Jul 2013 14:42:38 +0200, Sevan / Venture37  
<venture37@gmail.com> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.w0r3phye8527sy>