java调用dll出现如下问题,求高手指教!

xiaomu2013 发布于 2014/05/30 10:37
阅读 471
收藏 0
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7795ff4c, pid=7348, tid=4852
#
# JRE version: 6.0_21-b06
# Java VM: Java HotSpot(TM) Client VM (17.0-b16 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [ntdll.dll+0x3ff4c]
#
# 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.

#

Stack: [0x00430000,0x00480000],  sp=0x0046f618,  free space=fd0046ef64k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [ntdll.dll+0x3ff4c]
C  [ntdll.dll+0x3f584]
C  [MSVCR90.dll+0x668fe]
C  [MSVCR90.dll+0x63c5a]
C  [cusdk.dll+0x35e90]
C  [cusdk.dll+0x3474b]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.xvolks.jnative.JNative.nInvoke(I)V+0
j  org.xvolks.jnative.JNative.invoke()V+9
j  com.zdhs.dll.TestJNI.jcuNetInit()Ljava/lang/String;+72
j  com.zdhs.dll.TestJNI.main([Ljava/lang/String;)V+11
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x01d5f800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=7976, stack(0x04480000,0x044d0000)]
  0x01d57c00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=6940, stack(0x043f0000,0x04440000)]
  0x01d56400 JavaThread "Attach Listener" daemon [_thread_blocked, id=7004, stack(0x04360000,0x043b0000)]
  0x01d55400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=8152, stack(0x042d0000,0x04320000)]
  0x01d11400 JavaThread "Finalizer" daemon [_thread_blocked, id=4476, stack(0x04240000,0x04290000)]
  0x01d10000 JavaThread "Reference Handler" daemon [_thread_blocked, id=5928, stack(0x041b0000,0x04200000)]
=>0x005a9000 JavaThread "main" [_thread_in_native, id=4852, stack(0x00430000,0x00480000)]

Other Threads:
  0x01d0ec00 VMThread [stack: 0x04120000,0x04170000] [id=412]
  0x01d6a800 WatcherThread [stack: 0x04510000,0x04560000] [id=7396]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None


加载中
0
xiaomu2013
xiaomu2013

换了个jdk1.7,还是报错,不过报

# JRE version: 7.0_25-b17
# Java VM: Java HotSpot(TM) Client VM (23.25-b01 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [MSVCR90.dll+0x3bc44]  strncpy+0xb4

0
CloudArchitect
CloudArchitect
是不是32bit和64bit的兼容性问题?
xiaomu2013
xiaomu2013
32位和64为都试过了
返回顶部
顶部