It'll probably be helpful also to see the stack trace from the java.core
file.

something like:

gdb $JAVA_HOME/bin/java java.core

(where $JAVA_HOME is something like /usr/local/jdk1.5 or
/usr/local/diablo-jdk15 or the like... do not use /usr/local/bin/java here,
but the actual java binary. Better still if you have bin/java_g available
to use that instead so the symbols resolve.)

and then:

(gdb) bt
(gdb) thread apply all bt

It'll also be helpful to know which version of FreeBSD (uname -a) and which
version of java (java -version)

(At first glance it looks like something went wrong in the native java.nio
implementation.)

--
"Courage isn't just a matter of not being frightened, you know. It's being
afraid and doing what you have to do anyway."
-- Doctor Who - Planet of the Daleks
This message has been brought to you by Nick Johnson 2.3b1 and the number 6.
[url]http://healerNick.com/[/url] [url]http://morons.org/[/url] [url]http://spatula.net/[/url]
_______________________________________________
[email]freebsd-java@freebsd.org[/email] mailing list
[url]http://lists.freebsd.org/mailman/listinfo/freebsd-java[/url]
To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"

09-25-2008, 05:25 AM

unix

building java_g (was: bug report)

Dear Nick,

I tried to build java_g, but I cannot find the switch to do so. The
debug flag in JDK 1.6's make config does not do this. Any idea how I
can build java_g?

Kees Jan

On Sep 24, 2008, at 18:27, Nicklas Johnson wrote:
[color=blue]
> It'll probably be helpful also to see the stack trace from the
> java.core
> file.
>
> something like:
>
> gdb $JAVA_HOME/bin/java java.core
>
> (where $JAVA_HOME is something like /usr/local/jdk1.5 or
> /usr/local/diablo-jdk15 or the like... do not use /usr/local/bin/
> java here,
> but the actual java binary. Better still if you have bin/java_g
> available
> to use that instead so the symbols resolve.)
>
> and then:
>
> (gdb) bt
> (gdb) thread apply all bt
>
> It'll also be helpful to know which version of FreeBSD (uname -a)
> and which
> version of java (java -version)
>
> (At first glance it looks like something went wrong in the native
> java.nio
> implementation.)
>
> Nick
>
> 2008/9/24 Ash2k <Ash2k@yandex.ru>
>[color=green]
>> _______________________________________________
>> [email]freebsd-java@freebsd.org[/email] mailing list
>> [url]http://lists.freebsd.org/mailman/listinfo/freebsd-java[/url]
>> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org
>> "[/color]
>
>
>
>
> --
> "Courage isn't just a matter of not being frightened, you know. It's
> being
> afraid and doing what you have to do anyway."
> -- Doctor Who - Planet of the Daleks
> This message has been brought to you by Nick Johnson 2.3b1 and the
> number 6.
> [url]http://healerNick.com/[/url] [url]http://morons.org/[/url] [url]http://spatula.net/[/url]
> _______________________________________________
> [email]freebsd-java@freebsd.org[/email] mailing list
> [url]http://lists.freebsd.org/mailman/listinfo/freebsd-java[/url]
> To unsubscribe, send any mail to "freebsd-java-
> [email]unsubscribe@freebsd.org[/email]"
>[/color]