[Seaside] random maddening bug - "corrupted" file upload contents

Cyril Ferlicot cyril.ferlicot at gmail.com
Fri Dec 22 17:00:50 UTC 2017


On ven. 22 déc. 2017 at 17:50, Sven Van Caekenberghe <sven at stfx.eu> wrote:

> Cyrille,
>
> I wrote a file like this:
>
> FileLocator temp / 'myzip.zip' writeStreamDo: [ :out |
>   out binary; nextPutAll: #[80 75 3 4 10 0 0 0 0 0 125 83 67 73 0 0 0 0
> 0 0] ].
>
> Which I can read as follows:
>
> FileLocator temp / 'myzip.zip' binaryReadStreamDo: [ :in | in upToEnd ].
>
>   => #[80 75 3 4 10 0 0 0 0 0 125 83 67 73 0 0 0 0 0 0]
>
> If I upload this file to http://localhost:1701/form-test-3 this works
> perfectly (macOS 10.13.2 Pharo #60402, Safari. Firefox & Chrome), first
> time and second time.
>

>
> Maybe you should try on a co-workers machine just to make sure it is not a
> local problem on your machine ?
>

Hi Sven,

It happen on Cyrille's machine, my machine, Yann's machine and our boss's
machine.

We first saw it on Windows and never on mac/Linux. But now we see it also
on mac.

I did not see it yet on Linux but we use it less for now.

Also, when it happen, it tend to happen a lot afterward.

Also, by random it means that we can have 1/2 week without problem, then 4
failure in 2h.



> Sven
>
> --
Cyril Ferlicot
https://ferlicot.fr

http://www.synectique.eu
2 rue Jacques Prévert 01,
59650 Villeneuve d'ascq France
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20171222/a26f7474/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2017-12-22 at 17.48.31.png
Type: image/png
Size: 22409 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20171222/a26f7474/attachment-0001.png>


More information about the seaside mailing list