-
Bug
-
Resolution: Fixed
-
P1
-
6
-
b47
-
x86
-
windows_xp
-
Verified
I am running an application which basically tries to get the handle of SplashScreen and check whether it is visible. After checking the visibility, the application creates a frame and calls frame.setVisible() in order to close the splash screen. When running the application, I am actually not passing '-splash' option to check whether getSplashScreen() returns null.
When running this application on WinXP with the current AWT PIT build (b47), the VM crashes while opening a frame after calling getSplashScreen(). This is not reproducible on SolSparc10 with the same PIT build. This is not reproducible on Mustang-b44.
Here is the PIT build:
java version "1.6.0-awt.pit_int_jcg_win_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-awt.pit_int_jcg_win_03-java2d_26_jul_2005_11_02-b00)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b44, mixed mode, sharing)
I have attached a sample test herewith. Run it as follows:
java ShowSplash
You would see a VM crash on the console.
Here is the crash info:
-----------------------
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c918fea, pid=3312, tid=616
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-ea-b44 mixed mode, sharing)
# Problematic frame:
# C [ntdll.dll+0x18fea]
#
--------------- T H R E A D ---------------
Current thread (0x02ecc700): JavaThread "AWT-EventQueue-1" [_thread_in_native, id=616]
siginfo: ExceptionCode=0xc0000005, writing address 0x00000010
Registers:
EAX=0x00000000, EBX=0x00000000, ECX=0x00000398, EDX=0x02cff8e4
ESP=0x0317f8a4, EBP=0x0317f918, ESI=0x02cff8d4, EDI=0x00000000
EIP=0x7c918fea, EFLAGS=0x00010246
Top of Stack: (sp=0x0317f8a4)
0x0317f8a4: 02ecc700 02cfcb80 2c95cbc0 6da71c10
0x0317f8b4: 02eccd1c 6db08432 000365a0 000365a0
0x0317f8c4: 6da95658 6da95686 0000f905 0317f844
0x0317f8d4: 02ecd0f4 0317fd2c 7c90ee18 7c919af0
0x0317f8e4: ffffffff 7c919aeb 7c919ba0 02ce0000
0x0317f8f4: 0317f924 00000000 0317f938 00000001
0x0317f904: 0317f92c 7c80ac66 0317f92c 00000000
0x0317f914: 00000398 0317f968 7c90104b 00cff8d4
Instructions: (pc=0x7c918fea)
0x7c918fda: 8b 46 10 3b c3 89 45 fc 0f 84 9e 00 00 00 8b 06
0x7c918fea: ff 40 10 8b 45 fc 83 e0 01 89 45 e8 8b 06 ff 40
Stack: [0x03140000,0x03180000), sp=0x0317f8a4, free space=254k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [ntdll.dll+0x18fea]
C [ntdll.dll+0x104b]
j java.awt.Window.show()V+49
j java.awt.Component.show(Z)V+5
j java.awt.Component.setVisible(Z)V+2
j java.awt.Window.setVisible(Z)V+2
j ShowSplash$1.run()V+32
j java.awt.event.InvocationEvent.dispatch()V+11
j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+26
j java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+156
j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+148
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
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.awt.SunToolkit.closeSplashScreen()V+0
j java.awt.Window.show()V+49
j java.awt.Component.show(Z)V+5
j java.awt.Component.setVisible(Z)V+2
j java.awt.Window.setVisible(Z)V+2
j ShowSplash$1.run()V+32
j java.awt.event.InvocationEvent.dispatch()V+11
j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+26
j java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+156
j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+148
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 )
0x02eced00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3756]
=>0x02ecc700 JavaThread "AWT-EventQueue-1" [_thread_in_native, id=616]
0x02adf700 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3212]
0x02adf200 JavaThread "AWT-Shutdown" [_thread_blocked, id=3236]
0x02aabc00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2252]
0x02aa9700 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1272]
0x02aa8900 JavaThread "Attach Listener" daemon [_thread_blocked, id=1032]
0x02aa7e00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3144]
0x02a6cb00 JavaThread "Finalizer" daemon [_thread_blocked, id=3568]
0x02a6b500 JavaThread "Reference Handler" daemon [_thread_blocked, id=3564]
0x00037100 JavaThread "main" [_thread_blocked, id=3500]
Other Threads:
0x02a6a600 VMThread [id=3556]
0x02aacf00 WatcherThread [id=3604]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 576K, used 174K [0x24010000, 0x240b0000, 0x244f0000)
eden space 512K, 21% used [0x24010000, 0x2402bb80, 0x24090000)
from space 64K, 100% used [0x240a0000, 0x240b0000, 0x240b0000)
to space 64K, 0% used [0x24090000, 0x24090000, 0x240a0000)
tenured generation total 1408K, used 208K [0x244f0000, 0x24650000, 0x28010000)
the space 1408K, 14% used [0x244f0000, 0x24524040, 0x24524200, 0x24650000)
compacting perm gen total 12288K, used 176K [0x28010000, 0x28c10000, 0x2c010000)
the space 12288K, 1% used [0x28010000, 0x2803c210, 0x2803c400, 0x28c10000)
ro space 8192K, 63% used [0x2c010000, 0x2c51e4a8, 0x2c51e600, 0x2c810000)
rw space 12288K, 54% used [0x2c810000, 0x2ce938b0, 0x2ce93a00, 0x2d410000)
Dynamic libraries:
0x00400000 - 0x0040e000 y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\bin\java.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
0x7c340000 - 0x7c396000 y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\bin\MSVCR71.dll
0x6d9e0000 - 0x6dbea000 y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\jre\bin\client\jvm.dll
0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f56000 C:\WINDOWS\system32\GDI32.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x7c3a0000 - 0x7c41b000 y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\bin\MSVCP71.dll
0x10000000 - 0x10008000 y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\jre\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x003c0000 - 0x003cc000 y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\jre\bin\verify.dll
0x003d0000 - 0x003ed000 y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\jre\bin\java.dll
0x003f0000 - 0x003fe000 y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\jre\bin\zip.dll
0x02ce0000 - 0x02d02000 Y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\jre\bin\splashscreen.dll
0x02d10000 - 0x02e93000 Y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\jre\bin\awt.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
0x73760000 - 0x737a9000 C:\WINDOWS\system32\ddraw.dll
0x73bc0000 - 0x73bc6000 C:\WINDOWS\system32\DCIMAN32.dll
0x03180000 - 0x031cf000 Y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\jre\bin\fontmanager.dll
VM Arguments:
java_command: ShowSplash
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\PROGRA~1\MKSTOO~1\bin;C:\PROGRA~1\MKSTOO~1\bin\x11;C:\PROGRA~1\MKSTOO~1\mksnt;C:\PROGRA~1\ULTRAE~1
USERNAME=praveen
SHELL=C:/PROGRA~1/MKSTOO~1/mksnt/sh.exe
DISPLAY=:0.0
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 2
CPU:total 1 family 15, cmov, cx8, fxsr, mmx, ht
Memory: 4k page, physical 522992k(233400k free), swap 1278288k(993112k free)
vm_info: Java HotSpot(TM) Client VM (1.6.0-ea-b44) for windows-x86, built on Jul 21 2005 01:47:20 by "java_re" with unknown MS VC++:1310
When running this application on WinXP with the current AWT PIT build (b47), the VM crashes while opening a frame after calling getSplashScreen(). This is not reproducible on SolSparc10 with the same PIT build. This is not reproducible on Mustang-b44.
Here is the PIT build:
java version "1.6.0-awt.pit_int_jcg_win_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-awt.pit_int_jcg_win_03-java2d_26_jul_2005_11_02-b00)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b44, mixed mode, sharing)
I have attached a sample test herewith. Run it as follows:
java ShowSplash
You would see a VM crash on the console.
Here is the crash info:
-----------------------
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c918fea, pid=3312, tid=616
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-ea-b44 mixed mode, sharing)
# Problematic frame:
# C [ntdll.dll+0x18fea]
#
--------------- T H R E A D ---------------
Current thread (0x02ecc700): JavaThread "AWT-EventQueue-1" [_thread_in_native, id=616]
siginfo: ExceptionCode=0xc0000005, writing address 0x00000010
Registers:
EAX=0x00000000, EBX=0x00000000, ECX=0x00000398, EDX=0x02cff8e4
ESP=0x0317f8a4, EBP=0x0317f918, ESI=0x02cff8d4, EDI=0x00000000
EIP=0x7c918fea, EFLAGS=0x00010246
Top of Stack: (sp=0x0317f8a4)
0x0317f8a4: 02ecc700 02cfcb80 2c95cbc0 6da71c10
0x0317f8b4: 02eccd1c 6db08432 000365a0 000365a0
0x0317f8c4: 6da95658 6da95686 0000f905 0317f844
0x0317f8d4: 02ecd0f4 0317fd2c 7c90ee18 7c919af0
0x0317f8e4: ffffffff 7c919aeb 7c919ba0 02ce0000
0x0317f8f4: 0317f924 00000000 0317f938 00000001
0x0317f904: 0317f92c 7c80ac66 0317f92c 00000000
0x0317f914: 00000398 0317f968 7c90104b 00cff8d4
Instructions: (pc=0x7c918fea)
0x7c918fda: 8b 46 10 3b c3 89 45 fc 0f 84 9e 00 00 00 8b 06
0x7c918fea: ff 40 10 8b 45 fc 83 e0 01 89 45 e8 8b 06 ff 40
Stack: [0x03140000,0x03180000), sp=0x0317f8a4, free space=254k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [ntdll.dll+0x18fea]
C [ntdll.dll+0x104b]
j java.awt.Window.show()V+49
j java.awt.Component.show(Z)V+5
j java.awt.Component.setVisible(Z)V+2
j java.awt.Window.setVisible(Z)V+2
j ShowSplash$1.run()V+32
j java.awt.event.InvocationEvent.dispatch()V+11
j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+26
j java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+156
j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+148
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
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.awt.SunToolkit.closeSplashScreen()V+0
j java.awt.Window.show()V+49
j java.awt.Component.show(Z)V+5
j java.awt.Component.setVisible(Z)V+2
j java.awt.Window.setVisible(Z)V+2
j ShowSplash$1.run()V+32
j java.awt.event.InvocationEvent.dispatch()V+11
j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+26
j java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+156
j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+148
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 )
0x02eced00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3756]
=>0x02ecc700 JavaThread "AWT-EventQueue-1" [_thread_in_native, id=616]
0x02adf700 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3212]
0x02adf200 JavaThread "AWT-Shutdown" [_thread_blocked, id=3236]
0x02aabc00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2252]
0x02aa9700 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1272]
0x02aa8900 JavaThread "Attach Listener" daemon [_thread_blocked, id=1032]
0x02aa7e00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3144]
0x02a6cb00 JavaThread "Finalizer" daemon [_thread_blocked, id=3568]
0x02a6b500 JavaThread "Reference Handler" daemon [_thread_blocked, id=3564]
0x00037100 JavaThread "main" [_thread_blocked, id=3500]
Other Threads:
0x02a6a600 VMThread [id=3556]
0x02aacf00 WatcherThread [id=3604]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 576K, used 174K [0x24010000, 0x240b0000, 0x244f0000)
eden space 512K, 21% used [0x24010000, 0x2402bb80, 0x24090000)
from space 64K, 100% used [0x240a0000, 0x240b0000, 0x240b0000)
to space 64K, 0% used [0x24090000, 0x24090000, 0x240a0000)
tenured generation total 1408K, used 208K [0x244f0000, 0x24650000, 0x28010000)
the space 1408K, 14% used [0x244f0000, 0x24524040, 0x24524200, 0x24650000)
compacting perm gen total 12288K, used 176K [0x28010000, 0x28c10000, 0x2c010000)
the space 12288K, 1% used [0x28010000, 0x2803c210, 0x2803c400, 0x28c10000)
ro space 8192K, 63% used [0x2c010000, 0x2c51e4a8, 0x2c51e600, 0x2c810000)
rw space 12288K, 54% used [0x2c810000, 0x2ce938b0, 0x2ce93a00, 0x2d410000)
Dynamic libraries:
0x00400000 - 0x0040e000 y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\bin\java.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
0x7c340000 - 0x7c396000 y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\bin\MSVCR71.dll
0x6d9e0000 - 0x6dbea000 y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\jre\bin\client\jvm.dll
0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f56000 C:\WINDOWS\system32\GDI32.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x7c3a0000 - 0x7c41b000 y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\bin\MSVCP71.dll
0x10000000 - 0x10008000 y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\jre\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x003c0000 - 0x003cc000 y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\jre\bin\verify.dll
0x003d0000 - 0x003ed000 y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\jre\bin\java.dll
0x003f0000 - 0x003fe000 y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\jre\bin\zip.dll
0x02ce0000 - 0x02d02000 Y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\jre\bin\splashscreen.dll
0x02d10000 - 0x02e93000 Y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\jre\bin\awt.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
0x73760000 - 0x737a9000 C:\WINDOWS\system32\ddraw.dll
0x73bc0000 - 0x73bc6000 C:\WINDOWS\system32\DCIMAN32.dll
0x03180000 - 0x031cf000 Y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\jre\bin\fontmanager.dll
VM Arguments:
java_command: ShowSplash
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=y:\disk11\awt\mustangbinaries\PIT.26.Jul.2005\windows-i586\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\PROGRA~1\MKSTOO~1\bin;C:\PROGRA~1\MKSTOO~1\bin\x11;C:\PROGRA~1\MKSTOO~1\mksnt;C:\PROGRA~1\ULTRAE~1
USERNAME=praveen
SHELL=C:/PROGRA~1/MKSTOO~1/mksnt/sh.exe
DISPLAY=:0.0
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 2
CPU:total 1 family 15, cmov, cx8, fxsr, mmx, ht
Memory: 4k page, physical 522992k(233400k free), swap 1278288k(993112k free)
vm_info: Java HotSpot(TM) Client VM (1.6.0-ea-b44) for windows-x86, built on Jul 21 2005 01:47:20 by "java_re" with unknown MS VC++:1310