-
Bug
-
Resolution: Won't Fix
-
P3
-
5.0
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2138833 | 6u12 | Calvin Cheung | P3 | Closed | Won't Fix |
FULL PRODUCT VERSION :
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
ADDITIONAL OS VERSION INFORMATION :
OS: Windows Server 2003 family Build 3790
EXTRA RELEVANT SYSTEM CONFIGURATION :
IIS 6.0 running in IIS 5.0 Isolation mode
A DESCRIPTION OF THE PROBLEM :
A packaged bean will fail when accessed from an ASP on a Windows 2003 Server.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
When you click the Enter button on the page, the time should display at the top of the page.
ACTUAL -
IIS error and hs_err_pid log
ERROR MESSAGES/STACK TRACES THAT OCCUR :
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77f49065, pid=3788, tid=7572
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode, sharing)
# Problematic frame:
# C 0x77f49065
#
--------------- T H R E A D ---------------
Current thread (0x02430350): JavaThread "main" [_thread_in_native, id=7572]
siginfo: ExceptionCode=0xc0000005, reading address 0x020801f0
Registers:
EAX=0x7ff90201, EBX=0x00000001, ECX=0x00000000, EDX=0x00000007
ESP=0x0225dfcc, EBP=0x0225e01c, ESI=0x000e7640, EDI=0x020801f0
EIP=0x77f49065, EFLAGS=0x00010297
Top of Stack: (sp=0x0225dfcc)
0x0225dfcc: 0497b624 0497b618 77da372e 000e7640
0x0225dfdc: 020801f0 6d5dd80f 000e7640 020801f0
0x0225dfec: 0225e0c8 77e46417 26b46830 00000000
0x0225dffc: 77f80500 77da38e9 77da3718 77da359d
0x0225e00c: 77da38f4 000e7640 00000000 00000000
0x0225e01c: 0225e0c8 6d5dd8a5 02430350 26b46830
0x0225e02c: 0000009c 00000005 00000002 00000ece
0x0225e03c: 00000002 00000000 00000000 00000000
Instructions: (pc=0x77f49065)
0x77f49055: 90 90 90 56 8b 74 24 08 66 8b 06 57 8b 7c 24 10
0x77f49065: 66 3b 07 74 07 32 c0 5f 5e c2 08 00 0f b6 4e 01
Stack: [0x02220000,0x02260000), sp=0x0225dfcc, free space=247k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x77f49065
C 0x6d5dd8a5
C 0x6d5d5b65
j com.sun.deploy.util.UpdateCheck.shouldPromptForAutoCheck()Z+0
j com.sun.deploy.util.UpdateCheck.showDialog()V+0
j sun.plugin.AppletViewer.initEnvironment(I)V+888
j sun.plugin.AppletViewer.initEnvironment(IJ)V+12
v ~StubRoutines::call_stub
C 0x6d6c168d
C 0x6d714179
C 0x6d6c155e
C 0x6d6c84b3
C 0x6d174d25
C 0x6d17109d
C 0x6d1761de
C 0x6d17612c
C 0x7717564d
C 0x77174410
C 0x7717575c
C 0x771756e1
C 0x77175066
C 0x77175019
C 0x771757bb
C 0x77174410
C 0x771743b1
C 0x77174410
C 0x7717424d
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.deploy.util.UpdateCheck.shouldPromptForAutoCheck()Z+0
j com.sun.deploy.util.UpdateCheck.showDialog()V+0
j sun.plugin.AppletViewer.initEnvironment(I)V+888
j sun.plugin.AppletViewer.initEnvironment(IJ)V+12
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x049762c0 JavaThread "traceMsgQueueThread" [_thread_blocked, id=8028]
0x0496a060 JavaThread "AWT-Windows" daemon [_thread_in_native, id=6464]
0x04969c28 JavaThread "AWT-Shutdown" [_thread_blocked, id=6024]
0x04968bc0 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=5968]
0x024dd3b0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=5236]
0x024dc010 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5364]
0x024db268 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7068]
0x024d7e30 JavaThread "Finalizer" daemon [_thread_blocked, id=7288]
0x024d7158 JavaThread "Reference Handler" daemon [_thread_blocked, id=6664]
=>0x02430350 JavaThread "main" [_thread_in_native, id=7572]
Other Threads:
0x024d49d8 VMThread [id=7508]
0x024de6f8 WatcherThread [id=7676]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 576K, used 537K [0x22a70000, 0x22b10000, 0x22f50000)
eden space 512K, 92% used [0x22a70000, 0x22ae6618, 0x22af0000)
from space 64K, 100% used [0x22b00000, 0x22b10000, 0x22b10000)
to space 64K, 0% used [0x22af0000, 0x22af0000, 0x22b00000)
tenured generation total 1408K, used 185K [0x22f50000, 0x230b0000, 0x26a70000)
the space 1408K, 13% used [0x22f50000, 0x22f7e420, 0x22f7e600, 0x230b0000)
compacting perm gen total 8192K, used 858K [0x26a70000, 0x27270000, 0x2aa70000)
the space 8192K, 10% used [0x26a70000, 0x26b46aa8, 0x26b46c00, 0x27270000)
ro space 8192K, 62% used [0x2aa70000, 0x2af77160, 0x2af77200, 0x2b270000)
rw space 12288K, 46% used [0x2b270000, 0x2b7fc1c0, 0x2b7fc200, 0x2be70000)
Dynamic libraries:
VM Arguments:
jvm_args: -Xbootclasspath/a:C:\PROGRA~1\Java\JRE15~1.0\lib\deploy.jar;C:\PROGRA~1\Java\JRE15~1.0\lib\plugin.jar -Xmx64m -Djavaplugin.maxHeapSize=64m -Xverify:remote -Djavaplugin.version=1.5.0 -Djavaplugin.nodotversion=150 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE15~1.0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol -Djavaplugin.vm.options=-Djava.class.path=C:\PROGRA~1\Java\JRE15~1.0\classes -Xbootclasspath/a:C:\PROGRA~1\Java\JRE15~1.0\lib\deploy.jar;C:\PROGRA~1\Java\JRE15~1.0\lib\plugin.jar -Xmx64m -Djavaplugin.maxHeapSize=64m -Xverify:remote -Djavaplugin.version=1.5.0 -Djavaplugin.nodotversion=150 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE15~1.0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol vfprintf
java_command: <unknown>
Environment Variables:
PATH=C:\PROGRA~1\Java\JRE15~1.0\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Unisys\SuperGen 1.0\Bin;C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\;C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\;C:\Program Files\NetIQ\AppManager\bin;C:\Program Files\NetIQ\Common\bin;.
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 6, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows Server 2003 family Build 3790
CPU:total 8 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
Memory: 4k page, physical 2096560k(1488676k free), swap 4042552k(3579504k 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
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
// bean source
import java.awt.*;
import java.util.*;
import java.text.DateFormat;
public class TestBean {
private DateFormat dtformat;
private void init_dtformat()
{
Locale currentLocale = new Locale("en", "US");
dtformat = DateFormat.getTimeInstance(DateFormat.DEFAULT, currentLocale);
}
public TestBean() {
init_dtformat();
}
public int OnStartPage (Object obj) {
return 0;
}
public int OnEndPage () {
return 0;
}
public String echoText(String textIn) {
return dtformat.format(Calendar.getInstance().getTime()) + " " + textIn;
}
}
// global.asa source
<SCRIPT RUNAT=Server Language=VBScript>
Sub Session_OnStart
Set objBean = Server.CreateObject("TestBean.Bean.1")
Set Session("objBean") = objBean
End Sub
Sub Session_OnEnd
End Sub
</SCRIPT>
//test.asp source
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Final//EN">
<HTML>
<HEAD>
<TITLE>Test ActiveX Bridge</TITLE>
</HEAD>
<%
sAction=request.Form("MYACTION")
if sAction = "AGAIN" then
Dim testBean
'Set objBean = CreateObject("TestBean.Bean.1")
set objBean = Session("objBean")
response.write(objBean.echoText(" = the current time."))
end if
%>
<BODY>
<h1>Test ActiveX Bridge</h1>
<hr>
<FORM NAME = "TESTFORM" METHOD="POST" ACTION="test.asp" >
<INPUT type=text name= "MYACTION" size=5 maxlength=5 value= "<%response.write "AGAIN"%>" tabindex=1>
<INPUT type=submit value="Enter" tabindex=2>
</FORM>
</BODY>
</HTML>
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Use 1.4.2_05. Do not use 1.5 or 1.4.2_06 as the problem occurs on each of those releases.
Release Regression From : 1.4.2_05
The above release value was the last known release where this
bug was known to work. Since then there has been a regression.
###@###.### 2004-12-06 19:04:32 GMT
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
ADDITIONAL OS VERSION INFORMATION :
OS: Windows Server 2003 family Build 3790
EXTRA RELEVANT SYSTEM CONFIGURATION :
IIS 6.0 running in IIS 5.0 Isolation mode
A DESCRIPTION OF THE PROBLEM :
A packaged bean will fail when accessed from an ASP on a Windows 2003 Server.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
When you click the Enter button on the page, the time should display at the top of the page.
ACTUAL -
IIS error and hs_err_pid log
ERROR MESSAGES/STACK TRACES THAT OCCUR :
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77f49065, pid=3788, tid=7572
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode, sharing)
# Problematic frame:
# C 0x77f49065
#
--------------- T H R E A D ---------------
Current thread (0x02430350): JavaThread "main" [_thread_in_native, id=7572]
siginfo: ExceptionCode=0xc0000005, reading address 0x020801f0
Registers:
EAX=0x7ff90201, EBX=0x00000001, ECX=0x00000000, EDX=0x00000007
ESP=0x0225dfcc, EBP=0x0225e01c, ESI=0x000e7640, EDI=0x020801f0
EIP=0x77f49065, EFLAGS=0x00010297
Top of Stack: (sp=0x0225dfcc)
0x0225dfcc: 0497b624 0497b618 77da372e 000e7640
0x0225dfdc: 020801f0 6d5dd80f 000e7640 020801f0
0x0225dfec: 0225e0c8 77e46417 26b46830 00000000
0x0225dffc: 77f80500 77da38e9 77da3718 77da359d
0x0225e00c: 77da38f4 000e7640 00000000 00000000
0x0225e01c: 0225e0c8 6d5dd8a5 02430350 26b46830
0x0225e02c: 0000009c 00000005 00000002 00000ece
0x0225e03c: 00000002 00000000 00000000 00000000
Instructions: (pc=0x77f49065)
0x77f49055: 90 90 90 56 8b 74 24 08 66 8b 06 57 8b 7c 24 10
0x77f49065: 66 3b 07 74 07 32 c0 5f 5e c2 08 00 0f b6 4e 01
Stack: [0x02220000,0x02260000), sp=0x0225dfcc, free space=247k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x77f49065
C 0x6d5dd8a5
C 0x6d5d5b65
j com.sun.deploy.util.UpdateCheck.shouldPromptForAutoCheck()Z+0
j com.sun.deploy.util.UpdateCheck.showDialog()V+0
j sun.plugin.AppletViewer.initEnvironment(I)V+888
j sun.plugin.AppletViewer.initEnvironment(IJ)V+12
v ~StubRoutines::call_stub
C 0x6d6c168d
C 0x6d714179
C 0x6d6c155e
C 0x6d6c84b3
C 0x6d174d25
C 0x6d17109d
C 0x6d1761de
C 0x6d17612c
C 0x7717564d
C 0x77174410
C 0x7717575c
C 0x771756e1
C 0x77175066
C 0x77175019
C 0x771757bb
C 0x77174410
C 0x771743b1
C 0x77174410
C 0x7717424d
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.deploy.util.UpdateCheck.shouldPromptForAutoCheck()Z+0
j com.sun.deploy.util.UpdateCheck.showDialog()V+0
j sun.plugin.AppletViewer.initEnvironment(I)V+888
j sun.plugin.AppletViewer.initEnvironment(IJ)V+12
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x049762c0 JavaThread "traceMsgQueueThread" [_thread_blocked, id=8028]
0x0496a060 JavaThread "AWT-Windows" daemon [_thread_in_native, id=6464]
0x04969c28 JavaThread "AWT-Shutdown" [_thread_blocked, id=6024]
0x04968bc0 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=5968]
0x024dd3b0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=5236]
0x024dc010 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5364]
0x024db268 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7068]
0x024d7e30 JavaThread "Finalizer" daemon [_thread_blocked, id=7288]
0x024d7158 JavaThread "Reference Handler" daemon [_thread_blocked, id=6664]
=>0x02430350 JavaThread "main" [_thread_in_native, id=7572]
Other Threads:
0x024d49d8 VMThread [id=7508]
0x024de6f8 WatcherThread [id=7676]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 576K, used 537K [0x22a70000, 0x22b10000, 0x22f50000)
eden space 512K, 92% used [0x22a70000, 0x22ae6618, 0x22af0000)
from space 64K, 100% used [0x22b00000, 0x22b10000, 0x22b10000)
to space 64K, 0% used [0x22af0000, 0x22af0000, 0x22b00000)
tenured generation total 1408K, used 185K [0x22f50000, 0x230b0000, 0x26a70000)
the space 1408K, 13% used [0x22f50000, 0x22f7e420, 0x22f7e600, 0x230b0000)
compacting perm gen total 8192K, used 858K [0x26a70000, 0x27270000, 0x2aa70000)
the space 8192K, 10% used [0x26a70000, 0x26b46aa8, 0x26b46c00, 0x27270000)
ro space 8192K, 62% used [0x2aa70000, 0x2af77160, 0x2af77200, 0x2b270000)
rw space 12288K, 46% used [0x2b270000, 0x2b7fc1c0, 0x2b7fc200, 0x2be70000)
Dynamic libraries:
VM Arguments:
jvm_args: -Xbootclasspath/a:C:\PROGRA~1\Java\JRE15~1.0\lib\deploy.jar;C:\PROGRA~1\Java\JRE15~1.0\lib\plugin.jar -Xmx64m -Djavaplugin.maxHeapSize=64m -Xverify:remote -Djavaplugin.version=1.5.0 -Djavaplugin.nodotversion=150 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE15~1.0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol -Djavaplugin.vm.options=-Djava.class.path=C:\PROGRA~1\Java\JRE15~1.0\classes -Xbootclasspath/a:C:\PROGRA~1\Java\JRE15~1.0\lib\deploy.jar;C:\PROGRA~1\Java\JRE15~1.0\lib\plugin.jar -Xmx64m -Djavaplugin.maxHeapSize=64m -Xverify:remote -Djavaplugin.version=1.5.0 -Djavaplugin.nodotversion=150 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE15~1.0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol vfprintf
java_command: <unknown>
Environment Variables:
PATH=C:\PROGRA~1\Java\JRE15~1.0\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Unisys\SuperGen 1.0\Bin;C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\;C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\;C:\Program Files\NetIQ\AppManager\bin;C:\Program Files\NetIQ\Common\bin;.
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 6, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows Server 2003 family Build 3790
CPU:total 8 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
Memory: 4k page, physical 2096560k(1488676k free), swap 4042552k(3579504k 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
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
// bean source
import java.awt.*;
import java.util.*;
import java.text.DateFormat;
public class TestBean {
private DateFormat dtformat;
private void init_dtformat()
{
Locale currentLocale = new Locale("en", "US");
dtformat = DateFormat.getTimeInstance(DateFormat.DEFAULT, currentLocale);
}
public TestBean() {
init_dtformat();
}
public int OnStartPage (Object obj) {
return 0;
}
public int OnEndPage () {
return 0;
}
public String echoText(String textIn) {
return dtformat.format(Calendar.getInstance().getTime()) + " " + textIn;
}
}
// global.asa source
<SCRIPT RUNAT=Server Language=VBScript>
Sub Session_OnStart
Set objBean = Server.CreateObject("TestBean.Bean.1")
Set Session("objBean") = objBean
End Sub
Sub Session_OnEnd
End Sub
</SCRIPT>
//test.asp source
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Final//EN">
<HTML>
<HEAD>
<TITLE>Test ActiveX Bridge</TITLE>
</HEAD>
<%
sAction=request.Form("MYACTION")
if sAction = "AGAIN" then
Dim testBean
'Set objBean = CreateObject("TestBean.Bean.1")
set objBean = Session("objBean")
response.write(objBean.echoText(" = the current time."))
end if
%>
<BODY>
<h1>Test ActiveX Bridge</h1>
<hr>
<FORM NAME = "TESTFORM" METHOD="POST" ACTION="test.asp" >
<INPUT type=text name= "MYACTION" size=5 maxlength=5 value= "<%response.write "AGAIN"%>" tabindex=1>
<INPUT type=submit value="Enter" tabindex=2>
</FORM>
</BODY>
</HTML>
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Use 1.4.2_05. Do not use 1.5 or 1.4.2_06 as the problem occurs on each of those releases.
Release Regression From : 1.4.2_05
The above release value was the last known release where this
bug was known to work. Since then there has been a regression.
###@###.### 2004-12-06 19:04:32 GMT
- backported by
-
JDK-2138833 REGRESSION: ASP usage of axbridge.dll causes JVM crash on Windows 2003 IIS 6.0
- Closed