[Call For Help] Clang + OpenJDK + head + amd64 == cocktail of death (for clusters)
Ronald Klop
ronald-freebsd8 at klop.yi.org
Thu Jul 25 12:59:38 UTC 2013
On Thu, 25 Jul 2013 14:42:38 +0200, Sevan / Venture37
<venture37 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
More information about the freebsd-java
mailing list