-
Bug
-
Resolution: Fixed
-
P1
-
6
-
b40
-
generic
-
generic
-
Verified
I am running a java application with '-splash' option passing an image file and the splash screen appears. When I call SplashScreen.getSize(), I am getting a VM crash on all platforms and for all image types. VM crash is not an acceptable behavior and brings the entire application to halt. This is a basic feature and hence should work fine in order to qualify this feature for release.
This impacts all platforms and all image types. 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_20_may_2005_05_21-b00)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b37, mixed mode)
I have attached a sample test. Execute the sample test with '-splash' option. You would see a VM crash on the console. I could reproduce this on WinXP and SolSparc10-JDS.
Here is the crash information:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d799875, pid=2744, tid=2456
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-ea-b37 mixed mode)
# Problematic frame:
# V [jvm.dll+0x89875]
#
--------------- T H R E A D ---------------
Current thread (0x00032628): JavaThread "main" [_thread_in_vm, id=2456]
siginfo: ExceptionCode=0xc0000005, reading address 0x0000000f
Registers:
EAX=0x0003411c, EBX=0x0003411c, ECX=0x0085af48, EDX=0x00034120
ESP=0x0007f91c, EBP=0x0007f97c, ESI=0x00032628, EDI=0x00000007
EIP=0x6d799875, EFLAGS=0x00010202
Top of Stack: (sp=0x0007f91c)
0x0007f91c: 00000000 00032628 00000000 6d799f58
0x0007f92c: 008cfb38 00032628 00032628 00000006
0x0007f93c: 00000000 000326dc 1001c818 000326dc
0x0007f94c: 00000000 0007f964 0007f964 6d8015db
0x0007f95c: 00034144 6d7dbadf 6d8363d0 0003414c
0x0007f96c: 0007f9a4 6d77430b 00000007 00000001
0x0007f97c: 0007f9e8 1000116c 000326dc 008cfb38
0x0007f98c: 00911b62 000001a3 00000132 000000ba
Instructions: (pc=0x6d799875)
0x6d799865: 04 e8 e2 c6 f7 ff 85 c0 89 38 8b d8 75 02 33 ff
0x6d799875: 8b 47 08 8d 4f 08 56 6a 00 ff 50 20 83 7e 04 00
Stack: [0x00040000,0x00080000), sp=0x0007f91c, free space=254k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x89875]
C [splashscreen.dll+0x116c]
j java.awt.SplashScreen.getBounds()Ljava/awt/Rectangle;+8
j java.awt.SplashScreen.getSize()Ljava/awt/Dimension;+1
j SplashTest.<init>()V+546
j SplashTest.main([Ljava/lang/String;)V+4
v ~StubRoutines::call_stub
V [jvm.dll+0x858d6]
V [jvm.dll+0xd7d2b]
V [jvm.dll+0x85798]
V [jvm.dll+0x8cca7]
C [java.exe+0x14c5]
C [java.exe+0x672d]
C [kernel32.dll+0x16d4f]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j java.awt.SplashScreen._getBounds(J)Ljava/awt/Rectangle;+0
j java.awt.SplashScreen.getBounds()Ljava/awt/Rectangle;+8
j java.awt.SplashScreen.getSize()Ljava/awt/Dimension;+1
j SplashTest.<init>()V+546
j SplashTest.main([Ljava/lang/String;)V+4
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0b009470 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=944]
0x0afefaa0 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=2172]
0x0afecfa0 JavaThread "AWT-Windows" daemon [_thread_in_native, id=1560]
0x0afec3c0 JavaThread "AWT-Shutdown" [_thread_blocked, id=2652]
0x0afe6528 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3704]
0x008df438 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2756]
0x000345d8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1484]
0x008dc4a0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3164]
0x008dba18 JavaThread "Attach Listener" daemon [_thread_blocked, id=3848]
0x008d1288 JavaThread "Finalizer" daemon [_thread_blocked, id=1248]
0x000327b8 JavaThread "Reference Handler" daemon [_thread_blocked, id=2632]
=>0x00032628 JavaThread "main" [_thread_in_vm, id=2456]
Other Threads:
0x0003f760 VMThread [id=3552]
0x008cca68 WatcherThread [id=3520]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 576K, used 351K [0x02cd0000, 0x02d70000, 0x031b0000)
eden space 512K, 68% used [0x02cd0000, 0x02d27d70, 0x02d50000)
from space 64K, 0% used [0x02d60000, 0x02d60128, 0x02d70000)
to space 64K, 0% used [0x02d50000, 0x02d50000, 0x02d60000)
tenured generation total 8252K, used 7151K [0x031b0000, 0x039bf000, 0x06cd0000)
the space 8252K, 86% used [0x031b0000, 0x038abcc0, 0x038abe00, 0x039bf000)
compacting perm gen total 8192K, used 4008K [0x06cd0000, 0x074d0000, 0x0acd0000)
the space 8192K, 48% used [0x06cd0000, 0x070ba188, 0x070ba200, 0x074d0000)
No shared spaces configured.
Dynamic libraries:
0x00400000 - 0x0040d000 y:\disk11\awt\mustangbinaries\RESPIN.20.May.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
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
0x10000000 - 0x10022000 y:\disk11\awt\mustangbinaries\RESPIN.20.May.2005\windows-i586\jre\bin\splashscreen.dll
0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f56000 C:\WINDOWS\system32\GDI32.dll
0x6d710000 - 0x6d8a0000 y:\disk11\awt\mustangbinaries\RESPIN.20.May.2005\windows-i586\jre\bin\client\jvm.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x009a0000 - 0x00b0d000 C:\WINDOWS\system32\nview.dll
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x7c9c0000 - 0x7d1d4000 C:\WINDOWS\system32\SHELL32.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
0x77120000 - 0x771ac000 C:\WINDOWS\system32\OLEAUT32.dll
0x5d090000 - 0x5d127000 C:\WINDOWS\system32\COMCTL32.dll
0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
0x773d0000 - 0x774d2000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x77690000 - 0x776b1000 C:\WINDOWS\system32\NTMARTA.DLL
0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
0x71bf0000 - 0x71c03000 C:\WINDOWS\system32\SAMLIB.dll
0x00bf0000 - 0x00bf8000 y:\disk11\awt\mustangbinaries\RESPIN.20.May.2005\windows-i586\jre\bin\hpi.dll
0x00c10000 - 0x00c1c000 y:\disk11\awt\mustangbinaries\RESPIN.20.May.2005\windows-i586\jre\bin\verify.dll
0x00c20000 - 0x00c3d000 y:\disk11\awt\mustangbinaries\RESPIN.20.May.2005\windows-i586\jre\bin\java.dll
0x00c40000 - 0x00c4f000 y:\disk11\awt\mustangbinaries\RESPIN.20.May.2005\windows-i586\jre\bin\zip.dll
0x0b170000 - 0x0b2fb000 Y:\disk11\awt\mustangbinaries\RESPIN.20.May.2005\windows-i586\jre\bin\awt.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
0x73760000 - 0x737a9000 C:\WINDOWS\system32\ddraw.dll
0x73bc0000 - 0x73bc6000 C:\WINDOWS\system32\DCIMAN32.dll
0x0b310000 - 0x0b34f000 Y:\disk11\awt\mustangbinaries\RESPIN.20.May.2005\windows-i586\jre\bin\fontmanager.dll
0x0b450000 - 0x0b46f000 Y:\disk11\awt\mustangbinaries\RESPIN.20.May.2005\windows-i586\jre\bin\jpeg.dll
VM Arguments:
java_command: SplashTest
Launcher Type: generic
Environment Variables:
PATH=y:\disk11\awt\mustangbinaries\RESPIN.20.May.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(132472k free), swap 1278288k(887800k free)
vm_info: Java HotSpot(TM) Client VM (1.6.0-ea-b37) for windows-x86, built on May 19 2005 01:42:56 by "java_re" with MS VC++ 6.0
###@###.### 2005-05-21 19:38:35 GMT
This impacts all platforms and all image types. 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_20_may_2005_05_21-b00)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b37, mixed mode)
I have attached a sample test. Execute the sample test with '-splash' option. You would see a VM crash on the console. I could reproduce this on WinXP and SolSparc10-JDS.
Here is the crash information:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d799875, pid=2744, tid=2456
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-ea-b37 mixed mode)
# Problematic frame:
# V [jvm.dll+0x89875]
#
--------------- T H R E A D ---------------
Current thread (0x00032628): JavaThread "main" [_thread_in_vm, id=2456]
siginfo: ExceptionCode=0xc0000005, reading address 0x0000000f
Registers:
EAX=0x0003411c, EBX=0x0003411c, ECX=0x0085af48, EDX=0x00034120
ESP=0x0007f91c, EBP=0x0007f97c, ESI=0x00032628, EDI=0x00000007
EIP=0x6d799875, EFLAGS=0x00010202
Top of Stack: (sp=0x0007f91c)
0x0007f91c: 00000000 00032628 00000000 6d799f58
0x0007f92c: 008cfb38 00032628 00032628 00000006
0x0007f93c: 00000000 000326dc 1001c818 000326dc
0x0007f94c: 00000000 0007f964 0007f964 6d8015db
0x0007f95c: 00034144 6d7dbadf 6d8363d0 0003414c
0x0007f96c: 0007f9a4 6d77430b 00000007 00000001
0x0007f97c: 0007f9e8 1000116c 000326dc 008cfb38
0x0007f98c: 00911b62 000001a3 00000132 000000ba
Instructions: (pc=0x6d799875)
0x6d799865: 04 e8 e2 c6 f7 ff 85 c0 89 38 8b d8 75 02 33 ff
0x6d799875: 8b 47 08 8d 4f 08 56 6a 00 ff 50 20 83 7e 04 00
Stack: [0x00040000,0x00080000), sp=0x0007f91c, free space=254k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x89875]
C [splashscreen.dll+0x116c]
j java.awt.SplashScreen.getBounds()Ljava/awt/Rectangle;+8
j java.awt.SplashScreen.getSize()Ljava/awt/Dimension;+1
j SplashTest.<init>()V+546
j SplashTest.main([Ljava/lang/String;)V+4
v ~StubRoutines::call_stub
V [jvm.dll+0x858d6]
V [jvm.dll+0xd7d2b]
V [jvm.dll+0x85798]
V [jvm.dll+0x8cca7]
C [java.exe+0x14c5]
C [java.exe+0x672d]
C [kernel32.dll+0x16d4f]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j java.awt.SplashScreen._getBounds(J)Ljava/awt/Rectangle;+0
j java.awt.SplashScreen.getBounds()Ljava/awt/Rectangle;+8
j java.awt.SplashScreen.getSize()Ljava/awt/Dimension;+1
j SplashTest.<init>()V+546
j SplashTest.main([Ljava/lang/String;)V+4
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0b009470 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=944]
0x0afefaa0 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=2172]
0x0afecfa0 JavaThread "AWT-Windows" daemon [_thread_in_native, id=1560]
0x0afec3c0 JavaThread "AWT-Shutdown" [_thread_blocked, id=2652]
0x0afe6528 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3704]
0x008df438 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2756]
0x000345d8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1484]
0x008dc4a0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3164]
0x008dba18 JavaThread "Attach Listener" daemon [_thread_blocked, id=3848]
0x008d1288 JavaThread "Finalizer" daemon [_thread_blocked, id=1248]
0x000327b8 JavaThread "Reference Handler" daemon [_thread_blocked, id=2632]
=>0x00032628 JavaThread "main" [_thread_in_vm, id=2456]
Other Threads:
0x0003f760 VMThread [id=3552]
0x008cca68 WatcherThread [id=3520]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 576K, used 351K [0x02cd0000, 0x02d70000, 0x031b0000)
eden space 512K, 68% used [0x02cd0000, 0x02d27d70, 0x02d50000)
from space 64K, 0% used [0x02d60000, 0x02d60128, 0x02d70000)
to space 64K, 0% used [0x02d50000, 0x02d50000, 0x02d60000)
tenured generation total 8252K, used 7151K [0x031b0000, 0x039bf000, 0x06cd0000)
the space 8252K, 86% used [0x031b0000, 0x038abcc0, 0x038abe00, 0x039bf000)
compacting perm gen total 8192K, used 4008K [0x06cd0000, 0x074d0000, 0x0acd0000)
the space 8192K, 48% used [0x06cd0000, 0x070ba188, 0x070ba200, 0x074d0000)
No shared spaces configured.
Dynamic libraries:
0x00400000 - 0x0040d000 y:\disk11\awt\mustangbinaries\RESPIN.20.May.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
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
0x10000000 - 0x10022000 y:\disk11\awt\mustangbinaries\RESPIN.20.May.2005\windows-i586\jre\bin\splashscreen.dll
0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f56000 C:\WINDOWS\system32\GDI32.dll
0x6d710000 - 0x6d8a0000 y:\disk11\awt\mustangbinaries\RESPIN.20.May.2005\windows-i586\jre\bin\client\jvm.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x009a0000 - 0x00b0d000 C:\WINDOWS\system32\nview.dll
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x7c9c0000 - 0x7d1d4000 C:\WINDOWS\system32\SHELL32.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
0x77120000 - 0x771ac000 C:\WINDOWS\system32\OLEAUT32.dll
0x5d090000 - 0x5d127000 C:\WINDOWS\system32\COMCTL32.dll
0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
0x773d0000 - 0x774d2000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x77690000 - 0x776b1000 C:\WINDOWS\system32\NTMARTA.DLL
0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
0x71bf0000 - 0x71c03000 C:\WINDOWS\system32\SAMLIB.dll
0x00bf0000 - 0x00bf8000 y:\disk11\awt\mustangbinaries\RESPIN.20.May.2005\windows-i586\jre\bin\hpi.dll
0x00c10000 - 0x00c1c000 y:\disk11\awt\mustangbinaries\RESPIN.20.May.2005\windows-i586\jre\bin\verify.dll
0x00c20000 - 0x00c3d000 y:\disk11\awt\mustangbinaries\RESPIN.20.May.2005\windows-i586\jre\bin\java.dll
0x00c40000 - 0x00c4f000 y:\disk11\awt\mustangbinaries\RESPIN.20.May.2005\windows-i586\jre\bin\zip.dll
0x0b170000 - 0x0b2fb000 Y:\disk11\awt\mustangbinaries\RESPIN.20.May.2005\windows-i586\jre\bin\awt.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll
0x73760000 - 0x737a9000 C:\WINDOWS\system32\ddraw.dll
0x73bc0000 - 0x73bc6000 C:\WINDOWS\system32\DCIMAN32.dll
0x0b310000 - 0x0b34f000 Y:\disk11\awt\mustangbinaries\RESPIN.20.May.2005\windows-i586\jre\bin\fontmanager.dll
0x0b450000 - 0x0b46f000 Y:\disk11\awt\mustangbinaries\RESPIN.20.May.2005\windows-i586\jre\bin\jpeg.dll
VM Arguments:
java_command: SplashTest
Launcher Type: generic
Environment Variables:
PATH=y:\disk11\awt\mustangbinaries\RESPIN.20.May.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(132472k free), swap 1278288k(887800k free)
vm_info: Java HotSpot(TM) Client VM (1.6.0-ea-b37) for windows-x86, built on May 19 2005 01:42:56 by "java_re" with MS VC++ 6.0
###@###.### 2005-05-21 19:38:35 GMT