JDK-6563559 : My app runs in a machine win98 JIT Microsoft VM, but not in XP after update
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 6
  • Priority: P5
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2007-05-30
  • Updated: 2010-04-04
  • Resolved: 2007-07-16
Related Reports
Relates :  
Description
FULL PRODUCT VERSION :


ADDITIONAL OS VERSION INFORMATION :
Windows XP Professional 2002 Professional

EXTRA RELEVANT SYSTEM CONFIGURATION :
It used to run before update do Java Sun. See Description for error file content

A DESCRIPTION OF THE PROBLEM :
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_FLT_STACK_CHECK (0xc0000092) at pc=0x0302d069, pid=2892, tid=3372
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0_01-b06 mixed mode, sharing)
# Problematic frame:
# v  ~RuntimeStub::resolve_virtual_call
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

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

Current thread (0x02d47800):  JavaThread "main" [_thread_in_Java, id=3372]

siginfo: ExceptionCode=0xc0000092, ExceptionInformation=0x00000000 0x00123ac4

Registers:
EAX=0xffffffff, EBX=0x000008c5, ECX=0x20987760, EDX=0x2098a818
ESP=0x00123a58, EBP=0x00123b68, ESI=0x20987760, EDI=0x000008c5
EIP=0x0302d069, EFLAGS=0x00010212

  Top of Stack: (sp=0x00123a58)
0x00123a58:   ffff1272 ffff0020 ffffffff 02f33e67
0x00123a68:   038b001b 00123b40 ffff0023 002c6bee
0x00123a78:   002c6bee 0000ffff 00000000 ffff0000
0x00123a88:   006a00ed 0000002b 00edffff 002c006b
0x00123a98:   ffff0000 002b6aee 002c6bee 0000ffff
0x00123aa8:   5be00000 4005c805 00000000 80000000
0x00123ab8:   00004002 00000000 3ffd8000 00123b0c
0x00123ac8:   00123b24 00000000 00123b1c 00000000

Instructions: (pc=0x0302d069)
0x0302d059:   00 00 83 ec 6c dd 34 24 9b dd 24 24 dd 5c 24 6c
0x0302d069:   dd 5c 24 74 dd 5c 24 7c dd 9c 24 84 00 00 00 dd


Stack: [0x00030000,0x00130000),  sp=0x00123a58,  free space=974k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
v  ~RuntimeStub::resolve_virtual_call
J  java.util.Properties$LineReader.readLine()I
j  java.util.Properties.load0(Ljava/util/Properties$LineReader;)V+7
j  java.util.Properties.load(Ljava/io/InputStream;)V+10
j  java.util.logging.LogManager.readConfiguration(Ljava/io/InputStream;)V+13
j  java.util.logging.LogManager.readConfiguration()V+181
j  java.util.logging.LogManager$2.run()Ljava/lang/Object;+4
v  ~StubRoutines::call_stub


---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x0518ec00 JavaThread "Low Memory Detector" daemon [_thread_new, id=2540]
  0x0518a000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2884]
  0x05188c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=1180]
  0x05188000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3048]
  0x05183800 JavaThread "Finalizer" daemon [_thread_blocked, id=2220]
  0x0517f400 JavaThread "Reference Handler" daemon [_thread_blocked, id=524]
=>0x02d47800 JavaThread "main" [_thread_in_Java, id=3372]

Other Threads:
  0x05176000 VMThread [id=3008]
  0x051a9800 WatcherThread [id=2168]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 960K, used 180K [0x20960000, 0x20a60000, 0x210c0000)
  eden
[error occurred during error reporting, step 190, id 0xc0000092]

Dynamic libraries:
0x00400000 - 0x00485000 	C:\Documents and Settings\user\Desktop\DJ.exe
0x7c900000 - 0x7c9b4000 	C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 	C:\WINDOWS\system32\kernel32.dll
0x77d20000 - 0x77db0000 	C:\WINDOWS\system32\user32.dll
0x77e50000 - 0x77e96000 	C:\WINDOWS\system32\GDI32.dll
0x77f50000 - 0x77ffb000 	C:\WINDOWS\system32\advapi32.dll
0x77db0000 - 0x77e41000 	C:\WINDOWS\system32\RPCRT4.dll
0x77100000 - 0x7718c000 	C:\WINDOWS\system32\oleaut32.dll
0x77bf0000 - 0x77c48000 	C:\WINDOWS\system32\msvcrt.dll
0x774c0000 - 0x775fd000 	C:\WINDOWS\system32\ole32.dll
0x77be0000 - 0x77be8000 	C:\WINDOWS\system32\version.dll
0x5d510000 - 0x5d5a7000 	C:\WINDOWS\system32\comctl32.dll
0x5b1c0000 - 0x5b1f8000 	C:\WINDOWS\system32\uxtheme.dll
0x746e0000 - 0x7472b000 	C:\WINDOWS\system32\MSCTF.dll
0x5f250000 - 0x5f267000 	C:\WINDOWS\system32\olepro32.dll
0x76fb0000 - 0x7702f000 	C:\WINDOWS\system32\CLBCATQ.DLL
0x77030000 - 0x770fd000 	C:\WINDOWS\system32\COMRes.dll
0x77740000 - 0x778ac000 	C:\WINDOWS\System32\shdocvw.dll
0x77a60000 - 0x77af5000 	C:\WINDOWS\system32\CRYPT32.dll
0x77b00000 - 0x77b12000 	C:\WINDOWS\system32\MSASN1.dll
0x768b0000 - 0x76934000 	C:\WINDOWS\system32\CRYPTUI.dll
0x76c10000 - 0x76c3e000 	C:\WINDOWS\system32\WINTRUST.dll
0x76c70000 - 0x76c98000 	C:\WINDOWS\system32\IMAGEHLP.dll
0x5bcb0000 - 0x5bd04000 	C:\WINDOWS\system32\NETAPI32.dll
0x77190000 - 0x77237000 	C:\WINDOWS\system32\WININET.dll
0x77ea0000 - 0x77f16000 	C:\WINDOWS\system32\SHLWAPI.dll
0x76f40000 - 0x76f6d000 	C:\WINDOWS\system32\WLDAP32.dll
0x773b0000 - 0x774b2000 	C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x7c9c0000 - 0x7d1db000 	C:\WINDOWS\system32\SHELL32.dll
0x77f20000 - 0x77f31000 	C:\WINDOWS\system32\Secur32.dll
0x77240000 - 0x772de000 	C:\WINDOWS\system32\urlmon.dll
0x77b20000 - 0x77b42000 	C:\WINDOWS\system32\appHelp.dll
0x20000000 - 0x202d0000 	C:\WINDOWS\system32\xpsp2res.dll
0x01940000 - 0x01c06000 	C:\WINDOWS\system32\msi.dll
0x75e60000 - 0x75f10000 	C:\WINDOWS\system32\SXS.DLL
0x01d20000 - 0x01dac000 	C:\WINDOWS\System32\shdoclc.dll
0x75d70000 - 0x75e01000 	C:\WINDOWS\system32\mlang.dll
0x71a90000 - 0x71a9a000 	C:\WINDOWS\system32\wsock32.dll
0x71a70000 - 0x71a87000 	C:\WINDOWS\system32\WS2_32.dll
0x71a60000 - 0x71a68000 	C:\WINDOWS\system32\WS2HELP.dll
0x71a10000 - 0x71a50000 	C:\WINDOWS\system32\mswsock.dll
0x60b30000 - 0x60b88000 	C:\WINDOWS\system32\hnetcfg.dll
0x71a50000 - 0x71a58000 	C:\WINDOWS\System32\wshtcpip.dll
0x76ec0000 - 0x76efc000 	C:\WINDOWS\system32\RASAPI32.DLL
0x76e70000 - 0x76e82000 	C:\WINDOWS\system32\rasman.dll
0x76e90000 - 0x76ebf000 	C:\WINDOWS\system32\TAPI32.dll
0x76e60000 - 0x76e6e000 	C:\WINDOWS\system32\rtutils.dll
0x76b20000 - 0x76b4e000 	C:\WINDOWS\system32\WINMM.dll
0x5d1d0000 - 0x5d1d7000 	C:\WINDOWS\system32\serwvdrv.dll
0x5b4f0000 - 0x5b4f7000 	C:\WINDOWS\system32\umdmxfrm.dll
0x10000000 - 0x10068000 	C:\WINDOWS\Downloaded Program Files\gbieh.dll
0x77c50000 - 0x77c73000 	C:\WINDOWS\system32\msv1_0.dll
0x76d40000 - 0x76d59000 	C:\WINDOWS\system32\iphlpapi.dll
0x72280000 - 0x72285000 	C:\WINDOWS\system32\sensapi.dll
0x769a0000 - 0x76a54000 	C:\WINDOWS\system32\USERENV.dll
0x0ffd0000 - 0x0fff8000 	C:\WINDOWS\system32\rsaenh.dll
0x76f00000 - 0x76f27000 	C:\WINDOWS\system32\DNSAPI.dll
0x76fa0000 - 0x76fa6000 	C:\WINDOWS\system32\rasadhlp.dll
0x7d4a0000 - 0x7d785000 	C:\WINDOWS\System32\mshtml.dll
0x74680000 - 0x746a7000 	C:\WINDOWS\System32\msls31.dll
0x746b0000 - 0x746da000 	C:\WINDOWS\System32\msimtf.dll
0x75c20000 - 0x75c8e000 	c:\windows\system32\jscript.dll
0x6d7c0000 - 0x6d839000 	C:\Arquivos de programas\Java\jre1.6.0_01\bin\ssv.dll
0x7c340000 - 0x7c396000 	C:\Arquivos de programas\Java\jre1.6.0_01\bin\MSVCR71.dll
0x6d6b0000 - 0x6d6d1000 	C:\Arquivos de programas\Java\jre1.6.0_01\bin\npjpi160_01.dll
0x6d4a0000 - 0x6d4bb000 	C:\Arquivos de programas\Java\jre1.6.0_01\bin\jpiexp.dll
0x6d250000 - 0x6d261000 	C:\Arquivos de programas\Java\jre1.6.0_01\bin\deploy.dll
0x76f90000 - 0x76f98000 	C:\WINDOWS\System32\winrnr.dll
0x6d4f0000 - 0x6d514000 	C:\Arquivos de programas\Java\jre1.6.0_01\bin\jpishare.dll
0x02d70000 - 0x02fb7000 	C:\ARQUIV~1\Java\JRE16~1.0_0\bin\client\jvm.dll
0x6d310000 - 0x6d318000 	C:\ARQUIV~1\Java\JRE16~1.0_0\bin\hpi.dll
0x76bd0000 - 0x76bdb000 	C:\WINDOWS\system32\PSAPI.DLL
0x6d770000 - 0x6d77c000 	C:\ARQUIV~1\Java\JRE16~1.0_0\bin\verify.dll
0x6d3b0000 - 0x6d3cf000 	C:\ARQUIV~1\Java\JRE16~1.0_0\bin\java.dll
0x6d7b0000 - 0x6d7bf000 	C:\ARQUIV~1\Java\JRE16~1.0_0\bin\zip.dll

VM Arguments:
jvm_args: -Xbootclasspath/a:C:\ARQUIV~1\Java\JRE16~1.0_0\lib\deploy.jar;C:\ARQUIV~1\Java\JRE16~1.0_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.6.0_01 -Djavaplugin.nodotversion=160_01 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\ARQUIV~1\Java\JRE16~1.0_0 -Djavaplugin.vm.options=-Djava.class.path=C:\ARQUIV~1\Java\JRE16~1.0_0\classes -Xbootclasspath/a:C:\ARQUIV~1\Java\JRE16~1.0_0\lib\deploy.jar;C:\ARQUIV~1\Java\JRE16~1.0_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.6.0_01 -Djavaplugin.nodotversion=160_01 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\ARQUIV~1\Java\JRE16~1.0_0
java_command: <unknown>
Launcher Type: generic

Environment Variables:
PATH=C:\ARQUIV~1\Java\JRE16~1.0_0\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;.
USERNAME=user
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, sse, sse2

Memory: 4k page, physical 261664k(48092k free), swap 771688k(405204k free)

vm_info: Java HotSpot(TM) Client VM (1.6.0_01-b06) for windows-x86, built on Mar 14 2007 00:24:02 by "java_re" with unknown MS VC++:1310



STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Yes, it worked in a prior version as I��ve said, but I don��t remember witch it was. I believe it was also from Sun.


REPRODUCIBILITY :
This bug can be reproduced always.

Comments
SUGGESTED FIX Try "-XX:+RestoreMXCSROnJNICalls to enforce resetting MSCSR register.
17-07-2007

WORK AROUND Try "-XX:+RestoreMXCSROnJNICalls to enforce resetting MSCSR reigster *** (#1 of 1): [ UNSAVED ] ###@###.###
17-07-2007

EVALUATION I am closing this bug as "Will Not Fix" since we are not going to revert the fix for 5105765. If you would like to make the exception go away, you should indeed to add the flag I suggested in my last evaluation.
16-07-2007

EVALUATION Most likely this bug is a duplicate of bug 6487931. To avoid the performance regression of restoring MXCSR register on every native JNI calls, 5105765 provides the default behavior of not doing that. The fix has been put back to Mustang b14 and back ported to JDK 5 u3. This is why the user doesn't see the problem in earlier releases. You can try "-XX:+RestoreMXCSROnJNICalls to enforce resetting MSCSR reigster to see if you still see the crash. If not, this bug should be duplicate of 6487931. If you are using Java inside browser like Internet Explorer or Mozilla, you need to modify the control panel settings to add that flag or you can set the environment variable _JAVA_OPTIONS to "-XX:+RestoreMXSCRONJNICalls".
27-06-2007

EVALUATION First of all, I am wondering whether you have JRE installed before. The synopsis mentioned that "but not in XP after update". Does that mean you've already installed JRE and after upgrading to JRE 6 U1, the app suddenly stopped working? Second, would you please attach your application or give us the URL of the app if possible? It would be really difficult for us to identify the problem without any testcases. Mark this bug as "Incomplete".
27-06-2007