United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-8001983 javaws.exe crashes when starting jnlp file
JDK-8001983 : javaws.exe crashes when starting jnlp file

Details
Type:
Backport
Submit Date:
2012-10-30
Status:
Closed
Updated Date:
2012-11-23
Project Name:
JDK
Resolved Date:
2012-11-05
Component:
deploy
OS:
Sub-Component:
webstart
CPU:
Priority:
P2
Resolution:
Fixed
Affected Versions:
7,7u6
Fixed Versions:
7u10 (b15)

Related Reports
Backport:

Sub Tasks

Description
FULL PRODUCT VERSION :
java version "1.7.0_06"
Java(TM) SE Runtime Environment (build 1.7.0_06-b24)
Java HotSpot(TM) Client VM (build 23.2-b09, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Windows 7 64bit

A DESCRIPTION OF THE PROBLEM :
The jnlp file provided in the steps to reproduce always crashes javaws.exe in Java 7 Update 6.

No problems in Update 4.

The problem goes away if the first jar does not have the ?version=2012.301 parameter.

REGRESSION.  Last worked in version 7

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Save the following XML to test.jnlp and start it.


<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://localhost:40000/ulcjnlp">
  <information>
    <title>ABACUS</title>
    <vendor>ABACUS Research AG</vendor>
    <homepage href="http://www.abacus.ch"/>
    <icon href="http://localhost:40000/ulc/aba.jpg"/>
  </information>
  <security>
    <all-permissions/>
  </security>
  <resources>
    <j2se version="1.6+" max-heap-size="200m" dock:name="ABACUS"/>
    
    <jar href="http://localhost:40000/ulc/lib/signed_atk_ulc_client.jar?version=2012.301"/>
    <jar href="http://localhost:40000/ulc/lib/signed_bc.jar?version=f2cuVtcllN73Gg4fTAeLf0CZTms%3D"/>
    <jar href="http://localhost:40000/ulc/lib/signed_ib5core.jar?version=KLeEfUHquS9%2FJFIQfafvVpAz%2F4Q%3D"/>
    <jar href="http://localhost:40000/ulc/lib/signed_ib5ref.jar?version=A8FvjuJWbCFmWsx3JLqW6Az9V9Q%3D"/>
    <jar href="http://localhost:40000/ulc/lib/signed_ib5swing.jar?version=OVgE%2BaMjhD0V4sxKdnvXITZ303o%3D"/>
    <jar href="http://localhost:40000/ulc/lib/signed_ib5util.jar?version=Z8gJLRinYEsxyUTbIGVwWWGIPOw%3D"/>
    <jar href="http://localhost:40000/ulc/lib/signed_jai_codec.jar?version=MMsvhXkMtmqdLpaTW%2F5Uh2Vt9SY%3D"/>
    <jar href="http://localhost:40000/ulc/lib/signed_jai_core.jar?version=NHYS8nSXr%2FE7nKudAdPNsH74N%2B4%3D"/>
    <jar href="http://localhost:40000/ulc/lib/signed_jai_imageio.jar?version=TWZ0KB3jCcItfrQ2yzNbYp3jltE%3D"/>
    <jar href="http://localhost:40000/ulc/lib/signed_jdic-win32.jar?version=Ny6UcfJLjLVMIbhy%2BYpFTFhNapg%3D"/>
    <jar href="http://localhost:40000/ulc/lib/signed_jpedal-client.jar?version=jB%2BtxqyLBQIELfpfmpS%2FH8iXhgo%3D"/>
    <jar href="http://localhost:40000/ulc/lib/signed_jsr305.jar?version=UWwDsh1QpkTVON4PA2nGIJic2PA%3D"/>
    <jar href="http://localhost:40000/ulc/lib/signed_rhino.jar?version=9JfH4aPVU%2FfvE5DKnl2bJ2wxxjk%3D"/>
    <jar href="http://localhost:40000/ulc/lib/signed_ulc-core-client.jar?version=pINmmU5blq2fZlzkMBsWFa%2FpACo%3D"/>
  </resources>
  <application-desc main-class="ch.abacus.ulc.client.AbacusJnlpLauncher">
    <argument>scope=DefaultScope</argument>
    <argument>base-url=http://abaintern</argument>
    <argument>servlet-path=ulcmenu</argument>
    <argument>keep-alive-interval=900</argument>
    <argument>log-level=WARNING</argument>
    <argument>ulcURI=ulcmenu</argument>
    <argument>AbacusApplication=99</argument>
    <argument>AbacusProgramm=1</argument>
    <argument>client-coder-registry-provider=ch.abacus.ulc.client.serialization.AbaClientCoderRegistryProvider</argument>
    <argument>carrier-stream-provider=ch.abacus.ulc.shared.provider.AbaCarrierStreamProvider</argument>
    <argument>data-stream-provider=ch.abacus.ulc.shared.provider.StringCoderDataStreamProvider</argument>
  </application-desc>
</jnlp>


EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Webstart should launch
ACTUAL -
Webstart crashes.

ERROR MESSAGES/STACK TRACES THAT OCCUR :
Problem signature:
  Problem Event Name:	BEX64
  Application Name:	javaws.exe
  Application Version:	10.6.2.24
  Application Timestamp:	50248e25
  Fault Module Name:	javaws.exe
  Fault Module Version:	10.6.2.24
  Fault Module Timestamp:	50248e25
  Exception Offset:	0000000000016448
  Exception Code:	c0000417
  Exception Data:	0000000000000000
  OS Version:	6.1.7601.2.1.0.256.48
  Locale ID:	2055
  Additional Information 1:	d806
  Additional Information 2:	d806766b06868b7edb630cb06c6aa7d0
  Additional Information 3:	9428
  Additional Information 4:	94288905092a426febff2b6139c6f8ed

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt


REPRODUCIBILITY :
This bug can be reproduced always.

                                    

Comments
Marking P2 as it leads to crash. Taking this into 7u10 simplifies support for -rev revisions as otherwise this fix will need to be reapplied to multiple repos as Abhijit states above.
                                     
2012-11-01
SQE: Please review and mark.

R-team approves this fix for 7u10
                                     
2012-11-05
This is a backport of

https://jbs.oracle.com/bugs/browse/JDK-7191616

it has duplicate 

https://jbs.oracle.com/bugs/browse/JDK-7197481

which affects test

BatJavawsTest::testNormal_Application_QueryInHref 

therefore no new test is required
                                     
2012-11-12
Verification:
Automated testcase BatJavawsTest::testNormal_Application_QueryInHref PASSED for 7u10 b16:
  see http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=125759.STT-DEPLOYMENT-1

                                     
2012-11-23
Fix from 7u9-b32 revision. If not included into 7u10, will need a sync revision on 7u10 and then on 7u11 and finally fix will go to public via 7u12. If fixed in 7u10, will get to public release quicker.
                                     
2012-10-30
Agree it is useful to take it into 7u10. This is related to code we exercise actively by code for security features.
Fix is tiny and safe too.

                                     
2012-11-01



Hardware and Software, Engineered to Work Together