4 messages in net.java.dev.jna.usersRe: [jna-users] 0x0000000000000000 crash
FromSent OnAttachments
Stas OskinSep 17, 2008 4:26 am 
Timothy WallSep 17, 2008 6:10 am 
Stas OskinSep 18, 2008 9:38 am 
Timothy WallSep 18, 2008 9:57 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-users] 0x0000000000000000 crashActions...
From:Stas Oskin (stas@gmail.com)
Date:Sep 18, 2008 9:38:59 am
List:net.java.dev.jna.users

Hi.

It's not hard to cause a VM crash within a JNA function invocation. Try running in pure interpreted mode (-Xint) to get a better stack trace.

Tried this, no luck.

What is the function being invoked? What's the native declaration, and what's your Java mapping?

That's the point - I don't know, it just crashes. I also tried to core dump the native lib and got it, but received mangled function names (even that I compiled the lib with debug symbols).

Any idea if it's possible to show Java functions in GDB, rather then 0x000000000000's?

I'm using jstack additionally to print the names, but: 1) I'm not sure it's same stuck at the moment of crash - anybody can tell about this? 2) It impossible to make backtrace.

Can anyone suggest a gdb option, allow to see the full trace with java and c++ names?

Regards.