Exception Access Violation
Posted: Sat Dec 04, 2010 7:48 pm
Hi,
I've just downloaded a trial version of your Enigma 32-bit and 64 bit version and tried them with my product.
My product crashes immediately after applying the Enigma protection mechanisms on my DLL file. The DLL file is C-compiled and dynamically linked into a JVM process i.e. I'm trying to load and access a the protected DLL from a Java class via JNI.
I get the following errors:
On x86:
java.lang.UnsatisfiedLinkError: C:\misc\test\jnitest.dll: Invalid access to memory location
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at TestJNI.main(TestJNI.java:20)
On x64:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000018009e330, pid=7752, tid=8008
#
# JRE version: 6.0_21-b06
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed mode windows-amd64 )
# Problematic frame:
#
[error occurred during error reporting (printing problematic frame), id 0xc0000005]
# An error report file with more information is saved as:
# C:\misc\test\hs_err_pid7752.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
[error occurred during error reporting , id 0xc0000005]
Have you tested the Enigma product with DLLs that are linked to a Java Virtual Machine?
Is there any way to find out the reason to the problem i.e. are there any diagnostic/debugging facilities available in Enigma?
Hope to get help from you soon.
Thanks,
Inferato
I've just downloaded a trial version of your Enigma 32-bit and 64 bit version and tried them with my product.
My product crashes immediately after applying the Enigma protection mechanisms on my DLL file. The DLL file is C-compiled and dynamically linked into a JVM process i.e. I'm trying to load and access a the protected DLL from a Java class via JNI.
I get the following errors:
On x86:
java.lang.UnsatisfiedLinkError: C:\misc\test\jnitest.dll: Invalid access to memory location
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at TestJNI.main(TestJNI.java:20)
On x64:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000018009e330, pid=7752, tid=8008
#
# JRE version: 6.0_21-b06
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed mode windows-amd64 )
# Problematic frame:
#
[error occurred during error reporting (printing problematic frame), id 0xc0000005]
# An error report file with more information is saved as:
# C:\misc\test\hs_err_pid7752.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
[error occurred during error reporting , id 0xc0000005]
Have you tested the Enigma product with DLLs that are linked to a Java Virtual Machine?
Is there any way to find out the reason to the problem i.e. are there any diagnostic/debugging facilities available in Enigma?
Hope to get help from you soon.
Thanks,
Inferato