2017-12-06 23:13 GMT+01:00 Ben Coman <btc@openinworld.com>:
 


On 7 December 2017 at 05:05, Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com> wrote:
 


2017-12-05 23:02 GMT+01:00 Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com>:
OK, it's more complex (readLimit only refers to available buffer length not file length) and more simple than that...

Just trying with:

../../../products/sqcogspurlinux/lib/squeak/5.0-201711262336/squeak TravisCI.image test.st

letting it run a few minutes and interrupting it, I'm in the infinite loop (nextChunk = '').
That's because the method thinks it is written at position 11319975 (it might differ for you, because I launched the test.st several times)
But the read only copy thinks it is already atEnd at position 11320088
So it reads an empty chunk without making progress and will loop infinitely...


Ahem, I don't remember to which substance I was exposed yesterday, those are the wrong figures...


A HeinekenBug?   Like a Heisenbug, but more amber.
cheers -ben

 

:)

I shudder to think how horrible a bugweiser could be!

Since ESUG 2016 in Prague I recommend pils: it helps understanding the VM, or at least let you think so.