2014-07-04 0:09 GMT+02:00 Eliot Miranda <eliot.miranda@gmail.com>:



On Thu, Jul 3, 2014 at 12:33 PM, Nicolas Cellier <nicolas.cellier.aka.nice@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. 


done, pollution of your site engaged...
Thanks Eliot!
 
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@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?

--
best,
Eliot