运行java程序产生hs_err_pid之类错误日志解决方法!

2020腾讯云10周年活动,优惠非常大!(领取2860元代金券),
地址https://cloud.tencent.com/act/cps/redirect?redirect=1040

2020阿里云最低价产品入口,含代金券(新老用户有优惠),
地址https://www.aliyun.com/minisite/goods

推荐:mac 下 使用 java运行 class 文件 总是提示 “错误: 找不到或无法加载主类”的解决方法

[发现问题 切换到mac平台后,突然想写点程序运行在mac下,想到mac自带java,会方便好多。不过在这过程中遇到了麻烦:   总是提示 “错误: 找不到或无法加载主类” 工程结

    双休的时候在家将电脑重新安装了系统,上班的时候运行java程序竟然报错,关闭IE的时候会产生一个hs_err_pid376之类的错误日志,开始以为是内存的问题,最后排出!最后重新安装电脑显卡驱动后一切OK!  

 

错误日志如下:

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x69ba3a96, pid=376, tid=1848
#
# Java VM: Java HotSpot(TM) Client VM (11.0-b16 mixed mode, sharing windows-x86)
# Problematic frame:
# C  [nvoglnt.dll+0x6a3a96]
#
# 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 (0x03267800):  JavaThread "AWT-EventQueue-3" [_thread_in_native, id=1848, stack(0x05950000,0x059a0000)]

siginfo: ExceptionCode=0xc0000005, writing address 0x00000000

Registers:
EAX=0x00000000, EBX=0x2f3d0080, ECX=0x00000003, EDX=0x05990002
ESP=0x0599e7e8, EBP=0x00000000, ESI=0x2f3d0080, EDI=0x00000005
EIP=0x69ba3a96, EFLAGS=0x00010246

Top of Stack: (sp=0x0599e7e8)
0x0599e7e8:   00000005 69ba3cb0 7c015a00 00000200
0x0599e7f8:   2f380000 00000200 000001ce 00000000
0x0599e808:   00000000 00000000 7c015a00 2f2e8324
0x0599e818:   03267800 00000000 2a960384 00004d54
0x0599e828:   00000006 00000004 03267800 0000000c
0x0599e838:   6d98c155 032681b0 092805d0 00000000
0x0599e848:   009f9fba 003dfb98 0327346c 00000000
0x0599e858:   2b160000 00552c00 6d931f20 032681b4

Instructions: (pc=0x69ba3a96)
0x69ba3a86:   ff 83 c4 04 83 ff 02 74 09 83 ff 05 75 12 33 c0
0x69ba3a96:   88 00 56 ff 96 c0 de 01 00 83 c4 04 8b c7 5f c3


Stack: [0x05950000,0x059a0000],  sp=0x0599e7e8,  free space=313k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [nvoglnt.dll+0x6a3a96]

[error occurred during error reporting (printing native stack), id 0xc0000005]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.sun.opengl.impl.GLImpl.glClear(I)V+0
j  gov.nasa.worldwind.AbstractSceneController.clearFrame(Lgov/nasa/worldwind/render/DrawContext;)V+47
j  gov.nasa.worldwind.BasicSceneController.doRepaint(Lgov/nasa/worldwind/render/DrawContext;)V+27
j  gov.nasa.worldwind.AbstractSceneController.repaint()I+49
j  gov.nasa.worldwind.WorldWindowGLAutoDrawable.doDisplay()I+4
j  gov.nasa.worldwind.WorldWindowGLAutoDrawable.display(Ljavax/media/opengl/GLAutoDrawable;)V+113
j  com.sun.opengl.impl.GLDrawableHelper.display(Ljavax/media/opengl/GLAutoDrawable;)V+29
j  javax.media.opengl.GLCanvas$DisplayAction.run()V+80
j  com.sun.opengl.impl.GLDrawableHelper.invokeGL(Ljavax/media/opengl/GLDrawable;Ljavax/media/opengl/GLContext;Ljava/lang/Runnable;Ljava/lang/Runnable;)V+418
j  javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(Ljava/lang/Runnable;Ljava/lang/Runnable;)V+36
j  javax.media.opengl.GLCanvas.display()V+9
j  javax.media.opengl.GLCanvas.paint(Ljava/awt/Graphics;)V+125
j  sun.awt.RepaintArea.paintComponent(Ljava/awt/Component;Ljava/awt/Graphics;)V+6
j  sun.awt.RepaintArea.paint(Ljava/lang/Object;Z)V+326
j  sun.awt.windows.WComponentPeer.handleEvent(Ljava/awt/AWTEvent;)V+107
j  java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+849
j  java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
j  java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+204
j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+30
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j  java.awt.EventDispatchThread.run()V+9
v  ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
  0x2e450800 JavaThread "Running World Wind Task Earth2244/EarthElevationModel.bil16/0/3/10" daemon [_thread_in_native, id=4052, stack(0x2f730000,0x2f780000)]
  0x2e4a9c00 JavaThread "Running World Wind Task Earth2244/EarthElevationModel.bil16/0/3/15" daemon [_thread_in_native, id=3612, stack(0x2f6e0000,0x2f730000)]
  0x05d70800 JavaThread "Running World Wind Task Earth2244/EarthElevationModel.bil16/0/3/14" daemon [_thread_in_native, id=2676, stack(0x2f690000,0x2f6e0000)]
  0x2e34a400 JavaThread "Running World Wind Retriever: http://192.168.1.112:8080/GlobeServer/globe.do?service=WMS&request=GetMap&version=1.3&srs=EPSG:4326&layers=DEM&styles=&format=application/bil16&bgColor=-9999.0&width=150&height=150&bbox=160.0,-70.0,180.0,-50.0&" daemon [_thread_in_native, id=2548, stack(0x2f640000,0x2f690000)]
  0x2e585800 JavaThread "Running World Wind Task Earth2244/EarthElevationModel.bil16/0/4/10" daemon [_thread_in_native, id=4088, stack(0x2f5f0000,0x2f640000)]
  0x2e578000 JavaThread "Thread-16" [_thread_blocked, id=3204, stack(0x067e0000,0x06830000)]
  0x2e627400 JavaThread "Running World Wind Retriever: http://192.168.1.112:8080/GlobeServer/globe.do?service=WMS&request=GetMap&version=1.3&srs=EPSG:4326&layers=DEM&styles=&format=application/bil16&bgColor=-9999.0&width=150&height=150&bbox=-160.0,-10.0,-140.0,10.0&" daemon [_thread_blocked, id=1520, stack(0x06790000,0x067e0000)]
  0x05f28c00 JavaThread "Layer Resource Retriever SongPanLandSat" daemon [_thread_blocked, id=2336, stack(0x06740000,0x06790000)]
  0x05f4ac00 JavaThread "Running World Wind Retriever: http://192.168.1.112:8080/GlobeServer/globe.do?service=WMS&request=GetMap&version=1.3&srs=EPSG:4326&layers=DEM&styles=&format=application/bil16&bgColor=-9999.0&width=150&height=150&bbox=-180.0,-10.0,-160.0,10.0&" daemon [_thread_blocked, id=3944, stack(0x066f0000,0x06740000)]
  0x03291c00 JavaThread "Layer Resource Retriever SongPanBmng" daemon [_thread_blocked, id=3792, stack(0x05ae0000,0x05b30000)]
  0x2e5cb400 JavaThread "Running World Wind Retriever: http://192.168.1.112:8080/GlobeServer/globe.do?service=WMS&request=GetMap&version=1.3&srs=EPSG:4326&layers=DEM&styles=&format=application/bil16&bgColor=-9999.0&width=150&height=150&bbox=60.0,-30.0,80.0,-10.0&" daemon [_thread_blocked, id=3452, stack(0x2eba0000,0x2ebf0000)]
  0x2e53f400 JavaThread "ElevationModel Resource Retriever SongPanDEM" daemon [_thread_blocked, id=2664, stack(0x068d0000,0x06920000)]
  0x03402800 JavaThread "AWT-EventQueue-1" [_thread_blocked, id=3068, stack(0x05fd0000,0x06020000)]
  0x0337a800 JavaThread "TimerQueue" daemon [_thread_blocked, id=2760, stack(0x05f80000,0x05fd0000)]
  0x03366c00 JavaThread "Keep-Alive-SocketCleaner" daemon [_thread_blocked, id=2976, stack(0x05b30000,0x05b80000)]
  0x03290800 JavaThread "Image Fetcher 3" daemon [_thread_blocked, id=2256, stack(0x05a90000,0x05ae0000)]
  0x03289000 JavaThread "thread applet-sh.ShApplet-1" [_thread_blocked, id=1924, stack(0x05a40000,0x05a90000)]
  0x03283c00 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=1912, stack(0x059f0000,0x05a40000)]
=>0x03267800 JavaThread "AWT-EventQueue-3" [_thread_in_native, id=1848, stack(0x05950000,0x059a0000)]
  0x03249800 JavaThread "Applet 4 LiveConnect Worker Thread" [_thread_blocked, id=956, stack(0x05560000,0x055b0000)]
  0x0327a400 JavaThread "Browser Side Object Cleanup Thread" [_thread_blocked, id=2632, stack(0x05900000,0x05950000)]
  0x0325ec00 JavaThread "Image Fetcher 3" daemon [_thread_blocked, id=2100, stack(0x056a0000,0x056f0000)]
  0x0328f400 JavaThread "Windows Tray Icon Thread" [_thread_in_native, id=2364, stack(0x05650000,0x056a0000)]
  0x03272000 JavaThread "CacheCleanUpThread" daemon [_thread_blocked, id=1216, stack(0x05600000,0x05650000)]
  0x0326dc00 JavaThread "CacheMemoryCleanUpThread" daemon [_thread_blocked, id=3964, stack(0x055b0000,0x05600000)]
  0x02dd2c00 JavaThread "Java Plug-In Heartbeat Thread" [_thread_blocked, id=2104, stack(0x034f0000,0x03540000)]
  0x03245000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3416, stack(0x05510000,0x05560000)]
  0x03242400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3712, stack(0x03680000,0x036d0000)]
  0x0323d800 JavaThread "AWT-Shutdown" [_thread_blocked, id=164, stack(0x03630000,0x03680000)]
  0x0323c400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3848, stack(0x035e0000,0x03630000)]
  0x02dde400 JavaThread "Java Plug-In Pipe Worker Thread (Client-Side)" [_thread_in_native, id=3700, stack(0x03540000,0x03590000)]
  0x02dcf000 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=3380, stack(0x03460000,0x034b0000)]
  0x02dcc800 JavaThread "Timer-0" [_thread_blocked, id=2604, stack(0x03410000,0x03460000)]
  0x02d52400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3692, stack(0x02fc0000,0x03010000)]
  0x02d48400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3608, stack(0x02f70000,0x02fc0000)]
  0x02d46c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=2648, stack(0x02f20000,0x02f70000)]
  0x02d51400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2552, stack(0x02ed0000,0x02f20000)]
  0x02d00c00 JavaThread "Finalizer" daemon [_thread_blocked, id=3396, stack(0x02e80000,0x02ed0000)]
  0x02cff400 JavaThread "Reference Handler" daemon [_thread_blocked, id=3144, stack(0x02e30000,0x02e80000)]
  0x003d6c00 JavaThread "main" [_thread_blocked, id=1468, stack(0x00990000,0x009e0000)]

推荐:Android 用axis2 webService产生java.lang.ClassCastException: org.ksoap2.serialization.SoapPrimitive错误的解决方法

[          在基于Axis2做android  Webservice开发的时候一般情况下大家接受webservice服务器返回值的时候都是使用SoapObject soapObject = (SoapObject) envelope.getResp

Other Threads:
  0x02cfdc00 VMThread [stack: 0x02de0000,0x02e30000] [id=3716]
  0x02d5c400 WatcherThread [stack: 0x03010000,0x03060000] [id=444]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
[0x003d5b68] UNKNOWN - owner thread: 0x2e34a400

Heap
 def new generation   total 36288K, used 24262K [0x06960000, 0x090c0000, 0x090c0000)
  eden space 32256K,  72% used [0x06960000, 0x08054438, 0x088e0000)
  from space 4032K,  18% used [0x08cd0000, 0x08d8d430, 0x090c0000)
  to   space 4032K,   0% used [0x088e0000, 0x088e0000, 0x08cd0000)
 tenured generation   total 483968K, used 5583K [0x090c0000, 0x26960000, 0x26960000)
   the space 483968K,   1% used [0x090c0000, 0x09633c60, 0x09633e00, 0x26960000)
 compacting perm gen  total 12288K, used 10891K [0x26960000, 0x27560000, 0x2a960000)
   the space 12288K,  88% used [0x26960000, 0x27402da8, 0x27402e00, 0x27560000)
    ro space 8192K,  63% used [0x2a960000, 0x2ae73ae8, 0x2ae73c00, 0x2b160000)
    rw space 12288K,  53% used [0x2b160000, 0x2b7c83f8, 0x2b7c8400, 0x2bd60000)

Dynamic libraries:
0x00400000 - 0x00424000  C:/Program Files/Java/jre6/bin/java.exe
0x7c920000 - 0x7c9b6000  C:/WINDOWS/system32/ntdll.dll
0x7c800000 - 0x7c91e000  C:/WINDOWS/system32/kernel32.dll
0x77da0000 - 0x77e49000  C:/WINDOWS/system32/ADVAPI32.dll
0x77e50000 - 0x77ee3000  C:/WINDOWS/system32/RPCRT4.dll
0x77fc0000 - 0x77fd1000  C:/WINDOWS/system32/Secur32.dll
0x5cc30000 - 0x5cc56000  C:/WINDOWS/system32/ShimEng.dll
0x715f0000 - 0x71669000  C:/WINDOWS/AppPatch/AcLayers.DLL
0x77d10000 - 0x77da0000  C:/WINDOWS/system32/USER32.dll
0x77ef0000 - 0x77f39000  C:/WINDOWS/system32/GDI32.dll
0x7d590000 - 0x7dd85000  C:/WINDOWS/system32/SHELL32.dll
0x77be0000 - 0x77c38000  C:/WINDOWS/system32/msvcrt.dll
0x77f40000 - 0x77fb6000  C:/WINDOWS/system32/SHLWAPI.dll
0x76990000 - 0x76ace000  C:/WINDOWS/system32/ole32.dll
0x759d0000 - 0x75a7f000  C:/WINDOWS/system32/USERENV.dll
0x72f70000 - 0x72f96000  C:/WINDOWS/system32/WINSPOOL.DRV
0x76300000 - 0x7631d000  C:/WINDOWS/system32/IMM32.DLL
0x62c20000 - 0x62c29000  C:/WINDOWS/system32/LPK.DLL
0x73fa0000 - 0x7400b000  C:/WINDOWS/system32/USP10.dll
0x77180000 - 0x77283000  C:/WINDOWS/WinSxS/x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83/comctl32.dll
0x7c340000 - 0x7c396000  C:/Program Files/Java/jre6/bin/msvcr71.dll
0x6d800000 - 0x6da56000  C:/Program Files/Java/jre6/bin/client/jvm.dll
0x76b10000 - 0x76b3a000  C:/WINDOWS/system32/WINMM.dll
0x6d280000 - 0x6d288000  C:/Program Files/Java/jre6/bin/hpi.dll
0x76bc0000 - 0x76bcb000  C:/WINDOWS/system32/PSAPI.DLL
0x6d7b0000 - 0x6d7bc000  C:/Program Files/Java/jre6/bin/verify.dll
0x6d320000 - 0x6d33f000  C:/Program Files/Java/jre6/bin/java.dll
0x6d7f0000 - 0x6d7ff000  C:/Program Files/Java/jre6/bin/zip.dll
0x6d430000 - 0x6d436000  C:/Program Files/Java/jre6/bin/jp2native.dll
0x6d1c0000 - 0x6d1d3000  C:/Program Files/Java/jre6/bin/deploy.dll
0x765e0000 - 0x76673000  C:/WINDOWS/system32/CRYPT32.dll
0x76db0000 - 0x76dc2000  C:/WINDOWS/system32/MSASN1.dll
0x770f0000 - 0x7717b000  C:/WINDOWS/system32/OLEAUT32.dll
0x3e410000 - 0x3e4f7000  C:/WINDOWS/system32/WININET.dll
0x03060000 - 0x03069000  C:/WINDOWS/system32/Normaliz.dll
0x43ce0000 - 0x43e13000  C:/WINDOWS/system32/urlmon.dll
0x3eab0000 - 0x3ec99000  C:/WINDOWS/system32/iertutil.dll
0x6d6b0000 - 0x6d6f2000  C:/Program Files/Java/jre6/bin/regutils.dll
0x77bd0000 - 0x77bd8000  C:/WINDOWS/system32/VERSION.dll
0x3fde0000 - 0x40221000  C:/WINDOWS/system32/msi.dll
0x6d610000 - 0x6d623000  C:/Program Files/Java/jre6/bin/net.dll
0x71a20000 - 0x71a37000  C:/WINDOWS/system32/WS2_32.dll
0x71a10000 - 0x71a18000  C:/WINDOWS/system32/WS2HELP.dll
0x6d630000 - 0x6d639000  C:/Program Files/Java/jre6/bin/nio.dll
0x6d000000 - 0x6d138000  C:/Program Files/Java/jre6/bin/awt.dll
0x5adc0000 - 0x5adf7000  C:/WINDOWS/system32/uxtheme.dll
0x74680000 - 0x746cc000  C:/WINDOWS/system32/MSCTF.dll
0x76d70000 - 0x76d92000  C:/WINDOWS/system32/apphelp.dll
0x73640000 - 0x7366e000  C:/WINDOWS/system32/msctfime.ime
0x03730000 - 0x039a7000  C:/WINDOWS/system32/SOGOUPY.IME
0x762f0000 - 0x762f5000  C:/WINDOWS/system32/MSIMG32.dll
0x03af0000 - 0x03b5a000  E:/搜狗拼音输入法安装文件/SogouInput/5.2.0.5374/Resource.dll
0x6d220000 - 0x6d274000  C:/Program Files/Java/jre6/bin/fontmanager.dll
0x719c0000 - 0x719fe000  C:/WINDOWS/system32/mswsock.dll
0x60fd0000 - 0x61025000  C:/WINDOWS/system32/hnetcfg.dll
0x71a00000 - 0x71a08000  C:/WINDOWS/System32/wshtcpip.dll
0x68000000 - 0x68036000  C:/WINDOWS/system32/rsaenh.dll
0x5fdd0000 - 0x5fe25000  C:/WINDOWS/system32/netapi32.dll
0x76ef0000 - 0x76f17000  C:/WINDOWS/system32/DNSAPI.dll
0x76d30000 - 0x76d48000  C:/WINDOWS/system32/iphlpapi.dll
0x76f80000 - 0x76f88000  C:/WINDOWS/System32/winrnr.dll
0x76f30000 - 0x76f5c000  C:/WINDOWS/system32/WLDAP32.dll
0x76f90000 - 0x76f96000  C:/WINDOWS/system32/rasadhlp.dll
0x06020000 - 0x0606d000  C:/Documents and Settings/Administrator/Local Settings/Temp/.java_jnlp_applet_nativelib_cache.Administrator/tmp2002944138974643015/jogl.dll
0x5ef10000 - 0x5efdc000  C:/WINDOWS/system32/OPENGL32.dll
0x68e20000 - 0x68e40000  C:/WINDOWS/system32/GLU32.dll
0x736d0000 - 0x7371b000  C:/WINDOWS/system32/DDRAW.dll
0x73b30000 - 0x73b36000  C:/WINDOWS/system32/DCIMAN32.dll
0x6d350000 - 0x6d356000  C:/Program Files/Java/jre6/bin/jawt.dll
0x068c0000 - 0x068c5000  C:/Documents and Settings/Administrator/Local Settings/Temp/.java_jnlp_applet_nativelib_cache.Administrator/tmp2002944138974643015/jogl_awt.dll
0x69500000 - 0x6a24f000  C:/WINDOWS/system32/nvoglnt.dll

VM Arguments:
jvm_args: -D__jvm_launched=5768720518 -Xbootclasspath/a:C:/PROGRA~1/Java/jre6/lib/deploy.jar;C:/PROGRA~1/Java/jre6/lib/javaws.jar;C:/PROGRA~1/Java/jre6/lib/plugin.jar -Xmx512m -Xms512m -Dsun.java2d.noddraw=true
java_command: sun.plugin2.main.client.PluginMain write_pipe_name=jpi2_pid3180_pipe16,read_pipe_name=jpi2_pid3180_pipe15
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:/Program Files/Internet Explorer;;C:/WINDOWS/system32;C:/WINDOWS;C:/WINDOWS/System32/Wbem;C:/Program Files/Microsoft SQL Server/80/Tools/Binn/;C:/Program Files/Microsoft SQL Server/90/DTS/Binn/;C:/Program Files/Microsoft SQL Server/90/Tools/binn/;C:/Program Files/Microsoft SQL Server/90/Tools/Binn/VSShell/Common7/IDE/;C:/Program Files/Microsoft Visual Studio 8/Common7/IDE/PrivateAssemblies/
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel

 

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

OS: Windows XP Build 2600 Service Pack 3

CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 13, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

Memory: 4k page, physical 1046420k(111824k free), swap 2517948k(1003292k free)

vm_info: Java HotSpot(TM) Client VM (11.0-b16) for windows-x86 JRE (1.6.0_11-b03), built on Nov 10 2008 02:15:12 by "java_re" with MS VC++ 7.1

time: Tue Apr 19 10:29:41 2011
elapsed time: 2 seconds

 

推荐:Adobe flash cs5 的Java运行时环境初始化错误 完美解决方法

[我安装Adobe flash cs5完整版,运行后出现 “Java运行时环境初始化时出现错误,你可能需要重装Flash。” 错误。我使用Adobe flash cs4绿色版精简版(带jvm)也出现此错误

相关推荐