5 messages in net.java.dev.jna.usersRe: [jna-users] VM crash Java code stuck
FromSent OnAttachments
Stas OskinAug 20, 2008 7:18 am 
Timothy WallAug 20, 2008 7:36 am 
Stas OskinAug 20, 2008 8:12 am 
Timothy WallAug 20, 2008 8:43 am 
Stas OskinAug 25, 2008 1:35 pm 
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] VM crash Java code stuckActions...
From:Timothy Wall (twal@dev.java.net)
Date:Aug 20, 2008 7:36:34 am
List:net.java.dev.jna.users

If you set the system property "jna.protected=true", you should get a thrown Error instead of a VM crash.

That's only if the crash occurs within a JNA call; if the crash is independent of JNA, you'll need to attach a debugger to the process.

On Aug 20, 2008, at 10:18 AM, Stas Oskin wrote:

Hi.

Every time my app crashes in the native code, I spent a lot of time using debug printing to find the source of the crashes.

If I'd knew the calling Java function where the crash has occurred, it would be much simpler. Any idea how it's possible to print the full Java stuck before the VM crash?