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

Eliot Miranda eliot.miranda at gmail.com
Thu Jul 3 01:53:09 UTC 2014


On Wed, Jul 2, 2014 at 5:08 PM, David T. Lewis <lewis at mail.msen.com> wrote:

>
> 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.
>

That triggers my memory.  I had a method with corrupted source, perhaps
wide characters.  That broke the writer.  I fixed it by fixing the method
source code.  Where the corruption came from I can't say.

-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140702/dcb5357a/attachment.htm


More information about the Vm-dev mailing list