[squeak-dev] Re: [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 22:09:16 UTC 2014

On Thu, Jul 3, 2014 at 12:33 PM, Nicolas Cellier <
nicolas.cellier.aka.nice at gmail.com> wrote:

> The bug is repeatable, i simply have to execute this snippet with my test
> file:
> (FileStream fileNamed: 'snapshot.bin') binary contentsOfEntireFile
> asString zipped.
> The file is too big for an attachment here - 7.3 Mbytes - or 1.7 Mbytes
> gzipped by external tool.
> If someone can suggest an upload site, or want it by mail, just ask.

You're welcome to put it on ftp.mirandanamda.org, cogftpuser, pw cogging
with 0's & 1's.

I bet you can narrow it down by doing

| file |
file := FileStream fileNamed: 'snapshot.bin'.
file binary.
[[file atEnd] whileFalse: [(file next: 16*1024) asString zipped]] ensure:
[file close]

2014-07-03 16:05 GMT+02:00 gettimothy <gettimothy at zoho.com>:
>> I would not be surprised if it is something to do with wide characters. I
>> vaguely recall that we fixed a similar sounding problem elsewhere in the
>> system recently. Unfortunately I cannot remember what it was.
>> Could it be something as simple as the 'self flush' is needed like we did
>> in WriteStream nextChunkPut?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20140703/db5cd36e/attachment.htm

More information about the Squeak-dev mailing list