[Vm-dev] Bug in writing compressed stream when saving an mcz (was: New Cog VMs available...)

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Thu Jul 3 00:33:01 UTC 2014


2014-07-03 2:08 GMT+02:00 David T. Lewis <lewis at mail.msen.com>:

>
> On Wed, Jul 02, 2014 at 03:48:03PM -0700, Eliot Miranda wrote:
> >
> > On Wed, Jul 2, 2014 at 3:39 PM, Nicolas Cellier <
> > nicolas.cellier.aka.nice at gmail.com> wrote:
> > >
> > > Anyway, it happens that I cannot publish because there is a bug in my
> > > image (mostly an updated trunk image)...
> > > I'm currently stuck with ZipWriteStream(DeflateStream)>>updateHashAt:
> > > which tries to write at position 65537 in a buffer of length 65536
> > > Huh?
> > >
> >
> > Ah, I've seen this recently too!  I think it's just a corrupted mcz
> > package.  Delete the package and download a fresh one and you could find
> > the bug evaporates.
>
> I saw it last weekend too. I thought that it was an improbable edge
> condition,
> so I did not mention it on squeak-dev until I could explain the bug.
>
> It is not a corrupted mcz. In my case, the failure occurred while trying to
> write a new mcz.
>
> We should move this to squeak-dev and figure out what is going on.
>
> Dave
>
>
Exactly my case too, when creating a new .mcz (when deflating, before
writing anything to a file).
I started inquiring some references like
https://github.com/madler/zlib/blob/master/deflate.c but it's hard to find
an exact match with our version.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140703/88206168/attachment-0001.htm


More information about the Vm-dev mailing list