linkedin / migz

Multithreaded, gzip-compatible compression and decompression, available as a platform-independent Java library and command-line utilities.
BSD 2-Clause "Simplified" License
79 stars 11 forks source link

IndexOutOfBoundsException #8

Open pleappleappleap opened 1 year ago

pleappleappleap commented 1 year ago

Hi!

root@wendigo:/data/snc_backups/full/temp# pv stream.gz | /home/ayengar/munzip | mbstream -x -v
Decompressing stdin using 32 threads
Exception in thread "main" java.lang.IndexOutOfBoundsException
        at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:344)
        at com.linkedin.migz.MiGzInputStream.readFromInputStream(MiGzInputStream.java:222)
        at com.linkedin.migz.MiGzInputStream.decompressorThreadWithInflater(MiGzInputStream.java:172)
        at com.linkedin.migz.MiGzInputStream.decompressorThread(MiGzInputStream.java:114)
        at com.concurrentli.Interrupted.lambda$ignored$1(Interrupted.java:48)
        at java.base/java.lang.Thread.run(Thread.java:829)
72.0KiB 0:00:00 [ 725KiB/s] [>                                                                                                                             ]  0%            
root@wendigo:/data/snc_backups/full/temp#

'Nuff said?

jsomeara commented 1 year ago

Same thing here!

jsomeara commented 1 year ago

Version: 2.0.beta-1