[squeak-dev] Possible bug in DeflateStream

Max Leske maxleske at gmail.com
Fri Mar 20 13:05:02 UTC 2015


For those of you that haven’t seen the “Metacello load error” conversation between Dale and me, there seems to be a bug in DeflateStream. I’m quoting myself from the other thread:

> 
> I've figured it out. Your were right, the newest Cog VM doesn’t exhibit the problem. The problem seems to be the method ZipWriteStream>>deflateBlock:chainLength:goodMatch:. The primitive in that method fails in 4.6 only when I open the 4.6 image with the VM packaged with the 4.5 all-in-one app ('Croquet Closure Cog VM [CoInterpreter VMMaker.oscog-eem.331] 4.5’). The fallback method generates an error.
> This is reproducible when using the fallback instead of the primitive with the other VM and a 4.5 image too, so there is definitely something wrong with the Zip implementation. Here’s a snippet for reproducing the problem:
> 
> ZipWriteStream removeSelector: #deflateBlock:chainLength:goodMatch:.
> 
> (Installer monticello http: 'http://www.squeaksource.com/MetacelloRepository' <http://www.squeaksource.com/MetacelloRepository'>)
> 	package: 'Gofer-Core-lr.115.mcz';
> 	install.
> 
> (Smalltalk at: #Gofer) new
> 	url: 'http://seaside.gemstone.com/ss/metacello' <http://seaside.gemstone.com/ss/metacello'>;
> 	addPackage: 'ConfigurationOfMetacello';
> 	load


Cheers,
Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150320/73888f1f/attachment.htm


More information about the Squeak-dev mailing list