A fatal error has been detected by the Java Runtime Environment:
一个Swing程序,运行一段时间后就会自动关闭掉,NetBeans输出如下信息:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c92100b, pid=3076, tid=1732
#
# JRE version: 6.0_23-b05
# Java VM: Java HotSpot(TM) Client VM (19.0-b09 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [ntdll.dll+0x100b]
#
# An error report file with more information is saved as:
# F:\spider\wkspace\FTPSpider\hs_err_pid3076.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.
#
Java Result: 1
------解决方案--------------------# JRE version: 6.0_23-b05
# Java VM: Java HotSpot(TM) Client VM (19.0-b09 mixed mode, sharing windows-x86 )
貌似出现混淆。
------解决方案--------------------我是猜的。这种情况我没遇到个过。不过看后台打印的报告,你应该去看看日志:F:\spider\wkspace\FTPSpider\hs_err_pid3076.log。
还有到http://java.sun.com/webapps/bugreport/crash.jsp看看,或许能有收获。
------解决方案--------------------你的swing把虚拟机搞崩溃了...注意释放内存和无用的对象
------解决方案--------------------一般来说是环境问题和配置问题
jdk的bug咱可能一般碰不到
不过也难说
swing awt中的bug很多
修复的也很多