9 messages in net.java.dev.jna.usersRe: [jna-users] jna segfaults on wind...
FromSent OnAttachments
Nick EvgenievJan 31, 2008 12:03 pm 
Timothy WallJan 31, 2008 1:18 pm 
Nick EvgenievFeb 1, 2008 6:29 am 
Timothy WallFeb 1, 2008 6:34 am 
Nick EvgenievFeb 1, 2008 7:07 am 
Timothy WallFeb 1, 2008 7:47 am 
Nick EvgenievFeb 4, 2008 8:14 am 
Timothy WallFeb 4, 2008 8:23 am 
Nick EvgenievFeb 4, 2008 8:37 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] jna segfaults on windows 2003 serverActions...
From:Nick Evgeniev (nevg@gmail.com)
Date:Feb 4, 2008 8:37:34 am
List:net.java.dev.jna.users

Hi,

On Feb 4, 2008 7:23 PM, Timothy Wall <twal@dev.java.net> wrote:

I've tried to upgrade to latest jna version, but had to rollback because of the following issue - when I run dll unit tests under new jna I got the following dialog box:

--------------------------- Microsoft Visual C++ Runtime Library

--------------------------- Buffer overrun detected!

Program: C:\java\jdk1.5\jre\bin\java.exe

A buffer overrun has been detected which has corrupted the program's internal state. The program cannot safely continue execution and must now be terminated.

Can you determine which unit test is causing the failure? Which windows version? The VMCrashProtection test intentionally causes an illegal access; try running it independently to see if it's the one causing the fault.

I'm sorry I didn't state it clearly -- it's mine unit test not jna one. The system is windows xp sp2. All I can say is that callbacks are involved. If it helps I can send you dlls + couple of java classes to reproduce bug on your system.