在 Eclipse 中运行的 Java 程序导致 EXCEPTION_ACCESS_VIOLATION (0xc0000005)
Posted
技术标签:
【中文标题】在 Eclipse 中运行的 Java 程序导致 EXCEPTION_ACCESS_VIOLATION (0xc0000005)【英文标题】:Java program runnin in Eclipse causes EXCEPTION_ACCESS_VIOLATION (0xc0000005) 【发布时间】:2013-07-23 21:29:07 【问题描述】:我在 Eclipse 中运行的 Java 应用程序遇到问题。 在执行期间的任意时间,应用程序崩溃并出现以下错误并转储。
一些可能有帮助的进一步信息:
在我遇到项目设置问题(必须更正的错误 JVM 路径)后,错误开始出现 更新到最新 Java 版本后仍会出现错误 应用程序使用 JNA 加载和使用 LibNoDave 导致崩溃的线程并不总是相同的(这里是ManagerRBG3
);然而,有趣的是 - 假设这是 JNA 的问题 - 导致崩溃的线程绝不是直接使用 libnodave.dll
的线程,而是通过使用 LibNoDave 处理所有通信的单独线程
我尝试搜索 SO,但出现的唯一结果与 jvm.dll
是有问题的框架有关。这是ntdll.dll
。
关于可能导致此问题的任何点击或想法?还是我从一个完全错误的角度看待这个问题?
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x774fe3be, pid=4340, tid=2328
#
# JRE version: 7.0_13-b20
# Java VM: Java HotSpot(TM) Client VM (23.7-b01 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [ntdll.dll+0x2e3be] RtlInitUnicodeString+0x196
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x0580cc00): JavaThread "ManagerRBG3" [_thread_blocked, id=2328, stack(0x09160000,0x091b0000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x4f029ddd
Registers:
EAX=0x00000000, EBX=0x05a9cc78, ECX=0x002d0000, EDX=0x05a9cc78
ESP=0x091af140, EBP=0x091af174, ESI=0x4f029dd9, EDI=0x05a9cc70
EIP=0x774fe3be, EFLAGS=0x00010202
Top of Stack: (sp=0x091af140)
0x091af140: 00000000 002d0000 05a9cc78 091af0f8
0x091af150: 091af16c 00000000 00000064 00000000
0x091af160: 056de610 05a9cc78 00000000 000005b8
0x091af170: 05a9cc70 091af18c 774fe023 056de610
0x091af180: 05a9cc78 fffffffd 05a9cc70 091af1a0
0x091af190: 753514dd 002d0000 00000000 05a9cc78
0x091af1a0: 091af1b4 71a6016a 002d0000 00000000
0x091af1b0: 05a9cc78 091af1dc 6dfdea6c 05a9cc78
Instructions: (pc=0x774fe3be)
0x774fe39e: 7a f8 80 7f 07 05 0f 84 5b 4b 06 00 8b 07 8b f7
0x774fe3ae: c1 ee 03 33 f0 33 35 a4 00 5d 77 89 7d fc 33 f1
0x774fe3be: 8b 46 04 89 45 f4 c6 47 07 80 c6 47 06 00 8b 5e
0x774fe3ce: 08 8b 4e 0c 89 5d e0 83 c3 01 89 4d e4 83 d1 01
Register to memory mapping:
EAX=0x00000000 is an unknown value
EBX=0x05a9cc78 is an unknown value
ECX=0x002d0000 is an unknown value
EDX=0x05a9cc78 is an unknown value
ESP=0x091af140 is pointing into the stack for thread: 0x0580cc00
EBP=0x091af174 is pointing into the stack for thread: 0x0580cc00
ESI=0x4f029dd9 is an unknown value
EDI=0x05a9cc70 is an unknown value
Stack: [0x09160000,0x091b0000], sp=0x091af140, free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [ntdll.dll+0x2e3be] RtlInitUnicodeString+0x196
C [ntdll.dll+0x2e023] RtlFreeHeap+0x7e
C [kernel32.dll+0x114dd] HeapFree+0x14
C [msvcr100.dll+0x1016a] free+0x1c
V [jvm.dll+0x17ea6c]
V [jvm.dll+0xd37d1]
J java.lang.Thread.sleep(J)V
J ch.dev.mfr.main.ManagerRBG.run()V
V [jvm.dll+0x12a34a]
V [jvm.dll+0x1d968e]
V [jvm.dll+0x12a533]
V [jvm.dll+0x12a597]
V [jvm.dll+0xd306f]
V [jvm.dll+0x14a647]
V [jvm.dll+0x14a7b0]
V [jvm.dll+0x17ee89]
C [msvcr100.dll+0x5c6de] endthreadex+0x3a
C [msvcr100.dll+0x5c788] endthreadex+0xe4
C [kernel32.dll+0x133aa] BaseThreadInitThunk+0x12
C [ntdll.dll+0x39ef2] RtlInitializeExceptionChain+0x63
C [ntdll.dll+0x39ec5] RtlInitializeExceptionChain+0x36
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J java.lang.Thread.sleep(J)V
J ch.dev.mfr.main.ManagerRBG.run()V
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x057f0400 JavaThread "Bwg_FA.82_FA.83" [_thread_blocked, id=844, stack(0x0a6c0000,0x0a710000)]
0x057e6800 JavaThread "Bwg_FA.88_FA.89" [_thread_blocked, id=4736, stack(0x0a0f0000,0x0a140000)]
0x057e5400 JavaThread "Bwg_FA.1_FA.2" [_thread_blocked, id=4432, stack(0x0a620000,0x0a670000)]
0x057e5000 JavaThread "Bwg_FA.3_FA.4" [_thread_blocked, id=4316, stack(0x0a5c0000,0x0a610000)]
0x057e5c00 JavaThread "Bwg_FA.33_FA.34" [_thread_blocked, id=4604, stack(0x09760000,0x097b0000)]
0x057e6000 JavaThread "Bwg_FA.29_FA.30" [_thread_blocked, id=4696, stack(0x08df0000,0x08e40000)]
0x0a056c00 JavaThread "Bwg_FA.45_HR.4_1" [_thread_blocked, id=1140, stack(0x096e0000,0x09730000)]
0x0584a400 JavaThread "Bwg_FA.89_HR.5_1" [_thread_blocked, id=4156, stack(0x0a3d0000,0x0a420000)]
0x0a053c00 JavaThread "Bwg_HR.1_FA.102_1" [_thread_blocked, id=4864, stack(0x0a280000,0x0a2d0000)]
0x05863c00 JavaThread "Bwg_FA.101_HR.1_1" [_thread_blocked, id=3440, stack(0x09630000,0x09680000)]
0x05810000 JavaThread "DestroyJavaVM" [_thread_blocked, id=4332, stack(0x00ce0000,0x00d30000)]
0x0580f800 JavaThread "Profil_Lampen_Fred" [_thread_blocked, id=4892, stack(0x07320000,0x07370000)]
0x0580f400 JavaThread "MfrHeartbeat" [_thread_blocked, id=1020, stack(0x055b0000,0x05600000)]
0x0580ec00 JavaThread "CheckSqlConnection" [_thread_blocked, id=5020, stack(0x09500000,0x09550000)]
0x0580e800 JavaThread "MFR" [_thread_blocked, id=3744, stack(0x09560000,0x095b0000)]
0x0580e000 JavaThread "Coss" [_thread_blocked, id=2016, stack(0x09460000,0x094b0000)]
0x0580d800 JavaThread "OPCServer" [_thread_in_native, id=2028, stack(0x09320000,0x09370000)]
=>0x0580cc00 JavaThread "ManagerRBG3" [_thread_blocked, id=2328, stack(0x09160000,0x091b0000)]
0x0580c800 JavaThread "ManagerRBG2" [_thread_blocked, id=2032, stack(0x052e0000,0x05330000)]
0x05773800 JavaThread "ManagerRBG1" [_thread_blocked, id=316, stack(0x08f50000,0x08fa0000)]
0x05703400 JavaThread "ManagerAZ" [_thread_blocked, id=4296, stack(0x08fd0000,0x09020000)]
0x05702c00 JavaThread "ManagerVW" [_thread_blocked, id=4344, stack(0x08e60000,0x08eb0000)]
0x0570c400 JavaThread "ConfigUpdater" [_thread_blocked, id=1872, stack(0x08d00000,0x08d50000)]
0x05724000 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=2320, stack(0x08ca0000,0x08cf0000)]
0x05729000 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=3296, stack(0x07ea0000,0x07ef0000)]
0x0577ac00 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3380, stack(0x05600000,0x05650000)]
0x0571d000 JavaThread "AWT-Shutdown" [_thread_blocked, id=772, stack(0x05ac0000,0x05b10000)]
0x056b1000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2024, stack(0x05560000,0x055b0000)]
0x04ac6400 JavaThread "Abandoned connection cleanup thread" daemon [_thread_blocked, id=3896, stack(0x04ff0000,0x05040000)]
0x004df400 JavaThread "Service Thread" daemon [_thread_blocked, id=3680, stack(0x04840000,0x04890000)]
0x004c8000 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=4580, stack(0x01240000,0x01290000)]
0x004c6c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=4588, stack(0x01290000,0x012e0000)]
0x004c3c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4084, stack(0x04760000,0x047b0000)]
0x004ae000 JavaThread "Finalizer" daemon [_thread_blocked, id=4568, stack(0x01110000,0x01160000)]
0x004ac800 JavaThread "Reference Handler" daemon [_thread_blocked, id=5068, stack(0x01160000,0x011b0000)]
Other Threads:
0x004ab000 VMThread [stack: 0x01090000,0x010e0000] [id=4328]
0x0491b400 WatcherThread [stack: 0x04cb0000,0x04d00000] [id=5060]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 157248K, used 40619K [0x14420000, 0x1eec0000, 0x1eec0000)
eden space 139776K, 28% used [0x14420000, 0x16ba1c28, 0x1cca0000)
from space 17472K, 0% used [0x1ddb0000, 0x1ddd9288, 0x1eec0000)
to space 17472K, 0% used [0x1cca0000, 0x1cca0000, 0x1ddb0000)
tenured generation total 349568K, used 4415K [0x1eec0000, 0x34420000, 0x34420000)
the space 349568K, 1% used [0x1eec0000, 0x1f30fcd8, 0x1f30fe00, 0x34420000)
compacting perm gen total 12288K, used 5597K [0x34420000, 0x35020000, 0x38420000)
the space 12288K, 45% used [0x34420000, 0x34997708, 0x34997800, 0x35020000)
ro space 10240K, 42% used [0x38420000, 0x38861958, 0x38861a00, 0x38e20000)
rw space 12288K, 54% used [0x38e20000, 0x394a25f0, 0x394a2600, 0x39a20000)
Card table byte_map: [0x00db0000,0x00ee0000] byte_map_base: 0x00d0df00
Polling page: 0x00190000
Code Cache [0x02750000, 0x02e68000, 0x04750000)
total_blobs=2591 nmethods=2350 adapters=174 free_code_cache=25512Kb largest_free_block=26123840
Compilation events (10 events):
Event: 36900.921 Thread 0x004c8000 2348 ! sun.net.spi.DefaultProxySelector$2::run (637 bytes)
Event: 36900.925 Thread 0x004c8000 nmethod 2348 0x02e5f8c8 code [0x02e5fd50, 0x02e614a4]
Event: 37807.245 Thread 0x004c8000 2349 ! com.mysql.jdbc.StatementImpl::isClosed (41 bytes)
Event: 37807.246 Thread 0x004c8000 nmethod 2349 0x02e64648 code [0x02e64780, 0x02e64a64]
Event: 37817.334 Thread 0x004c8000 2350 sun.util.PreHashedMap::get (73 bytes)
Event: 37817.334 Thread 0x004c8000 nmethod 2350 0x02e64c88 code [0x02e64dc0, 0x02e64fb8]
Event: 37838.539 Thread 0x004c8000 2351 ! sun.net.util.IPAddressUtil::textToNumericFormatV4 (402 bytes)
Event: 37838.540 Thread 0x004c8000 nmethod 2351 0x02e651c8 code [0x02e65350, 0x02e65a14]
Event: 37855.451 Thread 0x004c8000 2352 java.lang.ClassLoader::getCallerClassLoader (16 bytes)
Event: 37855.451 Thread 0x004c8000 nmethod 2352 0x02e65f48 code [0x02e66050, 0x02e66108]
GC Heap History (10 events):
Event: 39989.637 GC heap before
Heap before GC invocations=7930 (full 0):
def new generation total 157248K, used 139921K [0x14420000, 0x1eec0000, 0x1eec0000)
eden space 139776K, 100% used [0x14420000, 0x1cca0000, 0x1cca0000)
from space 17472K, 0% used [0x1cca0000, 0x1ccc4548, 0x1ddb0000)
to space 17472K, 0% used [0x1ddb0000, 0x1ddb0000, 0x1eec0000)
tenured generation total 349568K, used 4413K [0x1eec0000, 0x34420000, 0x34420000)
the space 349568K, 1% used [0x1eec0000, 0x1f30f410, 0x1f30f600, 0x34420000)
compacting perm gen total 12288K, used 5597K [0x34420000, 0x35020000, 0x38420000)
the space 12288K, 45% used [0x34420000, 0x349976d8, 0x34997800, 0x35020000)
ro space 10240K, 42% used [0x38420000, 0x38861958, 0x38861a00, 0x38e20000)
rw space 12288K, 54% used [0x38e20000, 0x394a25f0, 0x394a2600, 0x39a20000)
Event: 39989.640 GC heap after
Heap after GC invocations=7931 (full 0):
def new generation total 157248K, used 166K [0x14420000, 0x1eec0000, 0x1eec0000)
eden space 139776K, 0% used [0x14420000, 0x14420000, 0x1cca0000)
from space 17472K, 0% used [0x1ddb0000, 0x1ddd9938, 0x1eec0000)
to space 17472K, 0% used [0x1cca0000, 0x1cca0000, 0x1ddb0000)
tenured generation total 349568K, used 4413K [0x1eec0000, 0x34420000, 0x34420000)
the space 349568K, 1% used [0x1eec0000, 0x1f30f410, 0x1f30f600, 0x34420000)
compacting perm gen total 12288K, used 5597K [0x34420000, 0x35020000, 0x38420000)
the space 12288K, 45% used [0x34420000, 0x349976d8, 0x34997800, 0x35020000)
ro space 10240K, 42% used [0x38420000, 0x38861958, 0x38861a00, 0x38e20000)
rw space 12288K, 54% used [0x38e20000, 0x394a25f0, 0x394a2600, 0x39a20000)
Event: 39993.603 GC heap before
Heap before GC invocations=7931 (full 0):
def new generation total 157248K, used 139942K [0x14420000, 0x1eec0000, 0x1eec0000)
eden space 139776K, 100% used [0x14420000, 0x1cca0000, 0x1cca0000)
from space 17472K, 0% used [0x1ddb0000, 0x1ddd9938, 0x1eec0000)
to space 17472K, 0% used [0x1cca0000, 0x1cca0000, 0x1ddb0000)
tenured generation total 349568K, used 4413K [0x1eec0000, 0x34420000, 0x34420000)
the space 349568K, 1% used [0x1eec0000, 0x1f30f410, 0x1f30f600, 0x34420000)
compacting perm gen total 12288K, used 5597K [0x34420000, 0x35020000, 0x38420000)
the space 12288K, 45% used [0x34420000, 0x349976d8, 0x34997800, 0x35020000)
ro space 10240K, 42% used [0x38420000, 0x38861958, 0x38861a00, 0x38e20000)
rw space 12288K, 54% used [0x38e20000, 0x394a25f0, 0x394a2600, 0x39a20000)
Event: 39993.606 GC heap after
Heap after GC invocations=7932 (full 0):
def new generation total 157248K, used 165K [0x14420000, 0x1eec0000, 0x1eec0000)
eden space 139776K, 0% used [0x14420000, 0x14420000, 0x1cca0000)
from space 17472K, 0% used [0x1cca0000, 0x1ccc9658, 0x1ddb0000)
to space 17472K, 0% used [0x1ddb0000, 0x1ddb0000, 0x1eec0000)
tenured generation total 349568K, used 4413K [0x1eec0000, 0x34420000, 0x34420000)
the space 349568K, 1% used [0x1eec0000, 0x1f30f4a8, 0x1f30f600, 0x34420000)
compacting perm gen total 12288K, used 5597K [0x34420000, 0x35020000, 0x38420000)
the space 12288K, 45% used [0x34420000, 0x349976d8, 0x34997800, 0x35020000)
ro space 10240K, 42% used [0x38420000, 0x38861958, 0x38861a00, 0x38e20000)
rw space 12288K, 54% used [0x38e20000, 0x394a25f0, 0x394a2600, 0x39a20000)
Event: 39997.737 GC heap before
Heap before GC invocations=7932 (full 0):
def new generation total 157248K, used 139941K [0x14420000, 0x1eec0000, 0x1eec0000)
eden space 139776K, 100% used [0x14420000, 0x1cca0000, 0x1cca0000)
from space 17472K, 0% used [0x1cca0000, 0x1ccc9658, 0x1ddb0000)
to space 17472K, 0% used [0x1ddb0000, 0x1ddb0000, 0x1eec0000)
tenured generation total 349568K, used 4413K [0x1eec0000, 0x34420000, 0x34420000)
the space 349568K, 1% used [0x1eec0000, 0x1f30f4a8, 0x1f30f600, 0x34420000)
compacting perm gen total 12288K, used 5597K [0x34420000, 0x35020000, 0x38420000)
the space 12288K, 45% used [0x34420000, 0x349976d8, 0x34997800, 0x35020000)
ro space 10240K, 42% used [0x38420000, 0x38861958, 0x38861a00, 0x38e20000)
rw space 12288K, 54% used [0x38e20000, 0x394a25f0, 0x394a2600, 0x39a20000)
Event: 39997.740 GC heap after
Heap after GC invocations=7933 (full 0):
def new generation total 157248K, used 165K [0x14420000, 0x1eec0000, 0x1eec0000)
eden space 139776K, 0% used [0x14420000, 0x14420000, 0x1cca0000)
from space 17472K, 0% used [0x1ddb0000, 0x1ddd9490, 0x1eec0000)
to space 17472K, 0% used [0x1cca0000, 0x1cca0000, 0x1ddb0000)
tenured generation total 349568K, used 4414K [0x1eec0000, 0x34420000, 0x34420000)
the space 349568K, 1% used [0x1eec0000, 0x1f30f9d0, 0x1f30fa00, 0x34420000)
compacting perm gen total 12288K, used 5597K [0x34420000, 0x35020000, 0x38420000)
the space 12288K, 45% used [0x34420000, 0x349976d8, 0x34997800, 0x35020000)
ro space 10240K, 42% used [0x38420000, 0x38861958, 0x38861a00, 0x38e20000)
rw space 12288K, 54% used [0x38e20000, 0x394a25f0, 0x394a2600, 0x39a20000)
Event: 40001.760 GC heap before
Heap before GC invocations=7933 (full 0):
def new generation total 157248K, used 139941K [0x14420000, 0x1eec0000, 0x1eec0000)
eden space 139776K, 100% used [0x14420000, 0x1cca0000, 0x1cca0000)
from space 17472K, 0% used [0x1ddb0000, 0x1ddd9490, 0x1eec0000)
to space 17472K, 0% used [0x1cca0000, 0x1cca0000, 0x1ddb0000)
tenured generation total 349568K, used 4414K [0x1eec0000, 0x34420000, 0x34420000)
the space 349568K, 1% used [0x1eec0000, 0x1f30f9d0, 0x1f30fa00, 0x34420000)
compacting perm gen total 12288K, used 5597K [0x34420000, 0x35020000, 0x38420000)
the space 12288K, 45% used [0x34420000, 0x349976d8, 0x34997800, 0x35020000)
ro space 10240K, 42% used [0x38420000, 0x38861958, 0x38861a00, 0x38e20000)
rw space 12288K, 54% used [0x38e20000, 0x394a25f0, 0x394a2600, 0x39a20000)
Event: 40001.764 GC heap after
Heap after GC invocations=7934 (full 0):
def new generation total 157248K, used 166K [0x14420000, 0x1eec0000, 0x1eec0000)
eden space 139776K, 0% used [0x14420000, 0x14420000, 0x1cca0000)
from space 17472K, 0% used [0x1cca0000, 0x1ccc9be0, 0x1ddb0000)
to space 17472K, 0% used [0x1ddb0000, 0x1ddb0000, 0x1eec0000)
tenured generation total 349568K, used 4414K [0x1eec0000, 0x34420000, 0x34420000)
the space 349568K, 1% used [0x1eec0000, 0x1f30f9d0, 0x1f30fa00, 0x34420000)
compacting perm gen total 12288K, used 5597K [0x34420000, 0x35020000, 0x38420000)
the space 12288K, 45% used [0x34420000, 0x349976d8, 0x34997800, 0x35020000)
ro space 10240K, 42% used [0x38420000, 0x38861958, 0x38861a00, 0x38e20000)
rw space 12288K, 54% used [0x38e20000, 0x394a25f0, 0x394a2600, 0x39a20000)
Event: 40005.714 GC heap before
Heap before GC invocations=7934 (full 0):
def new generation total 157248K, used 139942K [0x14420000, 0x1eec0000, 0x1eec0000)
eden space 139776K, 100% used [0x14420000, 0x1cca0000, 0x1cca0000)
from space 17472K, 0% used [0x1cca0000, 0x1ccc9be0, 0x1ddb0000)
to space 17472K, 0% used [0x1ddb0000, 0x1ddb0000, 0x1eec0000)
tenured generation total 349568K, used 4414K [0x1eec0000, 0x34420000, 0x34420000)
the space 349568K, 1% used [0x1eec0000, 0x1f30f9d0, 0x1f30fa00, 0x34420000)
compacting perm gen total 12288K, used 5597K [0x34420000, 0x35020000, 0x38420000)
the space 12288K, 45% used [0x34420000, 0x34997708, 0x34997800, 0x35020000)
ro space 10240K, 42% used [0x38420000, 0x38861958, 0x38861a00, 0x38e20000)
rw space 12288K, 54% used [0x38e20000, 0x394a25f0, 0x394a2600, 0x39a20000)
Event: 40005.717 GC heap after
Heap after GC invocations=7935 (full 0):
def new generation total 157248K, used 164K [0x14420000, 0x1eec0000, 0x1eec0000)
eden space 139776K, 0% used [0x14420000, 0x14420000, 0x1cca0000)
from space 17472K, 0% used [0x1ddb0000, 0x1ddd9288, 0x1eec0000)
to space 17472K, 0% used [0x1cca0000, 0x1cca0000, 0x1ddb0000)
tenured generation total 349568K, used 4415K [0x1eec0000, 0x34420000, 0x34420000)
the space 349568K, 1% used [0x1eec0000, 0x1f30fcd8, 0x1f30fe00, 0x34420000)
compacting perm gen total 12288K, used 5597K [0x34420000, 0x35020000, 0x38420000)
the space 12288K, 45% used [0x34420000, 0x34997708, 0x34997800, 0x35020000)
ro space 10240K, 42% used [0x38420000, 0x38861958, 0x38861a00, 0x38e20000)
rw space 12288K, 54% used [0x38e20000, 0x394a25f0, 0x394a2600, 0x39a20000)
Deoptimization events (0 events):
No events
Internal exceptions (10 events):
Event: 38802.223 Thread 0x0580e800 Implicit null exception at 0x029a57b1 to 0x029a611a
Event: 38802.223 Thread 0x0580e800 Threw 0x1ae08a48 at C:\jdk7u2_32P\jdk7u13_2932_new\hotspot\src\share\vm\runtime\sharedRuntime.cpp:613
Event: 39053.803 Thread 0x05702c00 Implicit null exception at 0x029a57b1 to 0x029a611a
Event: 39053.803 Thread 0x05702c00 Threw 0x1673af40 at C:\jdk7u2_32P\jdk7u13_2932_new\hotspot\src\share\vm\runtime\sharedRuntime.cpp:613
Event: 39326.152 Thread 0x0580e800 Implicit null exception at 0x029a57b1 to 0x029a611a
Event: 39326.152 Thread 0x0580e800 Threw 0x1ad25b50 at C:\jdk7u2_32P\jdk7u13_2932_new\hotspot\src\share\vm\runtime\sharedRuntime.cpp:613
Event: 39806.367 Thread 0x0580e800 Implicit null exception at 0x029a57b1 to 0x029a611a
Event: 39806.367 Thread 0x0580e800 Threw 0x189ebd20 at C:\jdk7u2_32P\jdk7u13_2932_new\hotspot\src\share\vm\runtime\sharedRuntime.cpp:613
Event: 39950.262 Thread 0x0580e800 Implicit null exception at 0x029a57b1 to 0x029a611a
Event: 39950.262 Thread 0x0580e800 Threw 0x17f3c698 at C:\jdk7u2_32P\jdk7u13_2932_new\hotspot\src\share\vm\runtime\sharedRuntime.cpp:613
Events (10 events):
Event: 40006.838 Thread 0x057f0800 Thread added: 0x057f0800
Event: 40006.840 Thread 0x057f0800 Thread exited: 0x057f0800
Event: 40006.841 Thread 0x057f0800 Thread added: 0x057f0800
Event: 40006.843 Thread 0x057f0800 Thread exited: 0x057f0800
Event: 40006.844 Thread 0x057f0800 Thread added: 0x057f0800
Event: 40006.845 Thread 0x057f0800 Thread exited: 0x057f0800
Event: 40006.846 Thread 0x057f0800 Thread added: 0x057f0800
Event: 40006.847 Thread 0x057f0800 Thread exited: 0x057f0800
Event: 40006.848 Thread 0x057f0800 Thread added: 0x057f0800
Event: 40006.850 Thread 0x057f0800 Thread exited: 0x057f0800
Dynamic libraries:
0x01320000 - 0x0134f000 C:\Program Files (x86)\Java\jre7\bin\javaw.exe
0x774d0000 - 0x77650000 C:\Windows\SysWOW64\ntdll.dll
0x75340000 - 0x75450000 C:\Windows\syswow64\kernel32.dll
0x75130000 - 0x75177000 C:\Windows\syswow64\KERNELBASE.dll
0x754e0000 - 0x75580000 C:\Windows\syswow64\ADVAPI32.dll
0x74c10000 - 0x74cbc000 C:\Windows\syswow64\msvcrt.dll
0x75ad0000 - 0x75ae9000 C:\Windows\SysWOW64\sechost.dll
0x74ee0000 - 0x74fd0000 C:\Windows\syswow64\RPCRT4.dll
0x74bb0000 - 0x74c10000 C:\Windows\syswow64\SspiCli.dll
0x74ba0000 - 0x74bac000 C:\Windows\syswow64\CRYPTBASE.dll
0x769f0000 - 0x76af0000 C:\Windows\syswow64\USER32.dll
0x76960000 - 0x769f0000 C:\Windows\syswow64\GDI32.dll
0x75910000 - 0x7591a000 C:\Windows\syswow64\LPK.dll
0x74cc0000 - 0x74d5d000 C:\Windows\syswow64\USP10.dll
0x713b0000 - 0x7154e000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\COMCTL32.dll
0x75cb0000 - 0x75d07000 C:\Windows\syswow64\SHLWAPI.dll
0x74d60000 - 0x74dc0000 C:\Windows\system32\IMM32.DLL
0x75580000 - 0x7564c000 C:\Windows\syswow64\MSCTF.dll
0x71a50000 - 0x71b0e000 C:\Program Files (x86)\Java\jre7\bin\msvcr100.dll
0x6de60000 - 0x6e1ad000 C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll
0x71a40000 - 0x71a47000 C:\Windows\system32\WSOCK32.dll
0x75650000 - 0x75685000 C:\Windows\syswow64\WS2_32.dll
0x774a0000 - 0x774a6000 C:\Windows\syswow64\NSI.dll
0x712d0000 - 0x71302000 C:\Windows\system32\WINMM.dll
0x75840000 - 0x75845000 C:\Windows\syswow64\PSAPI.DLL
0x71a30000 - 0x71a3c000 C:\Program Files (x86)\Java\jre7\bin\verify.dll
0x71a10000 - 0x71a30000 C:\Program Files (x86)\Java\jre7\bin\java.dll
0x719f0000 - 0x71a03000 C:\Program Files (x86)\Java\jre7\bin\zip.dll
0x71550000 - 0x71564000 C:\Program Files (x86)\Java\jre7\bin\net.dll
0x74a60000 - 0x74a9c000 C:\Windows\system32\mswsock.dll
0x74870000 - 0x74876000 C:\Windows\System32\wship6.dll
0x713a0000 - 0x713ae000 C:\Program Files (x86)\Java\jre7\bin\nio.dll
0x70ce0000 - 0x70e22000 C:\Program Files (x86)\Java\jre7\bin\awt.dll
0x75180000 - 0x7520f000 C:\Windows\syswow64\OLEAUT32.dll
0x74fd0000 - 0x7512c000 C:\Windows\syswow64\ole32.dll
0x748c0000 - 0x748d6000 C:\Windows\system32\CRYPTSP.dll
0x74880000 - 0x748bb000 C:\Windows\system32\rsaenh.dll
0x71380000 - 0x71397000 C:\Windows\system32\USERENV.dll
0x73b30000 - 0x73b3b000 C:\Windows\system32\profapi.dll
0x73a00000 - 0x73a10000 C:\Windows\system32\NLAapi.dll
0x739f0000 - 0x73a00000 C:\Windows\system32\napinsp.dll
0x739d0000 - 0x739e2000 C:\Windows\system32\pnrpnsp.dll
0x73c80000 - 0x73cc4000 C:\Windows\system32\DNSAPI.dll
0x739c0000 - 0x739c8000 C:\Windows\System32\winrnr.dll
0x74860000 - 0x74865000 C:\Windows\System32\wshtcpip.dll
0x73d40000 - 0x73d5c000 C:\Windows\system32\IPHLPAPI.DLL
0x73d30000 - 0x73d37000 C:\Windows\system32\WINNSI.DLL
0x71370000 - 0x71376000 C:\Windows\system32\rasadhlp.dll
0x71330000 - 0x71368000 C:\Windows\System32\fwpuclnt.dll
0x10000000 - 0x1003d000 C:\Users\visu\AppData\Local\Temp\jna-Visu\jna2805342089407974779.dll
0x002e0000 - 0x00301000 C:\Users\visu\workspace\IDMFRv2\lib\libnodave-0.8.4.6\win\libnodave.dll
0x71c60000 - 0x71c73000 C:\Windows\system32\DWMAPI.DLL
0x6fc20000 - 0x6fde3000 C:\Windows\system32\d3d9.dll
0x744e0000 - 0x744e9000 C:\Windows\system32\VERSION.dll
0x71310000 - 0x71316000 C:\Windows\system32\d3d8thk.dll
0x6fec0000 - 0x6ffb6000 C:\Windows\system32\dlumd32.dll
0x756a0000 - 0x7583d000 C:\Windows\syswow64\SETUPAPI.dll
0x758e0000 - 0x75907000 C:\Windows\syswow64\CFGMGR32.dll
0x75320000 - 0x75332000 C:\Windows\syswow64\DEVOBJ.dll
0x73a20000 - 0x73b0b000 C:\Windows\system32\dbghelp.dll
0x71d30000 - 0x71d3d000 C:\Windows\system32\wtsapi32.dll
0x6a2b0000 - 0x6b11e000 C:\Windows\system32\nvd3dum.dll
0x711c0000 - 0x711e5000 C:\Windows\system32\powrprof.dll
0x75d10000 - 0x7695a000 C:\Windows\syswow64\SHELL32.dll
0x712a0000 - 0x712ca000 C:\Program Files (x86)\Java\jre7\bin\fontmanager.dll
0x75210000 - 0x75293000 C:\Windows\syswow64\CLBCatQ.DLL
0x70ca0000 - 0x70cd1000 C:\Program Files (x86)\Java\jre7\bin\t2k.dll
0x71280000 - 0x712a0000 C:\Program Files (x86)\Java\jre7\bin\sunec.dll
0x71320000 - 0x71329000 C:\Program Files (x86)\Java\jre7\bin\sunmscapi.dll
0x74dc0000 - 0x74ede000 C:\Windows\syswow64\CRYPT32.dll
0x75690000 - 0x7569c000 C:\Windows\syswow64\MSASN1.dll
VM Arguments:
jvm_args: -Xms512M -Xmx512M -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=Cp1252
java_command: ch.dev.mfr.main.Main --gui
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseHg\
USERNAME=Visu
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 30 Stepping 5, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7601 Service Pack 1
CPU:total 8 (4 cores per cpu, 2 threads per core) family 6 model 30 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht, tsc, tscinvbit
Memory: 4k page, physical 16768056k(14112604k free), swap 33534260k(30370904k free)
vm_info: Java HotSpot(TM) Client VM (23.7-b01) for windows-x86 JRE (1.7.0_13-b20), built on Jan 30 2013 10:03:58 by "java_re" with unknown MS VC++:1600
time: Tue Jul 23 08:44:19 2013
elapsed time: 40006 seconds
编辑:我使用的是 JNA,而不是 JNI。很抱歉混淆了。
Edit2:关于使用 LibNoDave 的说明
更新:
我现在在新安装的 linux 机器上运行未经修改的软件。到目前为止,没有出现并发症。这让我假设问题可能出在运行 eclipse 的机器上的 Java 安装上。
在一次或任何一次 Java 更新期间是否可能出现了可能导致 JNA 行为不端的复杂情况?
我对 Java 更新过程不是很熟悉,但从我最近阅读的内容来看,Java 出现“破坏自身”的情况并不少见——因为没有更好的术语。
【问题讨论】:
这可能不是 libdonave.dll 问题。我只使用 Junit 4 和 POJO 时遇到了同样的错误。 【参考方案1】:不要仅仅因为libnodave.dll
内没有发生崩溃就认为这不是该库的错。该库的代码可能会在 JVM 或底层操作系统服务中导致不一致,这会导致另一个系统调用失败。错误每次发生在不同的地方这一事实尤其表明了这一点。
尝试用模拟的 Java 代码替换对 libnodave.dll
的调用,看看是否再次收到错误。
【讨论】:
我在表达自己时可能不太清楚。我的意思是,导致崩溃的线程不使用 dll 直接 - 而是通过将它们的信息传递给其他类来间接使用。但是,我并不认为 libnodave 是完美无缺的。我只是无法解释它直到大约一周前才能正常工作的事实。而且我还没有更改 dll。以上是关于在 Eclipse 中运行的 Java 程序导致 EXCEPTION_ACCESS_VIOLATION (0xc0000005)的主要内容,如果未能解决你的问题,请参考以下文章
Eclipse引入外部Jar在发布时没有自动带入,导致出现ClassNoFound错误
eclipse运行HelloWorld程序,显示 错误:找不到或无法加载主类