← Back to team overview

openjdk team mailing list archive

Bug#664644: openjdk-6-jdk: jar -x hangs on some jar archives

 

And here is a backtrace with jdb:

% jdb -classpath /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar 
sun.tools.jar.Main -x ../dstm/dstm.jar
Initializing jdb ...
> run
run sun.tools.jar.Main -x ../dstm/dstm.jar
Set uncaught java.lang.Throwable
Set deferred uncaught java.lang.Throwable
> 
VM Started: suspend
All threads suspended.
> where all
Signal Dispatcher:
Finalizer:
  [1] java.lang.Object.wait (native method)
  [2] java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:133)
  [3] java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:149)
  [4] java.lang.ref.Finalizer$FinalizerThread.run (Finalizer.java:177)
Reference Handler:
  [1] java.lang.Object.wait (native method)
  [2] java.lang.Object.wait (Object.java:502)
  [3] java.lang.ref.Reference$ReferenceHandler.run (Reference.java:133)
main:
  [1] java.io.FileInputStream.readBytes (native method)
  [2] java.io.FileInputStream.read (FileInputStream.java:236)
  [3] java.io.BufferedInputStream.fill (BufferedInputStream.java:235)
  [4] java.io.BufferedInputStream.read1 (BufferedInputStream.java:275)
  [5] java.io.BufferedInputStream.read (BufferedInputStream.java:334)
  [6] java.io.FilterInputStream.read (FilterInputStream.java:133)
  [7] java.io.PushbackInputStream.read (PushbackInputStream.java:186)
  [8] java.util.zip.ZipInputStream.readFully (ZipInputStream.java:414)
  [9] java.util.zip.ZipInputStream.readLOC (ZipInputStream.java:247)
  [10] java.util.zip.ZipInputStream.getNextEntry (ZipInputStream.java:91)
  [11] sun.tools.jar.Main.extract (Main.java:868)
  [12] sun.tools.jar.Main.run (Main.java:260)
  [13] sun.tools.jar.Main.main (Main.java:1 167)

Attachment: signature.asc
Description: This is a digitally signed message part.


References