JDK-6221844 : VM crash in demo/applets/ImageMap
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: generic
  • Submitted: 2005-01-26
  • Updated: 2010-04-02
  • Resolved: 2005-01-27
Related Reports
Duplicate :  
Description
Running the demo app using appletviewer causes a VM crash.  It started happening in Mustang b15 and I'm using Windows XP SP1. See the error log below:


>>---------------------------------------------------------------------- 
>>>> --
>>>>
>>>> #
>>>> # An unexpected error has been detected by HotSpot Virtual Machine:
>>>> #
>>>> #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d74bfab,  
>>>> pid=2564, tid=556
>>>> #
>>>> # Java VM: Java HotSpot(TM) Client VM (1.6.0-ea-b20 mixed mode)
>>>> # Problematic frame:
>>>> # V  [jvm.dll+0x8bfab]
>>>> #
>>>>
>>>> ---------------  T H R E A D  ---------------
>>>>
>>>> Current thread (0x0acc0240):  JavaThread "AWT-Windows" daemon  
>>>> [_thread_in_vm, id=556]
>>>>
>>>> siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
>>>>
>>>> Registers:
>>>> EAX=0x00000000, EBX=0x00000000, ECX=0x0000deab, EDX=0x00001501
>>>> ESP=0x0b15f76c, EBP=0x0b15f77c, ESI=0x0acc02f4, EDI=0x0ac9d468
>>>> EIP=0x6d74bfab, EFLAGS=0x00010246
>>>>
>>>> Top of Stack: (sp=0x0b15f76c)
>>>> 0x0b15f76c:   0ac9d468 0acc02f4 00000000 0acc0240
>>>> 0x0b15f77c:   0b15f7ac 0af5612e 0acc02f4 00000000
>>>> 0x0b15f78c:   00000000 00008025 0acc02f4 00000000
>>>> 0x0b15f79c:   00a96b24 00000004 0b15f854 00000000
>>>> 0x0b15f7ac:   0b15f7e0 0af67752 0ae6acd0 0b15f854
>>>> 0x0b15f7bc:   0af67140 00000000 00000000 0acc0240
>>>> 0x0b15f7cc:   0acc02f4 0b15f7b8 0b15f864 0af78928
>>>> 0x0b15f7dc:   00000001 0b15f80c 77d43a50 000f06c0
>>>>
>>>> Instructions: (pc=0x6d74bfab)
>>>> 0x6d74bf9b:   83 c4 10 85 c0 74 03 c6 00 01 8b 45 0c 53 56 57
>>>> 0x6d74bfab:   8b 30 56 e8 ec 83 ff ff 56 8b d8 e8 00 84 ff ff
>>>>
>>>>
>>>> Stack: [0x0b120000,0x0b160000),  sp=0x0b15f76c,  free space=253k
>>>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,  
>>>> C=native code)
>>>> V  [jvm.dll+0x8bfab]
>>>> C  [awt.dll+0xe612e]
>>>> C  [awt.dll+0xf7752]
>>>> C  [USER32.dll+0x3a50]
>>>> C  [USER32.dll+0x3b1f]
>>>> C  [USER32.dll+0x44f5]
>>>> C  [USER32.dll+0x4525]
>>>> C  [ntdll.dll+0x25da3]
>>>> C  [USER32.dll+0x3fd4]
>>>>
>>>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>>>> j  sun.awt.windows.WToolkit.eventLoop()V+0
>>>> j  sun.awt.windows.WToolkit.run()V+69
>>>> j  java.lang.Thread.run()V+11
>>>> v  ~StubRoutines::call_stub
>>>>
>>>> ---------------  P R O C E S S  ---------------
>>>>
>>>> Java Threads: ( => current thread )
>>>>   0x0ae6a9a0 JavaThread "Direct Clip" daemon [_thread_blocked,  
>>>> id=3804]
>>>>   0x0b2d1de0 JavaThread "Java Sound Event Dispatcher" daemon  
>>>> [_thread_blocked, id=528]
>>>>   0x0ae68278 JavaThread "ImageMap Animator" [_thread_blocked, id=3400]
>>>>   0x00a806e0 JavaThread "AWT-EventQueue-1" [_thread_in_native, id=780]
>>>>   0x00266e90 JavaThread "DestroyJavaVM" [_thread_blocked, id=1528]
>>>>   0x0b2c2278 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=472]
>>>>   0x0ae68d58 JavaThread "thread applet-ImageMap.class"  
>>>> [_thread_blocked, id=260]
>>>> =>0x0acc0240 JavaThread "AWT-Windows" daemon [_thread_in_vm, id=556]
>>>>   0x0acbff50 JavaThread "AWT-Shutdown" [_thread_blocked, id=1744]
>>>>   0x0ac98450 JavaThread "Java2D Disposer" daemon [_thread_blocked,  
>>>> id=200]
>>>>   0x00a72dd0 JavaThread "Low Memory Detector" daemon  
>>>> [_thread_blocked, id=4024]
>>>>   0x00a71a88 JavaThread "CompilerThread0" daemon [_thread_blocked,  
>>>> id=1156]
>>>>   0x00a70eb0 JavaThread "Signal Dispatcher" daemon [_thread_blocked,  
>>>> id=2668]
>>>>   0x00a288e0 JavaThread "Finalizer" daemon [_thread_blocked, id=1164]
>>>>   0x00a67b68 JavaThread "Reference Handler" daemon [_thread_blocked,  
>>>> id=1420]
>>>>
>>>> Other Threads:
>>>>   0x0026f3c0 VMThread [id=3536]
>>>>   0x00a73f70 WatcherThread [id=1392]
>>>>
>>>> VM state:not at safepoint (normal execution)
>>>>
>>>> VM Mutex/Monitor currently owned by a thread: None
>>>>
>>>> Heap
>>>>  def new generation   total 576K, used 393K [0x02ab0000, 0x02b50000,  
>>>> 0x02f90000)
>>>>   eden space 512K,  70% used [0x02ab0000, 0x02b0a4c0, 0x02b30000)
>>>>   from space 64K,  50% used [0x02b30000, 0x02b381c0, 0x02b40000)
>>>>   to   space 64K,   0% used [0x02b40000, 0x02b40000, 0x02b50000)
>>>>  tenured generation   total 2528K, used 1762K [0x02f90000,  
>>>> 0x03208000, 0x06ab0000)
>>>>    the space 2528K,  69% used [0x02f90000, 0x03148bb0, 0x03148c00,  
>>>> 0x03208000)
>>>>  compacting perm gen  total 8192K, used 5709K [0x06ab0000,  
>>>> 0x072b0000, 0x0aab0000)
>>>>    the space 8192K,  69% used [0x06ab0000, 0x07043688, 0x07043800,  
>>>> 0x072b0000)
>>>> No shared spaces configured.
>>>>
>>>> Dynamic libraries:
>>>> 0x00400000 - 0x0040d000  
>>>> 	N:\slinks\java2d\ArchivedBuilds\2005-01-23.mustang.pit\windows- 
>>>> i586\bin\appletviewer.exe
>>>> 0x77f50000 - 0x77ff7000 	C:\WINDOWS\System32\ntdll.dll
>>>> 0x77e60000 - 0x77f46000 	C:\WINDOWS\system32\kernel32.dll
>>>> 0x77dd0000 - 0x77e5d000 	C:\WINDOWS\system32\ADVAPI32.dll
>>>> 0x78000000 - 0x78087000 	C:\WINDOWS\system32\RPCRT4.dll
>>>> 0x77c10000 - 0x77c63000 	C:\WINDOWS\system32\MSVCRT.dll
>>>> 0x6d6c0000 - 0x6d845000  
>>>> 	N:\slinks\java2d\ArchivedBuilds\2005-01-23.mustang.pit\windows- 
>>>> i586\jre\bin\client\jvm.dll
>>>> 0x77d40000 - 0x77dcc000 	C:\WINDOWS\system32\USER32.dll
>>>> 0x7e090000 - 0x7e0d1000 	C:\WINDOWS\system32\GDI32.dll
>>>> 0x76b40000 - 0x76b6c000 	C:\WINDOWS\System32\WINMM.dll
>>>> 0x10000000 - 0x10008000  
>>>> 	N:\slinks\java2d\ArchivedBuilds\2005-01-23.mustang.pit\windows- 
>>>> i586\jre\bin\hpi.dll
>>>> 0x76bf0000 - 0x76bfb000 	C:\WINDOWS\System32\PSAPI.DLL
>>>> 0x00840000 - 0x0084c000  
>>>> 	N:\slinks\java2d\ArchivedBuilds\2005-01-23.mustang.pit\windows- 
>>>> i586\jre\bin\verify.dll
>>>> 0x00850000 - 0x0086d000  
>>>> 	N:\slinks\java2d\ArchivedBuilds\2005-01-23.mustang.pit\windows- 
>>>> i586\jre\bin\java.dll
>>>> 0x00870000 - 0x0087f000  
>>>> 	N:\slinks\java2d\ArchivedBuilds\2005-01-23.mustang.pit\windows- 
>>>> i586\jre\bin\zip.dll
>>>> 0x0ae70000 - 0x0afee000  
>>>> 	N:\slinks\java2d\ArchivedBuilds\2005-01-23.mustang.pit\windows- 
>>>> i586\jre\bin\awt.dll
>>>> 0x73000000 - 0x73023000 	C:\WINDOWS\System32\WINSPOOL.DRV
>>>> 0x76390000 - 0x763ac000 	C:\WINDOWS\System32\IMM32.dll
>>>> 0x771b0000 - 0x772d4000 	C:\WINDOWS\system32\ole32.dll
>>>> 0x5ad70000 - 0x5ada4000 	C:\WINDOWS\System32\uxtheme.dll
>>>> 0x51000000 - 0x51047000 	C:\WINDOWS\System32\ddraw.dll
>>>> 0x73bc0000 - 0x73bc6000 	C:\WINDOWS\System32\DCIMAN32.dll
>>>> 0x5c000000 - 0x5c0c8000 	C:\WINDOWS\System32\D3DIM700.DLL
>>>> 0x0b060000 - 0x0b09f000  
>>>> 	N:\slinks\java2d\ArchivedBuilds\2005-01-23.mustang.pit\windows- 
>>>> i586\jre\bin\fontmanager.dll
>>>> 0x58000000 - 0x5801f000 	C:\Program Files\Visual Networks\Visual IP  
>>>> InSight\SBC\IPHk2KS2.DLL
>>>> 0x0b160000 - 0x0b176000 	C:\PROGRA~1\SBCSEL~1\SMARTB~1\SBHook.dll
>>>> 0x0b1b0000 - 0x0b1be000 	C:\Program Files\TOSHIBA\TME3\TMEEJMD.DLL
>>>> 0x0b650000 - 0x0b663000  
>>>> 	N:\slinks\java2d\ArchivedBuilds\2005-01-23.mustang.pit\windows- 
>>>> i586\jre\bin\net.dll
>>>> 0x71ab0000 - 0x71ac4000 	C:\WINDOWS\System32\WS2_32.dll
>>>> 0x71aa0000 - 0x71aa8000 	C:\WINDOWS\System32\WS2HELP.dll
>>>> 0x0b670000 - 0x0b679000  
>>>> 	N:\slinks\java2d\ArchivedBuilds\2005-01-23.mustang.pit\windows- 
>>>> i586\jre\bin\nio.dll
>>>> 0x71a50000 - 0x71a8b000 	C:\WINDOWS\System32\mswsock.dll
>>>> 0x76f20000 - 0x76f45000 	C:\WINDOWS\System32\DNSAPI.dll
>>>> 0x76fb0000 - 0x76fb7000 	C:\WINDOWS\System32\winrnr.dll
>>>> 0x76f60000 - 0x76f8c000 	C:\WINDOWS\system32\WLDAP32.dll
>>>> 0x76fc0000 - 0x76fc5000 	C:\WINDOWS\System32\rasadhlp.dll
>>>> 0x0b690000 - 0x0b6b5000  
>>>> 	N:\slinks\java2d\ArchivedBuilds\2005-01-23.mustang.pit\windows- 
>>>> i586\jre\bin\jsound.dll
>>>> 0x0b7b0000 - 0x0b7b7000  
>>>> 	N:\slinks\java2d\ArchivedBuilds\2005-01-23.mustang.pit\windows- 
>>>> i586\jre\bin\jsoundds.dll
>>>> 0x51080000 - 0x510d6000 	C:\WINDOWS\System32\DSOUND.dll
>>>> 0x77c00000 - 0x77c07000 	C:\WINDOWS\system32\VERSION.dll
>>>> 0x72d20000 - 0x72d29000 	C:\WINDOWS\System32\wdmaud.drv
>>>> 0x72d10000 - 0x72d18000 	C:\WINDOWS\System32\msacm32.drv
>>>> 0x77be0000 - 0x77bf4000 	C:\WINDOWS\System32\MSACM32.dll
>>>> 0x77bd0000 - 0x77bd7000 	C:\WINDOWS\System32\midimap.dll
>>>> 0x60300000 - 0x60307000 	C:\Program Files\Yahoo!\Messenger\idle.dll
>>>> 0x7c340000 - 0x7c396000 	C:\Program Files\Yahoo!\Messenger\MSVCR71.dll
>>>> 0x5ef80000 - 0x5ef84000 	C:\WINDOWS\System32\KsUser.dll
>>>>
>>>> VM Arguments:
>>>> jvm_args:  
>>>> -Dapplication.home=N:\slinks\java2d\ArchivedBuilds\2005-01 
>>>> -23.mustang.pit\windows-i586
>>>> java_command: sun.applet.Main example1.html
>>>>
>>>> Environment Variables:
>>>> PATH=c:\ws\mustang\build\windows-i586\bin;C:\PROGRA~1\MKSTOO~1\bin;C: 
>>>> \PROGRA~1\MKSTOO~1\bin\X11;C:\PROGRA~1\MKSTOO~1\mksnt;C: 
>>>> \WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program  
>>>> Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program  
>>>> Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program  
>>>> Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft  
>>>> Visual Studio\VC98\bin;c:\devtools\utils;c:\devtools\dxsdk;c:\Program  
>>>> Files\MKS Toolkit\mksnt;c:\devtools;c:\Program Files\j2sdk1.4.2\bin;
>>>> USERNAME=jgodinez
>>>> SHELL=C:/PROGRA~1/MKSTOO~1/mksnt/sh.exe
>>>> DISPLAY=:0.0
>>>> OS=Windows_NT
>>>> PROCESSOR_IDENTIFIER=x86 Family 6 Model 9 Stepping 5, GenuineIntel
>>>>
>>>>
>>>>
>>>> ---------------  S Y S T E M  ---------------
>>>>
>>>> OS: Windows XP Build 2600 Service Pack 1
>>>>
>>>> CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse, sse2
>>>>
>>>> Memory: 4k page, physical 768880k(374744k free), swap  
>>>> 1095500k(747244k free)
>>>>
>>>> vm_info: Java HotSpot(TM) Client VM (1.6.0-ea-b20) for windows-x86,  
>>>> built on Jan 20 2005 02:21:43 by "java_re" with MS VC++ 6.0
>>>>
>
>>

###@###.### 2005-1-26 17:10:09 GMT

Comments
EVALUATION according to stack "Java_sun_awt_windows_WLabelPeer_setText()" is the problem routine. This is quite similar to 6215905. I run the test with fixed workspace and it is okay. The fix will be available in Mustang b22. ###@###.### 2005-1-27 10:31:16 GMT
27-01-2005