EXCEPTION_ACCESS_VIOLATION异常
先记录下来,暂时还没有解决,
开发环境:Tomcat6+eclipse3.5+JDK6
问题描述:Tomcat6在eclipse3.5中没有任何反应,停止服务器,出现如下错误.原因未知.
原因猜测:这种错误由于第一次出现,也不频繁,环境没有任何改动,软件没有升过级,JAVA程序也没有跑,怀疑可能是太长时间没有关过机了- -!.约有3个星期了
![](https://images.cnblogs.com/OutliningIndicators/ExpandedBlockStart.gif)
1 #
2 # An unexpected error has been detected by Java Runtime Environment:
3 #
4 # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x100045c7, pid=4872, tid=5476
5 #
6 # Java VM: Java HotSpot(TM) Client VM (11.0-b15 mixed mode, sharing windows-x86)
7 # Problematic frame:
8 # C [tcnative-1.dll+0x45c7]
9 #
10 # If you would like to submit a bug report, please visit:
11 # http://java.sun.com/webapps/bugreport/crash.jsp
12 # The crash happened outside the Java Virtual Machine in native code.
13 # See problematic frame for where to report the bug.
14 #
![](https://images.cnblogs.com/OutliningIndicators/ExpandedBlockStart.gif)
1 OS: Windows XP Build 2600 Service Pack 2
2
3 CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 7 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
4
5 Memory: 4k page, physical 2097151k(1245856k free), swap 4194303k(2999164k free)
6
7 vm_info: Java HotSpot(TM) Client VM (11.0-b15) for windows-x86 JRE (1.6.0_10-rc2-b32), built on Sep 12 2008 00:52:11 by "java_re" with MS VC++ 7.1
8
9 time: Thu Jun 24 08:24:49 2010
10 elapsed time: 81554 seconds
详细错误信息描述:
![](https://images.cnblogs.com/OutliningIndicators/ExpandedBlockStart.gif)
1 #
2 # An unexpected error has been detected by Java Runtime Environment:
3 #
4 # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x100045c7, pid=4872, tid=5476
5 #
6 # Java VM: Java HotSpot(TM) Client VM (11.0-b15 mixed mode, sharing windows-x86)
7 # Problematic frame:
8 # C [tcnative-1.dll+0x45c7]
9 #
10 # If you would like to submit a bug report, please visit:
11 # http://java.sun.com/webapps/bugreport/crash.jsp
12 # The crash happened outside the Java Virtual Machine in native code.
13 # See problematic frame for where to report the bug.
14 #
15
16 --------------- T H R E A D ---------------
17
18 Current thread (0x03181400): JavaThread "ajp-8009-Acceptor-0" daemon [_thread_in_native, id=5476, stack(0x04700000,0x04750000)]
19
20 siginfo: ExceptionCode=0xc0000005, reading address 0x034c92e8
21
22 Registers:
23 EAX=0x040d6568, EBX=0x034c92e0, ECX=0x0474fbe4, EDX=0x00000004
24 ESP=0x0474fa58, EBP=0x0474fa68, ESI=0x040d65a8, EDI=0x03181400
25 EIP=0x100045c7, EFLAGS=0x00010202
26
27 Top of Stack: (sp=0x0474fa58)
28 0x0474fa58: 26dd95c8 26dd95d0 00000000 040d6568
29 0x0474fa68: 0474faac 00969d11 03181514 0474fab4
30 0x0474fa78: 034c92e0 00000000 00840360 000000a0
31 0x0474fa88: 00000fa0 0474fa8c 26dc5e58 0474fac0
32 0x0474fa98: 26dc6e48 00000000 26dc5e60 00000000
33 0x0474faa8: 0474fabc 0474fae4 00962e83 26dc6de8
34 0x0474fab8: 00968189 034c92e0 00000000 0474fac4
35 0x0474fac8: 272397a0 0474faf4 27239a48 00000000
36
37 Instructions: (pc=0x100045c7)
38 0x100045b7: 52 e8 93 d1 ff ff 83 c4 08 8b 45 fc 85 c0 74 0d
39 0x100045c7: 8b 4b 08 85 c9 74 06 50 e8 cc af 00 00 33 c0 5e
40
41
42 Stack: [0x04700000,0x04750000], sp=0x0474fa58, free space=318k
43 Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
44 C [tcnative-1.dll+0x45c7]
45 j org.apache.tomcat.jni.Socket.accept(J)J+0
46 j org.apache.tomcat.util.net.AprEndpoint$Acceptor.run()V+40
47 j java.lang.Thread.run()V+11
48 v ~StubRoutines::call_stub
49
50 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
51 j org.apache.tomcat.jni.Socket.accept(J)J+0
52 j org.apache.tomcat.util.net.AprEndpoint$Acceptor.run()V+40
53 j java.lang.Thread.run()V+11
54 v ~StubRoutines::call_stub
55
56 --------------- P R O C E S S ---------------
57
58 Java Threads: ( => current thread )
59 0x02ed6c00 JavaThread "http-8080-6" daemon [_thread_blocked, id=5040, stack(0x048f0000,0x04940000)]
60 0x02b57c00 JavaThread "http-8080-5" daemon [_thread_blocked, id=6064, stack(0x048a0000,0x048f0000)]
61 0x0307d400 JavaThread "http-8080-4" daemon [_thread_blocked, id=2752, stack(0x04850000,0x048a0000)]
62 0x02b19400 JavaThread "http-8080-3" daemon [_thread_blocked, id=5292, stack(0x04800000,0x04850000)]
63 0x02f25800 JavaThread "http-8080-2" daemon [_thread_blocked, id=4352, stack(0x047b0000,0x04800000)]
64 0x03190400 JavaThread "http-8080-1" daemon [_thread_blocked, id=2588, stack(0x04760000,0x047b0000)]
65 =>0x03181400 JavaThread "ajp-8009-Acceptor-0" daemon [_thread_in_native, id=5476, stack(0x04700000,0x04750000)]
66 0x03180000 JavaThread "ajp-8009-CometPoller-7" daemon [_thread_blocked, id=4440, stack(0x046b0000,0x04700000)]
67 0x0317bc00 JavaThread "ajp-8009-CometPoller-6" daemon [_thread_blocked, id=1824, stack(0x04660000,0x046b0000)]
68 0x031a6c00 JavaThread "ajp-8009-CometPoller-5" daemon [_thread_blocked, id=7124, stack(0x04610000,0x04660000)]
69 0x0317a000 JavaThread "ajp-8009-CometPoller-4" daemon [_thread_blocked, id=7884, stack(0x045c0000,0x04610000)]
70 0x03189000 JavaThread "ajp-8009-CometPoller-3" daemon [_thread_blocked, id=6012, stack(0x04570000,0x045c0000)]
71 0x03187800 JavaThread "ajp-8009-CometPoller-2" daemon [_thread_blocked, id=4468, stack(0x04520000,0x04570000)]
72 0x031eec00 JavaThread "ajp-8009-CometPoller-1" daemon [_thread_blocked, id=4612, stack(0x044d0000,0x04520000)]
73 0x031ed800 JavaThread "ajp-8009-CometPoller-0" daemon [_thread_blocked, id=8068, stack(0x04480000,0x044d0000)]
74 0x03138000 JavaThread "ajp-8009-Poller-7" daemon [_thread_blocked, id=7016, stack(0x04430000,0x04480000)]
75 0x0315a400 JavaThread "ajp-8009-Poller-6" daemon [_thread_blocked, id=8056, stack(0x043e0000,0x04430000)]
76 0x03159000 JavaThread "ajp-8009-Poller-5" daemon [_thread_blocked, id=5584, stack(0x04390000,0x043e0000)]
77 0x0318f400 JavaThread "ajp-8009-Poller-4" daemon [_thread_blocked, id=3132, stack(0x03f40000,0x03f90000)]
78 0x0318e000 JavaThread "ajp-8009-Poller-3" daemon [_thread_blocked, id=3468, stack(0x03ef0000,0x03f40000)]
79 0x0320c400 JavaThread "ajp-8009-Poller-2" daemon [_thread_blocked, id=5408, stack(0x03ea0000,0x03ef0000)]
80 0x030bf400 JavaThread "ajp-8009-Poller-1" daemon [_thread_blocked, id=2236, stack(0x03e50000,0x03ea0000)]
81 0x03117800 JavaThread "ajp-8009-Poller-0" daemon [_thread_blocked, id=5920, stack(0x03e00000,0x03e50000)]
82 0x03112400 JavaThread "http-8080-Acceptor-0" daemon [_thread_blocked, id=3372, stack(0x03db0000,0x03e00000)]
83 0x03111000 JavaThread "http-8080-Sendfile-0" daemon [_thread_blocked, id=2264, stack(0x03d60000,0x03db0000)]
84 0x03134000 JavaThread "http-8080-CometPoller-7" daemon [_thread_blocked, id=7196, stack(0x03d10000,0x03d60000)]
85 0x03236c00 JavaThread "http-8080-CometPoller-6" daemon [_thread_blocked, id=7420, stack(0x03cc0000,0x03d10000)]
86 0x03235800 JavaThread "http-8080-CometPoller-5" daemon [_thread_blocked, id=6992, stack(0x03c70000,0x03cc0000)]
87 0x0317e000 JavaThread "http-8080-CometPoller-4" daemon [_thread_blocked, id=6356, stack(0x03c20000,0x03c70000)]
88 0x031e8400 JavaThread "http-8080-CometPoller-3" daemon [_thread_blocked, id=2968, stack(0x03bd0000,0x03c20000)]
89 0x03177c00 JavaThread "http-8080-CometPoller-2" daemon [_thread_blocked, id=5488, stack(0x03b80000,0x03bd0000)]
90 0x0315c400 JavaThread "http-8080-CometPoller-1" daemon [_thread_blocked, id=7900, stack(0x03b30000,0x03b80000)]
91 0x0315b000 JavaThread "http-8080-CometPoller-0" daemon [_thread_blocked, id=2436, stack(0x03ae0000,0x03b30000)]
92 0x030fb400 JavaThread "http-8080-Poller-7" daemon [_thread_blocked, id=8164, stack(0x03a90000,0x03ae0000)]
93 0x03155400 JavaThread "http-8080-Poller-6" daemon [_thread_blocked, id=7256, stack(0x03a40000,0x03a90000)]
94 0x0320f400 JavaThread "http-8080-Poller-5" daemon [_thread_blocked, id=6720, stack(0x037f0000,0x03840000)]
95 0x0318c400 JavaThread "http-8080-Poller-4" daemon [_thread_blocked, id=7180, stack(0x037a0000,0x037f0000)]
96 0x03154400 JavaThread "http-8080-Poller-3" daemon [_thread_blocked, id=7368, stack(0x03750000,0x037a0000)]
97 0x03142800 JavaThread "http-8080-Poller-2" daemon [_thread_blocked, id=7332, stack(0x03700000,0x03750000)]
98 0x031fd400 JavaThread "http-8080-Poller-1" daemon [_thread_blocked, id=4132, stack(0x036b0000,0x03700000)]
99 0x03152400 JavaThread "http-8080-Poller-0" daemon [_thread_blocked, id=5272, stack(0x03660000,0x036b0000)]
100 0x030fdc00 JavaThread "GC Daemon" daemon [_thread_blocked, id=6140, stack(0x035b0000,0x03600000)]
101 0x02b0e000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3640, stack(0x02d80000,0x02dd0000)]
102 0x02b08400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2068, stack(0x02d30000,0x02d80000)]
103 0x02b06c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=7168, stack(0x02ce0000,0x02d30000)]
104 0x02b11400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4280, stack(0x02c90000,0x02ce0000)]
105 0x02ac0800 JavaThread "Finalizer" daemon [_thread_blocked, id=5204, stack(0x02c40000,0x02c90000)]
106 0x02abf400 JavaThread "Reference Handler" daemon [_thread_blocked, id=3420, stack(0x02bf0000,0x02c40000)]
107 0x00846c00 JavaThread "main" [_thread_in_native, id=5080, stack(0x008e0000,0x00930000)]
108
109 Other Threads:
110 0x02abdc00 VMThread [stack: 0x02ba0000,0x02bf0000] [id=4316]
111 0x02b1bc00 WatcherThread [stack: 0x02dd0000,0x02e20000] [id=7980]
112
113 VM state:not at safepoint (normal execution)
114
115 VM Mutex/Monitor currently owned by a thread: None
116
117 Heap
118 def new generation total 1216K, used 437K [0x229e0000, 0x22b30000, 0x22ec0000)
119 eden space 1088K, 28% used [0x229e0000, 0x22a2d508, 0x22af0000)
120 from space 128K, 99% used [0x22b10000, 0x22b2fff8, 0x22b30000)
121 to space 128K, 0% used [0x22af0000, 0x22af0000, 0x22b10000)
122 tenured generation total 15380K, used 9472K [0x22ec0000, 0x23dc5000, 0x269e0000)
123 the space 15380K, 61% used [0x22ec0000, 0x23800270, 0x23800400, 0x23dc5000)
124 compacting perm gen total 21760K, used 21752K [0x269e0000, 0x27f20000, 0x2a9e0000)
125 the space 21760K, 99% used [0x269e0000, 0x27f1e398, 0x27f1e400, 0x27f20000)
126 ro space 8192K, 67% used [0x2a9e0000, 0x2af42f30, 0x2af43000, 0x2b1e0000)
127 rw space 12288K, 53% used [0x2b1e0000, 0x2b850180, 0x2b850200, 0x2bde0000)
128
129 Dynamic libraries:
130 0x00400000 - 0x00424000 D:\Program Files\Java\jdk1.6.0_10\bin\javaw.exe
131 0x7c920000 - 0x7c9b6000 C:\WINDOWS\system32\ntdll.dll
132 0x7c800000 - 0x7c91d000 C:\WINDOWS\system32\kernel32.dll
133 0x77da0000 - 0x77e49000 C:\WINDOWS\system32\ADVAPI32.dll
134 0x77e50000 - 0x77ee2000 C:\WINDOWS\system32\RPCRT4.dll
135 0x77fc0000 - 0x77fd1000 C:\WINDOWS\system32\Secur32.dll
136 0x77d10000 - 0x77d9f000 C:\WINDOWS\system32\USER32.dll
137 0x77ef0000 - 0x77f38000 C:\WINDOWS\system32\GDI32.dll
138 0x76300000 - 0x7631d000 C:\WINDOWS\system32\IMM32.DLL
139 0x62c20000 - 0x62c29000 C:\WINDOWS\system32\LPK.DLL
140 0x73fa0000 - 0x7400b000 C:\WINDOWS\system32\USP10.dll
141 0x77be0000 - 0x77c38000 C:\WINDOWS\system32\msvcrt.dll
142 0x7c340000 - 0x7c396000 D:\Program Files\Java\jdk1.6.0_10\jre\bin\msvcr71.dll
143 0x6d8b0000 - 0x6db06000 D:\Program Files\Java\jdk1.6.0_10\jre\bin\client\jvm.dll
144 0x76b10000 - 0x76b3a000 C:\WINDOWS\system32\WINMM.dll
145 0x6d330000 - 0x6d338000 D:\Program Files\Java\jdk1.6.0_10\jre\bin\hpi.dll
146 0x76bc0000 - 0x76bcb000 C:\WINDOWS\system32\PSAPI.DLL
147 0x6d860000 - 0x6d86c000 D:\Program Files\Java\jdk1.6.0_10\jre\bin\verify.dll
148 0x6d3d0000 - 0x6d3ef000 D:\Program Files\Java\jdk1.6.0_10\jre\bin\java.dll
149 0x6d8a0000 - 0x6d8af000 D:\Program Files\Java\jdk1.6.0_10\jre\bin\zip.dll
150 0x6d610000 - 0x6d619000 D:\Program Files\Java\jdk1.6.0_10\jre\bin\management.dll
151 0x10000000 - 0x100d7000 D:\Program Files\Java\jdk1.6.0_10\bin\tcnative-1.dll
152 0x77f40000 - 0x77fb6000 C:\WINDOWS\system32\SHLWAPI.dll
153 0x71a20000 - 0x71a37000 C:\WINDOWS\system32\WS2_32.dll
154 0x71a10000 - 0x71a18000 C:\WINDOWS\system32\WS2HELP.dll
155 0x719c0000 - 0x719fe000 C:\WINDOWS\system32\MSWSOCK.dll
156 0x0ffd0000 - 0x0fff8000 C:\WINDOWS\system32\rsaenh.dll
157 0x60fd0000 - 0x61025000 C:\WINDOWS\system32\hnetcfg.dll
158 0x71a00000 - 0x71a08000 C:\WINDOWS\System32\wshtcpip.dll
159 0x6d6c0000 - 0x6d6d3000 D:\Program Files\Java\jdk1.6.0_10\jre\bin\net.dll
160 0x76ef0000 - 0x76f17000 C:\WINDOWS\system32\DNSAPI.dll
161 0x76f80000 - 0x76f88000 C:\WINDOWS\System32\winrnr.dll
162 0x76f30000 - 0x76f5c000 C:\WINDOWS\system32\WLDAP32.dll
163 0x76f90000 - 0x76f96000 C:\WINDOWS\system32\rasadhlp.dll
164
165 VM Arguments:
166 jvm_args: -Dcatalina.base=E:\hnairProject\.metadata\.plugins\org.eclipse.wst.server.core\tmp0 -Dcatalina.home=D:\Program Files\WebServers\apache-tomcat-6.0.26 -Dwtp.deploy=E:\hnairProject\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps -Djava.endorsed.dirs=D:\Program Files\WebServers\apache-tomcat-6.0.26\endorsed -Dfile.encoding=UTF-8
167 java_command: org.apache.catalina.startup.Bootstrap start
168 Launcher Type: SUN_STANDARD
169
170 Environment Variables:
171 JAVA_HOME=D:\Program Files\Java\jdk1.6.0_10
172 PATH=D:/Program Files/Java/jdk1.6.0_10/bin/../jre/bin/client;D:/Program Files/Java/jdk1.6.0_10/bin/../jre/bin;D:\Program Files\Java\jdk1.6.0_10\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\IBM\CLIENT~1;C:\PROGRA~1\IBM\CLIENT~1\Shared;C:\PROGRA~1\IBM\CLIENT~1\Emulator;C:\Program Files\TortoiseSVN\bin
173 USERNAME=Kenn
174 OS=Windows_NT
175 PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel
176
177
178
179 --------------- S Y S T E M ---------------
180
181 OS: Windows XP Build 2600 Service Pack 2
182
183 CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 7 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
184
185 Memory: 4k page, physical 2097151k(1245856k free), swap 4194303k(2999164k free)
186
187 vm_info: Java HotSpot(TM) Client VM (11.0-b15) for windows-x86 JRE (1.6.0_10-rc2-b32), built on Sep 12 2008 00:52:11 by "java_re" with MS VC++ 7.1
188
189 time: Thu Jun 24 08:24:49 2010
190 elapsed time: 81554 seconds
191
192