JDK-6215905 : REGRESSION: IE6 crashes when start JCK test
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: generic,x86
  • Submitted: 2005-01-11
  • Updated: 2012-03-23
  • Resolved: 2005-02-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b24Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
JDK            : mustang b17 (pass in b13, b14.  Start failing in b15)
JCK            : jck1.5a
Platform[s]    : Windows XP Home
switch/Mode    : IE6 plugin
JCK test owner : http://javaweb.eng/jck/usr/owners.jto

This is for JCK plugin IE6 testing.  When javatest starts, IE crashes.  So, we cannot run JCK plugIn IE6 tests at all.

How to reproduce:
=====================
1. Map Y://cady/export
2. Bring up IE6 and open Y:/dtf/unified/knight-ws/suites/jck/jck1.5a/JCK-runtime-15a/classes/win-slave.html
3. cd Y:/dtf/unified/results/mustang/b17/jck/jck-jck_runtime-winXPIE6-2005-01-10-15-30-16-0169/AT-01.10-15.32.40/RUNTIME.DEFAULT.AGENT
4. run javatest.sh
You'll see IE close.  A crash log is created in Desktop directory.

crash log:
=============
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d6dbe28, pid=1720, tid=1908
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-ea-b17 mixed mode, sharing)
# Problematic frame:
# V  [jvm.dll+0x8be28]
#

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

Current thread (0x04621898):  JavaThread "AWT-Windows" daemon [_thread_in_vm, id=1908]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

Registers:
EAX=0x00000000, EBX=0x00000000, ECX=0x0000deab, EDX=0x7c90eb94
ESP=0x04b1f96c, EBP=0x04b1f97c, ESI=0x0462194c, EDI=0x04613568
EIP=0x6d6dbe28, EFLAGS=0x00010246

Top of Stack: (sp=0x04b1f96c)
0x04b1f96c:   04613568 0462194c 00000000 04621898
0x04b1f97c:   04b1f9ac 6d0e5c4a 0462194c 00000000
0x04b1f98c:   00000000 00008025 0462194c 00000000
0x04b1f99c:   04643a14 00000004 04b1fa48 00000000
0x04b1f9ac:   04b1f9e0 6d0f7232 04673d60 04b1fa48
0x04b1f9bc:   6d0f6c20 00000000 00000000 04621898
0x04b1f9cc:   0462194c 04b1f9b8 04b1fa64 6d108408
0x04b1f9dc:   00000001 04b1fa0c 77d48709 0002010a 

Instructions: (pc=0x6d6dbe28)
0x6d6dbe18:   83 c4 10 85 c0 74 03 c6 00 01 8b 45 0c 53 56 57
0x6d6dbe28:   8b 30 56 e8 13 84 ff ff 56 8b d8 e8 27 84 ff ff 


Stack: [0x04a20000,0x04b20000),  sp=0x04b1f96c,  free space=1022k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [jvm.dll+0x8be28]
C  [awt.dll+0xe5c4a]
C  [awt.dll+0xf7232]
C  [USER32.dll+0x8709]
C  [USER32.dll+0x87eb]
C  [USER32.dll+0xb368]
C  [USER32.dll+0xb3b4]
C  [ntdll.dll+0xeae3]
C  [USER32.dll+0x93df]

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 )
  0x04752ae0 JavaThread "Timer1" daemon [_thread_blocked, id=2444]
  0x0464ef68 JavaThread "Agent0" [_thread_in_native, id=2432]
  0x04f93d90 JavaThread "Timer0" daemon [_thread_blocked, id=2424]
  0x047dd2f0 JavaThread "AgentPanel worker thread" [_thread_blocked, id=2412]
  0x04f82488 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=2400]
  0x04617e98 JavaThread "TimerQueue" daemon [_thread_blocked, id=1780]
  0x047ed550 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=956]
  0x04643e38 JavaThread "AWT-EventQueue-2" [_thread_blocked, id=2348]
  0x047ed938 JavaThread "thread applet-com.sun.javatest.agent.AgentApplet" [_thread_blocked, id=2216]
  0x046214a0 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=2144]
  0x04633038 JavaThread "AWT-Shutdown" [_thread_blocked, id=2132]
  0x0462cd10 JavaThread "traceMsgQueueThread" [_thread_blocked, id=1896]
=>0x04621898 JavaThread "AWT-Windows" daemon [_thread_in_vm, id=1908]
  0x0461bda0 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1276]
  0x01d1dab0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=848]
  0x01d1c6c8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=968]
  0x01d1b998 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=868]
  0x01cedd38 JavaThread "Finalizer" daemon [_thread_blocked, id=872]
  0x01cec8c0 JavaThread "Reference Handler" daemon [_thread_blocked, id=1028]
  0x01c70048 JavaThread "main" [_thread_in_native, id=1740]

Other Threads:
  0x01d18038 VMThread [id=992]
  0x01d1ecc0 WatcherThread [id=820]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 576K, used 168K [0x20a80000, 0x20b20000, 0x211e0000)
  eden space 512K,  20% used [0x20a80000, 0x20a9a9f0, 0x20b00000)
  from space 64K,  96% used [0x20b00000, 0x20b0f7d8, 0x20b10000)
  to   space 64K,   0% used [0x20b10000, 0x20b10000, 0x20b20000)
 tenured generation   total 3236K, used 3114K [0x211e0000, 0x21509000, 0x26a80000)
   the space 3236K,  96% used [0x211e0000, 0x214ea8b8, 0x214eaa00, 0x21509000)
 compacting perm gen  total 8192K, used 1729K [0x26a80000, 0x27280000, 0x2aa80000)
   the space 8192K,  21% used [0x26a80000, 0x26c306d8, 0x26c30800, 0x27280000)
    ro space 8192K,  66% used [0x2aa80000, 0x2afd40c8, 0x2afd4200, 0x2b280000)
    rw space 12288K,  46% used [0x2b280000, 0x2b80a3c8, 0x2b80a400, 0x2be80000)

Dynamic libraries:
0x00400000 - 0x00419000         C:\Program Files\Internet Explorer\iexplore.exe
0x7c900000 - 0x7c9b0000         C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000         C:\WINDOWS\system32\kernel32.dll
0x77c10000 - 0x77c68000         C:\WINDOWS\system32\msvcrt.dll
0x77d40000 - 0x77dd0000         C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f56000         C:\WINDOWS\system32\GDI32.dll
0x77f60000 - 0x77fd6000         C:\WINDOWS\system32\SHLWAPI.dll
0x77dd0000 - 0x77e6b000         C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000         C:\WINDOWS\system32\RPCRT4.dll
0x77760000 - 0x778cc000         C:\WINDOWS\system32\SHDOCVW.dll
0x77a80000 - 0x77b14000         C:\WINDOWS\system32\CRYPT32.dll
0x77b20000 - 0x77b32000         C:\WINDOWS\system32\MSASN1.dll
0x754d0000 - 0x75550000         C:\WINDOWS\system32\CRYPTUI.dll
0x76c30000 - 0x76c5e000         C:\WINDOWS\system32\WINTRUST.dll
0x76c90000 - 0x76cb8000         C:\WINDOWS\system32\IMAGEHLP.dll
0x77120000 - 0x771ac000         C:\WINDOWS\system32\OLEAUT32.dll
0x774e0000 - 0x7761c000         C:\WINDOWS\system32\ole32.dll
0x5b860000 - 0x5b8b4000         C:\WINDOWS\system32\NETAPI32.dll
0x771b0000 - 0x77256000         C:\WINDOWS\system32\WININET.dll
0x76f60000 - 0x76f8c000         C:\WINDOWS\system32\WLDAP32.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
0x7c9c0000 - 0x7d1d4000         C:\WINDOWS\system32\SHELL32.dll
0x5d090000 - 0x5d127000         C:\WINDOWS\system32\comctl32.dll
0x10000000 - 0x1000e000         C:\Program Files\RealVNC\VNC4\wm_hooks.dll
0x75f80000 - 0x7607c000         C:\WINDOWS\system32\BROWSEUI.dll
0x20000000 - 0x20012000         C:\WINDOWS\system32\browselc.dll
0x77b40000 - 0x77b62000         C:\WINDOWS\system32\appHelp.dll
0x76fd0000 - 0x7704f000         C:\WINDOWS\system32\CLBCATQ.DLL
0x77050000 - 0x77115000         C:\WINDOWS\system32\COMRes.dll
0x71b20000 - 0x71b32000         C:\WINDOWS\system32\MPR.dll
0x75f60000 - 0x75f67000         C:\WINDOWS\System32\drprov.dll
0x71c10000 - 0x71c1e000         C:\WINDOWS\System32\ntlanman.dll
0x71cd0000 - 0x71ce7000         C:\WINDOWS\System32\NETUI0.dll
0x71c90000 - 0x71cd0000         C:\WINDOWS\System32\NETUI1.dll
0x71c80000 - 0x71c87000         C:\WINDOWS\System32\NETRAP.dll
0x71bf0000 - 0x71c03000         C:\WINDOWS\System32\SAMLIB.dll
0x75f70000 - 0x75f79000         C:\WINDOWS\System32\davclnt.dll
0x5ad70000 - 0x5ada8000         C:\WINDOWS\system32\UxTheme.dll
0x77fe0000 - 0x77ff1000         C:\WINDOWS\system32\Secur32.dll
0x77260000 - 0x772fc000         C:\WINDOWS\system32\urlmon.dll
0x77a20000 - 0x77a74000         C:\WINDOWS\System32\cscui.dll
0x76600000 - 0x7661d000         C:\WINDOWS\System32\CSCDLL.dll
0x77920000 - 0x77a13000         C:\WINDOWS\system32\SETUPAPI.dll
0x00d40000 - 0x00dc8000         C:\WINDOWS\system32\shdoclc.dll
0x00dd0000 - 0x01095000         C:\WINDOWS\system32\xpsp2res.dll
0x75cf0000 - 0x75d81000         C:\WINDOWS\system32\mlang.dll
0x7d4a0000 - 0x7d782000         C:\WINDOWS\System32\mshtml.dll
0x746c0000 - 0x746e7000         C:\WINDOWS\System32\msls31.dll
0x75e90000 - 0x75f40000         C:\WINDOWS\system32\SXS.DLL
0x746f0000 - 0x7471a000         C:\WINDOWS\System32\msimtf.dll
0x74720000 - 0x7476b000         C:\WINDOWS\System32\MSCTF.dll
0x76390000 - 0x763ad000         C:\WINDOWS\system32\IMM32.DLL
0x75c50000 - 0x75cbe000         C:\WINDOWS\System32\jscript.dll
0x71ad0000 - 0x71ad9000         C:\WINDOWS\system32\wsock32.dll
0x71ab0000 - 0x71ac7000         C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000         C:\WINDOWS\system32\WS2HELP.dll
0x6d590000 - 0x6d5a1000         C:\jdk\b17\windows-i586\jre1.6.0\bin\npjpi160.dll
0x5edd0000 - 0x5ede7000         C:\WINDOWS\system32\OLEPRO32.DLL
0x6d400000 - 0x6d417000         C:\jdk\b17\windows-i586\jre1.6.0\bin\jpiexp32.dll
0x71a50000 - 0x71a8f000         C:\WINDOWS\System32\mswsock.dll
0x76f20000 - 0x76f47000         C:\WINDOWS\system32\DNSAPI.dll
0x76fb0000 - 0x76fb8000         C:\WINDOWS\System32\winrnr.dll
0x6d450000 - 0x6d463000         C:\jdk\b17\windows-i586\jre1.6.0\bin\jpishare.dll
0x6d650000 - 0x6d7d5000         C:\jdk\b17\WINDOW~1\JDK16~1.0\jre\bin\client\jvm.dll
0x76b40000 - 0x76b6d000         C:\WINDOWS\system32\WINMM.dll
0x6d280000 - 0x6d288000         C:\jdk\b17\WINDOW~1\JDK16~1.0\jre\bin\hpi.dll
0x76bf0000 - 0x76bfb000         C:\WINDOWS\system32\PSAPI.DLL
0x6d620000 - 0x6d62c000         C:\jdk\b17\WINDOW~1\JDK16~1.0\jre\bin\verify.dll
0x6d300000 - 0x6d31d000         C:\jdk\b17\WINDOW~1\JDK16~1.0\jre\bin\java.dll
0x6d640000 - 0x6d64f000         C:\jdk\b17\WINDOW~1\JDK16~1.0\jre\bin\zip.dll
0x6d000000 - 0x6d17d000         C:\jdk\b17\windows-i586\jdk1.6.0\jre\bin\awt.dll
0x73000000 - 0x73026000         C:\WINDOWS\system32\WINSPOOL.DRV
0x73760000 - 0x737a9000         C:\WINDOWS\system32\ddraw.dll
0x73bc0000 - 0x73bc6000         C:\WINDOWS\system32\DCIMAN32.dll
0x73940000 - 0x73a10000         C:\WINDOWS\system32\D3DIM700.DLL
0x6d240000 - 0x6d280000         C:\jdk\b17\windows-i586\jdk1.6.0\jre\bin\fontmanager.dll
0x6d200000 - 0x6d20a000         C:\jdk\b17\windows-i586\jdk1.6.0\jre\bin\deploy.dll
0x6d5e0000 - 0x6d5fd000         C:\jdk\b17\windows-i586\jdk1.6.0\jre\bin\RegUtils.dll
0x7d1e0000 - 0x7d492000         C:\WINDOWS\system32\msi.dll
0x769c0000 - 0x76a73000         C:\WINDOWS\system32\USERENV.dll
0x6d3e0000 - 0x6d3f4000         C:\jdk\b17\windows-i586\jre1.6.0\bin\jpicom32.dll
0x6d4c0000 - 0x6d4d3000         C:\jdk\b17\windows-i586\jdk1.6.0\jre\bin\net.dll
0x76fc0000 - 0x76fc6000         C:\WINDOWS\system32\rasadhlp.dll
0x6d4e0000 - 0x6d4e9000         C:\jdk\b17\windows-i586\jdk1.6.0\jre\bin\nio.dll
0x74e30000 - 0x74e9c000         C:\WINDOWS\system32\RICHED20.DLL
0x6d1d0000 - 0x6d1f3000         C:\jdk\b17\windows-i586\jdk1.6.0\jre\bin\dcpr.dll
0x662b0000 - 0x66308000         C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000         C:\WINDOWS\System32\wshtcpip.dll

VM Arguments:
jvm_args: -Xbootclasspath/a:C:\jdk\b17\WINDOW~1\JRE16~1.0\lib\deploy.jar;C:\jdk\b17\WINDOW~1\JRE16~1.0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.6.0 -Djavaplugin.nodotversion=160 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:/jdk/b17/WINDOW~1/JDK16~1.0/jre -Djavatest.security.allowPropertiesAccess=true -Djava.protocol.handler.pkgs=sun.plugin.net.protocol -Djavaplugin.vm.options=-Djava.class.path=C:/jdk/b17/WINDOW~1/JDK16~1.0/jre\classes -Xbootclasspath/a:C:\jdk\b17\WINDOW~1\JRE16~1.0\lib\deploy.jar;C:\jdk\b17\WINDOW~1\JRE16~1.0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.6.0 -Djavaplugin.nodotversion=160 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:/jdk/b17/WINDOW~1/JDK16~1.0/jre -Djavatest.security.allowPropertiesAccess=true -Djava.protocol.handler.pkgs=sun.plugin.net.protocol 
java_command: <unknown>

Environment Variables:
PATH=C:/jdk/b17/WINDOW~1/JDK16~1.0/jre\bin;C:\mks\bin;C:\mks\bin\X11;C:\mks\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;;.
USERNAME=dtftest
LD_LIBRARY_PATH=Y:/dtf/unified/knight-ws/suites/jck/jck1.5a/JCK-runtime-15a/lib/win32:/usr/sfw/lib:
SHELL=C:/mks/mksnt/sh.exe
DISPLAY=:0.0
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 6, GenuineIntel



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

OS: Windows XP Build 2600 Service Pack 2

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

Memory: 4k page, physical 523568k(271684k free), swap 1280216k(1001188k free)

vm_info: Java HotSpot(TM) Client VM (1.6.0-ea-b17) for windows-x86, built on Dec 23 2004 02:09:01 by "java_re" with MS VC++ 6.0


tested machine:
==============
giedi (Win XP Home):
Platform configuration:

CPU:
Intel 32bit
Single Processor
Processor Speed: 930 MHz

Operating System:
Windows XP (version 5.1 Service Pack 2 (Build 2600))

DirectX version: DirectX 8.1 or greater

DirectX display devices:
Device 0:
  Resolution (width x height x depth): 1024 x 768 x 32
  Device driver nv4_disp.dll version 6.14.10.5216

GDI display devices: 
Primary: Name = \\.\DISPLAY1, Description = NVIDIA GeForce2 GTS
###@###.### 2005-1-11 00:20:24 GMT
###@###.### 2005-1-12 18:31:47 GMT

Comments
EVALUATION Crash is reproducible on Win2000 while JCK harness starts. It's not depends on active or passive modes. ###@###.### 2005-1-12 14:29:29 GMT This might be useful that the failure is in _static_ method "void load(String)" in JPISHARE.dll . ###@###.### 2005-1-12 15:43:49 GMT possibly an AWT but working is impossible due to IE crash in plugin code. Assign to plugin. ###@###.### 2005-1-13 12:51:59 GMT I can reproduce the crash with 6.0 b19. The crash seems to be in awt.dll. Using the intermediate binary awt.pdb, I got the following stack trace: JVM! 6d6dbf20()^M AwtLabel::_SetText(void * 0x085272f0) line 237^M AwtToolkit::WndProc(HWND__ * 0x00560518, unsigned int 32805, unsigned int 1829657561, long 139621104) line 824 + 7 bytes^M USER32! 77e11ef0()^M USER32! 77e13869()^M USER32! 77e138ab()^M NTDLL! 77f9ff57()^M USER32! 77e118ec()^M AwtToolkit::CommonPeekMessageFunc(tagMSG & {msg=0x0897fbf8 wp=0x6d0f6481 lp=0x0848647c}) line 1104^M AwtToolkit::PumpWaitingMessages(AwtToolkit * const 0x0000deab, int (tagMSG &)* 0x6d0f7455) line 1066 + 28 bytes^M AwtToolkit::MessageLoop(AwtToolkit * const 0x0000deab, void (void)* 0x6d0f7630 AwtToolkit::PrimaryIdleFunc(void), int (tagMSG &)* 0x6d0f7660 AwtToolkit::CommonPeekMessageFunc(tagMSG &)) line 976^M Java_sun_awt_windows_WToolkit_eventLoop(JNIEnv_ * 0x006a006a, _jobject * 0xbc15ff50) line 1757^M 006a016a() The crash is at the following line of AwtLabel::_SetText : if (textStr == NULL) At crash, the testStr had a value of 0x00000004 which seems invalid. Since this bug was discovered in b15 as a regression and there's no deployment bug fixes in b15 accroding to the following web page, I'm transferring back to the AWT team for further investigation. https://www.dev.java.net/files/documents/2396/9619/mustang-b15.html ###@###.### 2005-1-19 00:11:35 GMT Looks like 5065001 regression. ###@###.### 2005-1-19 09:15:16 GMT temporarily could not work on it because of crash in other place. Working on it. ###@###.### 2005-1-19 16:05:29 GMT Ca After the fix for 5065001 there have appeared some calls to JNU_GetStringPlatformChars with null strings. Such calls lead to crash in jvm.dll library. I have founded at least two such calls: in awt_Choice.cpp and awt_Label.cpp. ###@###.### 2005-1-20 14:24:23 GMT ###@###.### 2005-1-21 12:01:54 GMT
12-01-2005