Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6588045
Votes 0
Synopsis Pack: java.io.IOException: pop token out of range
Category hotspot:compiler2
Reported Against b07 , b16
Release Fixed hs11(b08), hs10(b17) (Bug ID:2153892) , 6u4(b04) (Bug ID:2171776) , 7(b22) (Bug ID:2177058)
State 10-Fix Delivered, bug
Priority: 2-High
Related Bugs 6633538
Submit Date 01-AUG-2007
Description
I/O exception occurs on amd- solaris 10/ solaris 11 machines during the unpacking operation using 6u3-b02. It works fine with previous 6u2-GA b05. The issue doesn't seem to occur on windows-x86 and sparc-solaris.


java.io.IOException: pop token out of range
	at com.sun.java.util.jar.pack.NativeUnpack.start(Native Method)
	at com.sun.java.util.jar.pack.NativeUnpack.run(NativeUnpack.java:168)
	at com.sun.java.util.jar.pack.NativeUnpack.run(NativeUnpack.java:217)
	at com.sun.java.util.jar.pack.UnpackerImpl.unpack(UnpackerImpl.java:104)
	at com.sun.java.util.jar.pack.UnpackerImpl.unpack(UnpackerImpl.java:127)
	at PackCycle.executePackCycle(PackCycle.java:366)
	at PackCycle.CompletePackCycle(PackCycle.java:171)
	at PackCycle.main(PackCycle.java:581)
java.lang.RuntimeException
	at PackCycle.executePackCycle(PackCycle.java:408)
	at PackCycle.CompletePackCycle(PackCycle.java:171)
	at PackCycle.main(PackCycle.java:581)


Defect Configuration:
--------------------
amd- solaris 10, solaris 11
jdk 6u3-b02


Test cases:
----------

From SQE deployment Pack testsuite
[http://sqeweb.sfbay/deployment1/deployment_mustang_int_ws/deployment/src/Pack/Functionality/]

Pack/Functionality/PACK_EFFORT/PACK_EFFORT_6	
Pack/Functionality/PACK_EFFORT/PACK_EFFORT_8
Pack/Functionality/PACK_SEGMENT_LIMIT/PACK_SEGMENT_LIMIT_values	
Pack/Functionality/PACK_SEGMENT_LIMIT/PACK_SEGMENT_LIMIT_sizes
Pack/Functionality/PACK_PASS_FILE
Pack/Data/JDK_Jars	
Pack/Performance/Pack_Performance


* 6u3-b03 detailed test run log on amd-solaris 10 can be found at:

http://sqeweb.sfbay/st2/deployment/results/6u3/b02/pack/sunfire003-sol10-amd-pack/Standalone_deployment_Pack_2007_07_30_19_36_51
Posted Date : 2007-08-01 18:20:08.0

Pack/Functionality/PACK_EFFORT/PACK_EFFORT_6
Pack/Functionality/PACK_SEGMENT_LIMIT/PACK_SEGMENT_LIMIT_values
Pack/Functionality/PACK_SEGMENT_LIMIT/PACK_SEGMENT_LIMIT_sizes
Pack/Data/JDK_Jars
Pack/Performance/Pack_Performance
Posted Date : 2007-08-08 03:13:40.0

* jdk 6u3-b02/ solaris 11- x86:
  ----------------------------

The following test cases failed the same way: ( java.io.IOException: pop token out of range)

Pack/Functionality/PACK_EFFORT/PACK_EFFORT_6
Pack/Functionality/PACK_SEGMENT_LIMIT/PACK_SEGMENT_LIMIT_values
Pack/Functionality/PACK_SEGMENT_LIMIT/PACK_SEGMENT_LIMIT_sizes
Pack/Data/JDK_Jars	
Pack/Performance/Pack_Performanc
Posted Date : 2007-08-08 03:13:40.0
Work Around
use the client compiler with -client.
Use the -XX:-UseSuperWord flag with the server compiler.
Evaluation
The problems seems to be with server compiler wrt. loop expansion. See comments for
details, reassigning to the c2 team for further analysis.
Posted Date : 2007-08-14 17:42:14.0

This is a bug in the superword vectorization which was exposed by the fix for bug 6544668. This fix enabled the UseSuperWord flag by default.  It occurs in previous builds if this flag is explicitly turned on.
Posted Date : 2007-09-08 00:13:25.0

This was a bug in the superword optimization.  It was not correctly
checking that a pair of loads for the source of the data were adjacent
in memory.  The test case in the bug report was a loop copying consecutive
elements of a long array, casting each element to int and storing it in an int
array.

The fix was to add a check that the loads were adjacent.  To reduce
the chance of other regressions caused by this new optimization, I have turned
off the UseSuperWord flag by default as part of the fix for this bug in 6u4.
It will be enabled by the AgressiveOpts flag.
Posted Date : 2007-09-26 05:32:37.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang