hs_err suddenly cant launch developer or client

My copy of developer has suddenly stopped functioning on Windows, it generates an hs_err_pid1036.log each time it launches (with 1036 substituted for a new pid each time). I thought it was just a weird config, and rolled back a few versions of java I had just allowed it to upgrade, and it worked for a few days. Now it’s doing it again. Again I assumed it’s just my install is corrupt somehow (plus I’m running on Win2K – it’s faster than anything recent!), until it happened to one of my client workstations on Windows XP. Just regular client. It puts the hs_errs on the desktop or in Servoy’s folder each time I try to launch. Ideas?

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d013c95, pid=1388, tid=1928
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode)
# Problematic frame:
# C  [awt.dll+0x13c95]
#

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

Current thread (0x43427ab8):  JavaThread "AWT-EventQueue-0" [_thread_in_native, id=1928]

siginfo: ExceptionCode=0xc0000005, writing address 0x44140940

Registers:
EAX=0x036db574, EBX=0x00000020, ECX=0x00000008, EDX=0x44140940
ESP=0x4436e9cc, EBP=0x00000020, ESI=0x036db574, EDI=0x44140940
EIP=0x6d013c95, EFLAGS=0x00010202

Top of Stack: (sp=0x4436e9cc)
0x4436e9cc:   00000000 43427b74 6d11d6d8 00000000
0x4436e9dc:   6d001a56 00000020 00000020 00000010
0x4436e9ec:   00000010 4436eadc 4436ea64 6d11d6d8
0x4436e9fc:   4436ea58 43427ab8 22ee7270 4436eba4
0x4436ea0c:   22ee7270 449fbc80 00000000 6d11d6d8
0x4436ea1c:   00000000 448f4ab0 00000000 00000000
0x4436ea2c:   00000010 00000010 00000000 00000000
0x4436ea3c:   00000010 00000010 00000000 00000000 

Instructions: (pc=0x6d013c95)
0x6d013c85:   4c 24 14 8b 4c 24 14 8b f0 8b e9 8b fa c1 e9 02
0x6d013c95:   f3 a5 8b cd 03 c3 83 e1 03 f3 a4 8b 74 24 18 8b 


Stack: [0x44330000,0x44370000),  sp=0x4436e9cc,  free space=250k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [awt.dll+0x13c95]

[error occurred during error reporting, step 120, id 0xc0000005]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  sun.java2d.loops.Blit.Blit(Lsun/java2d/SurfaceData;Lsun/java2d/SurfaceData;Ljava/awt/Composite;Lsun/java2d/pipe/Region;IIIIII)V+0
j  sun.awt.windows.Win32BlitLoops$DelegateBlitBgLoop.BlitBg(Lsun/java2d/SurfaceData;Lsun/java2d/SurfaceData;Ljava/awt/Composite;Lsun/java2d/pipe/Region;Ljava/awt/Color;IIIIII)V+170
j  sun.awt.image.CachingSurfaceManager.copyDefaultToAccelerated()V+133
j  sun.awt.image.CachingSurfaceManager.validate(Ljava/awt/GraphicsConfiguration;)V+105
j  sun.awt.image.CachingSurfaceManager.getSourceSurfaceData(Lsun/java2d/SurfaceData;Lsun/java2d/loops/CompositeType;Ljava/awt/Color;Z)Lsun/java2d/SurfaceData;+53
j  sun.java2d.SurfaceData.getSourceSurfaceData(Ljava/awt/Image;Lsun/java2d/SurfaceData;Lsun/java2d/loops/CompositeType;Ljava/awt/Color;Z)Lsun/java2d/SurfaceData;+13
j  sun.java2d.pipe.DrawImage.renderImageCopy(Lsun/java2d/SunGraphics2D;Ljava/awt/Image;Ljava/awt/Color;IIIIII)Z+17
j  sun.java2d.pipe.DrawImage.copyImage(Lsun/java2d/SunGraphics2D;Ljava/awt/Image;IILjava/awt/Color;)Z+45
j  sun.java2d.pipe.DrawImage.copyImage(Lsun/java2d/SunGraphics2D;Ljava/awt/Image;IILjava/awt/Color;Ljava/awt/image/ImageObserver;)Z+15
j  sun.java2d.SunGraphics2D.drawImage(Ljava/awt/Image;IILjava/awt/Color;Ljava/awt/image/ImageObserver;)Z+18
j  sun.awt.image.ImageRepresentation.drawToBufImage(Ljava/awt/Graphics;Lsun/awt/image/ToolkitImage;IILjava/awt/Color;Ljava/awt/image/ImageObserver;)Z+152
j  sun.java2d.pipe.DrawImage.copyImage(Lsun/java2d/SunGraphics2D;Ljava/awt/Image;IILjava/awt/Color;Ljava/awt/image/ImageObserver;)Z+56
j  sun.java2d.SunGraphics2D.drawImage(Ljava/awt/Image;IILjava/awt/Color;Ljava/awt/image/ImageObserver;)Z+18
j  sun.java2d.SunGraphics2D.drawImage(Ljava/awt/Image;IILjava/awt/image/ImageObserver;)Z+7
j  javax.swing.ImageIcon.paintIcon(Ljava/awt/Component;Ljava/awt/Graphics;II)V+16
j  javax.swing.plaf.basic.BasicMenuItemUI.paintMenuItem(Ljava/awt/Graphics;Ljavax/swing/JComponent;Ljavax/swing/Icon;Ljavax/swing/Icon;Ljava/awt/Color;Ljava/awt/Color;I)V+560
j  javax.swing.plaf.basic.BasicMenuItemUI.paint(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+23
j  javax.swing.plaf.basic.BasicMenuItemUI.update(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+3
J  javax.swing.JComponent.paintComponent(Ljava/awt/Graphics;)V
J  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V
J  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V
J  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V
J  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V
J  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V
J  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V
J  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V
v  ~RuntimeStub::alignment_frame_return Runtime1 stub
j  javax.swing.JLayeredPane.paint(Ljava/awt/Graphics;)V+73
J  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V
v  ~RuntimeStub::alignment_frame_return Runtime1 stub
j  javax.swing.JComponent.paintWithOffscreenBuffer(Ljavax/swing/JComponent;Ljava/awt/Graphics;IIIILjava/awt/Image;)V+209
j  javax.swing.JComponent.paintDoubleBuffered(Ljavax/swing/JComponent;Ljava/awt/Component;Ljava/awt/Graphics;IIII)Z+131
J  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V
v  ~RuntimeStub::alignment_frame_return Runtime1 stub
j  java.awt.GraphicsCallback$PaintCallback.run(Ljava/awt/Component;Ljava/awt/Graphics;)V+2
j  sun.awt.SunGraphicsCallback.runOneComponent(Ljava/awt/Component;Ljava/awt/Rectangle;Ljava/awt/Graphics;Ljava/awt/Shape;I)V+155
j  sun.awt.SunGraphicsCallback.runComponents([Ljava/awt/Component;Ljava/awt/Graphics;I)V+104
j  java.awt.Container.paint(Ljava/awt/Graphics;)V+62
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+63
j  java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+765
j  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
J  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V
J  java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26
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 )
  0x44b16d60 JavaThread "Image Fetcher 1" daemon [_thread_blocked, id=1924]
  0x447c4198 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=1044]
  0x00236198 JavaThread "DestroyJavaVM" [_thread_blocked, id=496]
  0x44976460 JavaThread "pool-1-thread-1" [_thread_blocked, id=1948]
  0x44a2edc8 JavaThread "PingScanner" daemon [_thread_blocked, id=1944]
  0x448d7900 JavaThread "MessageScheduler" daemon [_thread_blocked, id=1132]
=>0x43427ab8 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=1928]
  0x43184920 JavaThread "TaskExecuter[3]" daemon [_thread_blocked, id=1892]
  0x43415e08 JavaThread "TaskExecuter[2]" daemon [_thread_blocked, id=1920]
  0x434152b8 JavaThread "TaskExecuter[1]" daemon [_thread_blocked, id=1916]
  0x433df8f8 JavaThread "TaskExecuter[0]" daemon [_thread_blocked, id=1908]
  0x43341d70 JavaThread "TimerQueue" daemon [_thread_blocked, id=1912]
  0x43318a18 JavaThread "AWT-Shutdown" [_thread_blocked, id=1872]
  0x430bd708 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=756]
  0x4318fd50 JavaThread "AWT-Windows" daemon [_thread_in_native, id=384]
  0x009bc0c8 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=820]
  0x009babc8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1848]
  0x009b9e88 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=884]
  0x009b1330 JavaThread "Finalizer" daemon [_thread_blocked, id=700]
  0x009afe40 JavaThread "Reference Handler" daemon [_thread_blocked, id=1860]

Other Threads:
  0x009abd00 VMThread [id=720]
  0x009bd660 WatcherThread [id=808]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 18240K, used 13372K [0x02a80000, 0x03e40000, 0x051e0000)
  eden space 16256K,  77% used [0x02a80000, 0x036e0f90, 0x03a60000)
  from space 1984K,  35% used [0x03c50000, 0x03cfe0c0, 0x03e40000)
  to   space 1984K,   0% used [0x03a60000, 0x03a60000, 0x03c50000)
 tenured generation   total 241984K, used 10736K [0x051e0000, 0x13e30000, 0x22a80000)
   the space 241984K,   4% used [0x051e0000, 0x05c5c028, 0x05c5c200, 0x13e30000)
 compacting perm gen  total 262144K, used 49037K [0x22a80000, 0x32a80000, 0x42a80000)
   the space 262144K,  18% used [0x22a80000, 0x25a636e0, 0x25a63800, 0x32a80000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x0040c000 	C:\WINNT\system32\java.exe
0x77f80000 - 0x77ffc000 	C:\WINNT\system32\ntdll.dll
0x7c2d0000 - 0x7c335000 	C:\WINNT\system32\ADVAPI32.dll
0x7c570000 - 0x7c624000 	C:\WINNT\system32\KERNEL32.dll
0x77d30000 - 0x77d9f000 	C:\WINNT\system32\RPCRT4.dll
0x7c340000 - 0x7c34f000 	C:\WINNT\system32\Secur32.dll
0x78000000 - 0x78045000 	C:\WINNT\system32\MSVCRT.dll
0x6d640000 - 0x6d7c5000 	C:\Program Files\Java\jre1.5.0\bin\client\jvm.dll
0x77e10000 - 0x77e6f000 	C:\WINNT\system32\USER32.dll
0x77f40000 - 0x77f7d000 	C:\WINNT\system32\GDI32.dll
0x77570000 - 0x775a0000 	C:\WINNT\system32\WINMM.dll
0x6d280000 - 0x6d288000 	C:\Program Files\Java\jre1.5.0\bin\hpi.dll
0x690a0000 - 0x690ab000 	C:\WINNT\system32\PSAPI.DLL
0x6d610000 - 0x6d61c000 	C:\Program Files\Java\jre1.5.0\bin\verify.dll
0x6d300000 - 0x6d31d000 	C:\Program Files\Java\jre1.5.0\bin\java.dll
0x6d630000 - 0x6d63f000 	C:\Program Files\Java\jre1.5.0\bin\zip.dll
0x6d000000 - 0x6d166000 	C:\Program Files\Java\jre1.5.0\bin\awt.dll
0x77800000 - 0x7781e000 	C:\WINNT\system32\WINSPOOL.DRV
0x76620000 - 0x76631000 	C:\WINNT\system32\MPR.DLL
0x75e60000 - 0x75e7a000 	C:\WINNT\system32\IMM32.dll
0x7ce20000 - 0x7cf0f000 	C:\WINNT\system32\ole32.dll
0x51000000 - 0x51044000 	C:\WINNT\system32\ddraw.dll
0x728a0000 - 0x728a6000 	C:\WINNT\system32\DCIMAN32.dll
0x5c000000 - 0x5c0c7000 	C:\WINNT\system32\D3DIM700.DLL
0x6d4c0000 - 0x6d4d3000 	C:\Program Files\Java\jre1.5.0\bin\net.dll
0x75030000 - 0x75044000 	C:\WINNT\system32\WS2_32.dll
0x75020000 - 0x75028000 	C:\WINNT\system32\WS2HELP.DLL
0x782c0000 - 0x782cc000 	C:\WINNT\System32\rnr20.dll
0x77980000 - 0x779a4000 	C:\WINNT\system32\DNSAPI.DLL
0x75050000 - 0x75058000 	C:\WINNT\system32\WSOCK32.dll
0x77340000 - 0x77353000 	C:\WINNT\system32\iphlpapi.dll
0x77520000 - 0x77525000 	C:\WINNT\system32\ICMP.dll
0x77320000 - 0x77337000 	C:\WINNT\system32\MPRAPI.dll
0x75150000 - 0x75160000 	C:\WINNT\system32\SAMLIB.DLL
0x7cdc0000 - 0x7ce10000 	C:\WINNT\system32\NETAPI32.DLL
0x77bf0000 - 0x77c01000 	C:\WINNT\system32\NTDSAPI.dll
0x77950000 - 0x7797b000 	C:\WINNT\system32\WLDAP32.DLL
0x751c0000 - 0x751c6000 	C:\WINNT\system32\NETRAP.dll
0x779b0000 - 0x77a4c000 	C:\WINNT\system32\OLEAUT32.DLL
0x773b0000 - 0x773df000 	C:\WINNT\system32\ACTIVEDS.DLL
0x77380000 - 0x773a3000 	C:\WINNT\system32\ADSLDPC.DLL
0x77830000 - 0x7783e000 	C:\WINNT\system32\RTUTILS.DLL
0x77880000 - 0x7790e000 	C:\WINNT\system32\SETUPAPI.DLL
0x7c0f0000 - 0x7c154000 	C:\WINNT\system32\USERENV.DLL
0x774e0000 - 0x77514000 	C:\WINNT\system32\RASAPI32.dll
0x774c0000 - 0x774d1000 	C:\WINNT\system32\rasman.dll
0x77530000 - 0x77552000 	C:\WINNT\system32\TAPI32.dll
0x71710000 - 0x71794000 	C:\WINNT\system32\COMCTL32.DLL
0x70a70000 - 0x70ad6000 	C:\WINNT\system32\SHLWAPI.DLL
0x77360000 - 0x77379000 	C:\WINNT\system32\DHCPCSVC.DLL
0x777e0000 - 0x777e8000 	C:\WINNT\System32\winrnr.dll
0x777f0000 - 0x777f5000 	C:\WINNT\system32\rasadhlp.dll
0x7cf30000 - 0x7d176000 	C:\WINNT\system32\shell32.dll
0x6d240000 - 0x6d27d000 	C:\Program Files\Java\jre1.5.0\bin\fontmanager.dll
0x6d4e0000 - 0x6d4e9000 	C:\Program Files\Java\jre1.5.0\bin\nio.dll
0x74fd0000 - 0x74fed000 	C:\WINNT\system32\msafd.dll
0x75010000 - 0x75017000 	C:\WINNT\System32\wshtcpip.dll
0x44d50000 - 0x44d66000 	C:\WINNT\System32\prlnp.dll
0x75160000 - 0x7516c000 	C:\WINNT\System32\ntlanman.dll
0x75210000 - 0x75225000 	C:\WINNT\System32\NETUI0.dll
0x751d0000 - 0x75208000 	C:\WINNT\System32\NETUI1.dll
0x7c950000 - 0x7c9df000 	C:\WINNT\system32\CLBCATQ.DLL
0x77840000 - 0x7787e000 	C:\WINNT\system32\cscui.dll
0x770c0000 - 0x770e3000 	C:\WINNT\system32\CSCDLL.DLL
0x76df0000 - 0x76e01000 	C:\WINNT\system32\mydocs.dll
0x44e50000 - 0x44f9a000 	C:\WINNT\system32\SHDOCVW.DLL
0x76710000 - 0x76719000 	C:\WINNT\system32\LINKINFO.DLL
0x76fa0000 - 0x76faf000 	C:\WINNT\system32\ntshrui.dll
0x773e0000 - 0x773f5000 	C:\WINNT\system32\ATL.DLL
0x7ca00000 - 0x7ca23000 	C:\WINNT\system32\rsaenh.dll
0x7c740000 - 0x7c7cc000 	C:\WINNT\system32\CRYPT32.dll
0x77430000 - 0x77441000 	C:\WINNT\system32\MSASN1.dll

VM Arguments:
jvm_args: -XX:PermSize=256m -XX:MaxPermSize=512m -Xmx512m -Xms256m
java_command: Servoy

Environment Variables:
PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\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 6, GenuineIntel


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

OS: Windows 2000 Build 2195 Service Pack 4

CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse, sse2

Memory: 4k page, physical 822836k(368212k free), swap 1762068k(913572k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0-b64) for windows-x86, built on Sep 15 2004 03:00:31 by "java_re" with MS VC++ 6.0

Sorry, now on Java 1.6 05 after rollback. Same rollback (to 05) on client worked for 24 hours, now he’s getting the errors too. Still have 50 windows users not complaining though – though they are all being upgraded to the latest Java due to some kind of incompatibility with McAfee. I don’t have McAfee on my developer workstation where this is also happening.

hmm those errors are really hard java crashes, if i look into the stack a bit more i see that it is related to painting. (ui)

So it could be also some problem with your graphics driver or direct X installation.

Also upgrading to the latest java 6 version could help ( i think _13 at the moment)

Interesting that it looks like a graphics thing. Very interesting. Thanks for looking.

The hs_err log I posted was mine, for Developer, and so far it seems fixed by me porting (for other reasons) my Parallels disk image to VMWare Fusion. I was playing with the Display memory on Parallels and having weird issues with it blinking on and off, so that might be related to my hard java crash.

Thought I’d post my client workstation hs_err log file as welll as they might be entirely different crashes. He was on the most recent version of Java when it happened originally (and so was I), we rolled him BACK to Java 1.6 05. That seemed to work for both of us for about 24 hours, then it started again. Mine again seems fixed again by above, his is consistent. Here is his log:

[attachment=0]hs_err_pid4000.txt[/attachment]

BTW, he has two monitors attached (if display graphics are related) and most users don’t. BUT, logged in as the IT person the machine launches Servoy just fine… so we thought it was something in his profile and were stumped where to look. I’m having them look at graphics related stuff right now, but in case this log is different from my problem (obviously it probably is, though the MAIN error line apart from the java was the same)… here it is.

THANKS again in advance for any pointers.

hs_err_pid4000.txt (11.4 KB)

that is in AWT so the native graphics toolkit that crashes

I would recommend to upgrade your display driver to the latest version and also reinstall/upgrade DirectX to the latest version.

you can always submit this at suns ofcourse to see if they can do something about it.