Giter VIP home page Giter VIP logo

awesome-redshift's People

Contributors

darkwater4213 avatar dont-copy-that-floppy avatar jummit avatar nymdafromsalad avatar serif-7 avatar thieman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

awesome-redshift's Issues

Error while dumping disk "Exapunks Intro"

I've written a custom dumper called Blueshift, and if I try to dump the "Exapunks Intro" disk, I get this error message:

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
	at blueshift/blueshift.disks.DiskReader.<init>(DiskReader.java:33)
	at blueshift/tester.Main.main(Main.java:19)

I have 4GB of RAM in this laptop, so this is weird. After turning on a few debug flags, I realized the size for some reason is read as 17 04 00 40 which corresponds to a compressed solution length of 1,073,742,871 bytes. This is obviously not right.

After forcing the dumper to read it anyway, by ignoring the upper 2 bytes of the size value, I get 3 error messages instead.
First, a checksum error, which definitely makes me think that, for whatever reason, this disk image is corrupted.

[blueshift.disks.DiskReader:Constructor()][ERROR] Checksum error! Read 7c52, got 5bfd

Next, the raw data isn't even a valid zlib-compressed stream, as seen here:

java.util.zip.ZipException: incorrect header check
	at java.base/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
	at java.base/java.io.InputStream.readNBytes(InputStream.java:409)
	at java.base/java.io.InputStream.readAllBytes(InputStream.java:346)
	at blueshift/blueshift.Toolbox.inflate(Toolbox.java:56)
	at blueshift/blueshift.disks.DiskReader.<init>(DiskReader.java:46)
	at blueshift/tester.Main.main(Main.java:19)

Finally, because the exception was caught and just printed to the screen, the program continued. However, since there was no decompressed data to start dumping to a text file, I got one final slap in the face from Blueshift:

Exception in thread "main" java.lang.NullPointerException: Cannot read the array length because "data" is null
	at blueshift/tester.Main.main(Main.java:29)

It's possible that something went wrong while the file was uploaded to Github, downloaded to my computer, or decoded by the Javax Image I/O package, but I'm posting an issue just in case.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.