quicklisp / quicklisp-client

Quicklisp client.
http://www.quicklisp.org/
MIT License
298 stars 75 forks source link

Decompression error with LispWorks 7.1 #153

Closed aamedina closed 7 years ago

aamedina commented 7 years ago

Host information: LispWorks 7.1 64-bit Linux

Error message:

CL-USER > (ql:quickload :ironclad)
To load "ironclad":
  Install 2 Quicklisp releases:
    ironclad nibbles
; Fetching #<QL-HTTP:URL "http://beta.quicklisp.org/archive/nibbles/2017-04-03/nibbles-20170403-git.tgz">
; 21.25KB
==================================================
21,757 bytes in 0.00 seconds (0.00KB/sec)

Error: Error detected during deflate decompression: Corrupted Data detected during decompression: Incorrect huffman code (1D50) in huffman decode!
  1 (abort) Give up on "ironclad"
  2 Return to level 0.
  3 Return to top-level loop.
  4 Return from multiprocessing.

Type :b for backtrace or :c <option number> to proceed.
Type :bug-form "<subject>" for a bug report template or :? for other options.

Comments: The error can be reproduced when quickloading any project which needs to be fetched remotely and unpacked. I have tested on SBCL 1.4.1 and encountered no errors. I do not know if the error is in LispWorks 7.1's compiler or in how quicklisp optimizes deflation specifically for LispWorks using their unsafe int32 API.

Workaround: Use SBCL to quickload libraries initially and then they can be quickloaded by LispWorks 7.1. Not a great solution, but it works.

aamedina commented 7 years ago

This was a bug in LispWorks 7.1 and has been addressed by a patch: http://www.lispworks.com/downloads/patch-selection.html#lw71