An unexpected error has been detected by Java Runtime Environment

最近团队内部遇到一个非常奇怪的问题。网上有人说是sun公司的bug,我在这里贴一下,有兴趣的同志可以研究一下。 据说,换一个java版本就好了,团队内部正在进行升级java版本。 sun公司官网解释: https://www.java.net/node/670924 程序异常error如下:

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x61f5b494, pid=8872, tid=4240
#
# Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode windows-x86)
# Problematic frame:
# C  [sqlite-3.8.7-449fb041-02b0-4098-ab74-d8103a65ed6f-sqlitejdbc.dll+0x5b494]
#
# 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.
#

---------------  T H R E A D  ---------------

Current thread (0x0e330400):  JavaThread "Thread-2" [_thread_in_native, id=4240, stack(0x0ebd0000,0x0ec20000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x0000000c

Registers:
EAX=0x00000000, EBX=0x0d7e7cb0, ECX=0x0e330514, EDX=0x02400000
ESP=0x0ec1fb10, EBP=0x0ec1fba4, ESI=0x0a002290, EDI=0x0e330400
EIP=0x61f5b494, EFLAGS=0x00010202

Top of Stack: (sp=0x0ec1fb10)
0x0ec1fb10:   00000001 0dc4d5c4 0e330400 0554b8b0
0x0ec1fb20:   0ec1fb2c 0e32a366 0ec1fb68 6da3e45f
0x0ec1fb30:   0dc4d5c4 0ec1fb7c 0a002290 61f0251f
0x0ec1fb40:   0d7e7cb0 0e330400 6d974e34 0e330400
0x0ec1fb50:   00000006 00000008 0e330400 0341edc2
0x0ec1fb60:   0e330514 0ec1fbbc 0d7e7cb0 00000000
0x0ec1fb70:   0e330400 0ec1fb7c 0341e9d1 00000003
0x0ec1fb80:   0554b8b0 0ec1fb7c 0a002290 0ec1fbbc 

Instructions: (pc=0x61f5b494)
0x61f5b484:   ec 28 8b 5c 24 30 85 db 0f 84 82 00 00 00 8b 03
0x61f5b494:   8b 40 0c 85 c0 74 09 89 04 24 ff 15 54 52 f9 61 


Stack: [0x0ebd0000,0x0ec20000],  sp=0x0ec1fb10,  free space=318k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [sqlite-3.8.7-449fb041-02b0-4098-ab74-d8103a65ed6f-sqlitejdbc.dll+0x5b494]
j  org.sqlite.core.CoreResultSet.close()V+76
j  org.sqlite.jdbc3.JDBC3PreparedStatement.executeQuery()Ljava/sql/ResultSet;+25
j  com.hupu.iman.dao.DataBaseDao.executeQuery(Ljava/lang/String;)Ljava/sql/ResultSet;+22
j  com.hupu.iman.net.mail.MailHandler.loadConfig()V+7
j  com.hupu.iman.net.mail.MailHandler.send(Ljava/lang/String;)V+6
j  com.hupu.iman.work.MonitorWorker.run()V+336
v  ~StubRoutines::call_stub

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.sqlite.core.NativeDB.reset(J)I+0
j  org.sqlite.core.CoreResultSet.close()V+76
j  org.sqlite.jdbc3.JDBC3PreparedStatement.executeQuery()Ljava/sql/ResultSet;+25
j  com.hupu.iman.dao.DataBaseDao.executeQuery(Ljava/lang/String;)Ljava/sql/ResultSet;+22
j  com.hupu.iman.net.mail.MailHandler.loadConfig()V+7
j  com.hupu.iman.net.mail.MailHandler.send(Ljava/lang/String;)V+6
j  com.hupu.iman.work.MonitorWorker.run()V+336
v  ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
  0x0e2e2400 JavaThread "pool-10-thread-1" [_thread_blocked, id=8536, stack(0x0fbb0000,0x0fc00000)]
  0x0e2e2000 JavaThread "pool-8-thread-1" [_thread_blocked, id=7392, stack(0x0e6c0000,0x0e710000)]
  0x0e2e1800 JavaThread "pool-6-thread-1" [_thread_blocked, id=8240, stack(0x0feb0000,0x0ff00000)]
  0x0e57dc00 JavaThread "TimerQueue" daemon [_thread_blocked, id=6256, stack(0x0fb20000,0x0fb70000)]
  0x0e526c00 JavaThread "pool-4-thread-1" [_thread_blocked, id=2320, stack(0x0fa90000,0x0fae0000)]
=>0x0e330400 JavaThread "Thread-2" [_thread_in_native, id=4240, stack(0x0ebd0000,0x0ec20000)]
  0x02439c00 JavaThread "DestroyJavaVM" [_thread_blocked, id=7264, stack(0x02480000,0x024d0000)]
  0x0e3bbc00 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=6708, stack(0x0eb40000,0x0eb90000)]
  0x0dce5000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=9136, stack(0x0e0f0000,0x0e140000)]
  0x0dce4400 JavaThread "AWT-Shutdown" [_thread_blocked, id=8184, stack(0x0e060000,0x0e0b0000)]
  0x0dce3400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3392, stack(0x0dfd0000,0x0e020000)]
  0x0db22400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=6248, stack(0x0dd20000,0x0dd70000)]
  0x0340dc00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2788, stack(0x0da50000,0x0daa0000)]
  0x03401800 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=4444, stack(0x0d9c0000,0x0da10000)]
  0x03401000 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=4200, stack(0x0d8e0000,0x0d930000)]
  0x033ff800 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=2160, stack(0x0d740000,0x0d790000)]
  0x033f1c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=3380, stack(0x0d690000,0x0d6e0000)]
  0x033c4000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=8944, stack(0x0d600000,0x0d650000)]
  0x033ad400 JavaThread "Finalizer" daemon [_thread_in_vm, id=6152, stack(0x0d570000,0x0d5c0000)]
  0x033abc00 JavaThread "Reference Handler" daemon [_thread_blocked, id=8808, stack(0x0d4e0000,0x0d530000)]

Other Threads:
  0x033a8800 VMThread [stack: 0x0d490000,0x0d4e0000] [id=6996]
  0x0db23000 WatcherThread [stack: 0x0ddb0000,0x0de00000] [id=5576]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 960K, used 108K [0x05490000, 0x05590000, 0x05970000)
  eden space 896K,   6% used [0x05490000, 0x0549dcd0, 0x05570000)
  from space 64K,  83% used [0x05570000, 0x0557d678, 0x05580000)
  to   space 64K,   0% used [0x05580000, 0x05580000, 0x05590000)
 tenured generation   total 7120K, used 6114K [0x05970000, 0x06064000, 0x09490000)
   the space 7120K,  85% used [0x05970000, 0x05f68a58, 0x05f68c00, 0x06064000)
 compacting perm gen  total 15872K, used 15781K [0x09490000, 0x0a410000, 0x0d490000)
   the space 15872K,  99% used [0x09490000, 0x0a3f97f8, 0x0a3f9800, 0x0a410000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x00424000 	D:\Program Files\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin\javaw.exe
0x772a0000 - 0x77420000 	C:\Windows\SysWOW64\ntdll.dll
0x74f00000 - 0x75010000 	C:\Windows\syswow64\kernel32.dll
0x75310000 - 0x75357000 	C:\Windows\syswow64\KERNELBASE.dll
0x76940000 - 0x769e0000 	C:\Windows\syswow64\ADVAPI32.dll
0x74da0000 - 0x74e4c000 	C:\Windows\syswow64\msvcrt.dll
0x754d0000 - 0x754e9000 	C:\Windows\SysWOW64\sechost.dll
0x76ab0000 - 0x76ba0000 	C:\Windows\syswow64\RPCRT4.dll
0x74cc0000 - 0x74d20000 	C:\Windows\syswow64\SspiCli.dll
0x74cb0000 - 0x74cbc000 	C:\Windows\syswow64\CRYPTBASE.dll
0x75010000 - 0x75110000 	C:\Windows\syswow64\USER32.dll
0x75400000 - 0x75490000 	C:\Windows\syswow64\GDI32.dll
0x75730000 - 0x7573a000 	C:\Windows\syswow64\LPK.dll
0x75110000 - 0x751ad000 	C:\Windows\syswow64\USP10.dll
0x74e60000 - 0x74ec0000 	C:\Windows\system32\IMM32.DLL
0x769e0000 - 0x76aac000 	C:\Windows\syswow64\MSCTF.dll
0x10000000 - 0x10282000 	C:\Windows\SysWow64\TSafeDoc2.dll
0x75a60000 - 0x75a95000 	C:\Windows\syswow64\WS2_32.dll
0x75360000 - 0x75366000 	C:\Windows\syswow64\NSI.dll
0x74410000 - 0x74461000 	C:\Windows\system32\WINSPOOL.DRV
0x75cb0000 - 0x768fa000 	C:\Windows\syswow64\SHELL32.dll
0x74d30000 - 0x74d87000 	C:\Windows\syswow64\SHLWAPI.dll
0x751b0000 - 0x7530c000 	C:\Windows\syswow64\ole32.dll
0x743a0000 - 0x743b2000 	C:\Windows\system32\MPR.dll
0x74be0000 - 0x74be9000 	C:\Windows\system32\VERSION.dll
0x75830000 - 0x758bf000 	C:\Windows\syswow64\OLEAUT32.dll
0x74ec0000 - 0x74ec5000 	C:\Windows\syswow64\psapi.dll
0x01ed0000 - 0x01f76000 	C:\Windows\system32\TMailHook.dll
0x02130000 - 0x022cb000 	C:\Windows\system32\DtFrame32.dll
0x70650000 - 0x70668000 	C:\Windows\system32\hlink.dll
0x024f0000 - 0x025b3000 	C:\Windows\system32\winhafnt.dll
0x68140000 - 0x68422000 	C:\Windows\system32\winhadnt.dll
0x74520000 - 0x74564000 	C:\Windows\system32\Dnsapi.dll
0x02c40000 - 0x02c6a000 	C:\Windows\system32\TIjtdrvd32.dll
0x75c30000 - 0x75cab000 	C:\Windows\syswow64\comdlg32.dll
0x73d70000 - 0x73f0e000 	C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\COMCTL32.dll
0x73b30000 - 0x73d70000 	C:\Windows\system32\msi.dll
0x7c340000 - 0x7c396000 	D:\Program Files\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\msvcr71.dll
0x6d8b0000 - 0x6db06000 	D:\Program Files\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll
0x73900000 - 0x73932000 	C:\Windows\system32\WINMM.dll
0x743c0000 - 0x7440c000 	C:\Windows\system32\apphelp.dll
0x6d340000 - 0x6d348000 	D:\Program Files\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\hpi.dll
0x6d430000 - 0x6d459000 	D:\Program Files\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\jdwp.dll
0x6d750000 - 0x6d756000 	D:\Program Files\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\npt.dll
0x6d860000 - 0x6d86c000 	D:\Program Files\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\verify.dll
0x6d3e0000 - 0x6d3ff000 	D:\Program Files\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\java.dll
0x6d8a0000 - 0x6d8af000 	D:\Program Files\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\zip.dll
0x6d2b0000 - 0x6d2b7000 	D:\Program Files\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\dt_socket.dll
0x745e0000 - 0x745f0000 	C:\Windows\system32\NLAapi.dll
0x745d0000 - 0x745e0000 	C:\Windows\system32\napinsp.dll
0x745b0000 - 0x745c2000 	C:\Windows\system32\pnrpnsp.dll
0x74570000 - 0x745ac000 	C:\Windows\System32\mswsock.dll
0x74510000 - 0x74518000 	C:\Windows\System32\winrnr.dll
0x748b0000 - 0x748cc000 	C:\Windows\system32\IPHLPAPI.DLL
0x748a0000 - 0x748a7000 	C:\Windows\system32\WINNSI.DLL
0x74490000 - 0x744c8000 	C:\Windows\System32\fwpuclnt.dll
0x74480000 - 0x74486000 	C:\Windows\system32\rasadhlp.dll
0x744d0000 - 0x744d5000 	C:\Windows\System32\wshtcpip.dll
0x744e0000 - 0x744f2000 	C:\Windows\system32\dhcpcsvc.DLL
0x6d610000 - 0x6d619000 	D:\Program Files\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\management.dll
0x6d6c0000 - 0x6d6d3000 	D:\Program Files\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\net.dll
0x717e0000 - 0x717e6000 	C:\Windows\System32\wship6.dll
0x6d0b0000 - 0x6d1fa000 	D:\Program Files\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\awt.dll
0x73940000 - 0x73953000 	C:\Windows\system32\DWMAPI.DLL
0x73960000 - 0x739e0000 	C:\Windows\system32\uxtheme.dll
0x65870000 - 0x65917000 	C:\ProgramData\Tencent\TSVulFw\TSVulFW.DAT
0x6d2e0000 - 0x6d334000 	D:\Program Files\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\fontmanager.dll
0x6d6e0000 - 0x6d6e9000 	D:\Program Files\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\nio.dll
0x72e60000 - 0x72e76000 	C:\Windows\system32\CRYPTSP.dll
0x72e20000 - 0x72e5b000 	C:\Windows\system32\rsaenh.dll
0x74a80000 - 0x74a97000 	C:\Windows\system32\USERENV.dll
0x74a70000 - 0x74a7b000 	C:\Windows\system32\profapi.dll
0x61f00000 - 0x61fad000 	C:\Users\herman.xiong\AppData\Local\Temp\sqlite-3.8.7-449fb041-02b0-4098-ab74-d8103a65ed6f-sqlitejdbc.dll
0x0ec40000 - 0x0ed3f000 	C:\Windows\SysWOW64\winimhc3.dll
0x0edc0000 - 0x0ee0b000 	C:\Windows\SysWOW64\thooksv3.dll

VM Arguments:
jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:61452 -Dfile.encoding=UTF-8 
java_command: com.hupu.iman.ui.Iman
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=D:\Program Files (x86)\Java\jdk1.7.0_71
CLASSPATH=.;D:\Program Files (x86)\Java\jdk1.7.0_71\lib;D:\Program Files (x86)\Java\jdk1.7.0_71\lib\tools.jar;D:\Program Files (x86)\Java\jdk1.7.0_71\lib\dt.jar;D:\apache-ant-1.9.2\lib;
PATH=D:\Program Files\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin;D:/Program Files/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client;D:/Program Files/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\Program Files (x86)\Java\jdk1.7.0_71\bin;D:\Program Files (x86)\Java\jdk1.7.0_71\jre\bin;D:\apache-ant-1.9.2\bin;D:\Program Files (x86)\MySQL\MySQL Utilities 1.3.5\;D:\Program Files (x86)\TortoiseSVN\bin;D:\Program Files (x86)\Java\apache-maven-2.2.1\bin;D:\Program Files (x86)\MySQL\MySQL Server 5.7\bin;
USERNAME=Herman.Xiong
OS=Windows_NT
PROCESSOR_IDENTIFIER=AMD64 Family 18 Model 1 Stepping 0, AuthenticAMD



---------------  S Y S T E M  ---------------

OS: Windows NT 6.1 Build 7601 Service Pack 1

CPU:total 4 (4 cores per cpu, 1 threads per core) family 18 model 1 stepping 0, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnow, 3dnowext, sse4a

Memory: 4k page, physical 4194303k(3310744k free), swap 4194303k(4194303k free)

vm_info: Java HotSpot(TM) Client VM (11.3-b02) for windows-x86 JRE (1.6.0_13-b03), built on Mar  9 2009 01:15:24 by "java_re" with MS VC++ 7.1

time: Mon Sep 28 12:00:57 2015
elapsed time: 22 seconds

这个问题很容易出现,希望能尽快解决

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

发表于

我来说两句

0 条评论
登录 后参与评论

扫码关注云+社区

领取腾讯云代金券