On 08.02.2010 09:21, Mariano Martinez Peck wrote:


2010/2/8 Henrik Sperre Johansen <[email protected] <mailto:[email protected]>>

    On 07.02.2010 23:11, Mariano Martinez Peck wrote:
    Thank you very much Laurent.

    2010/2/7 laurent laffont <[email protected]
    <mailto:[email protected]>>

        Screenshot missing

        Laurent Laffont


        2010/2/7 Mariano Martinez Peck <[email protected]
        <mailto:[email protected]>>

            Hi folks. I was just running ImageSegment tests in 11196
            and it is broken: 3 failing tests and 5 error. Most of
            them seems related to the same thing.

            I have a Syntax Error. Probaly it is due to some stuff
            integrated in the latests updates to 1.1. Then problem
            seems when writing the segment to disk and then when
            loading...

            I attach an screenshot. Does someone has an idea what can
            be the problem or how to fix it ?

            To reproduce, just run the tests ImageSegmentTest,
            ImageSegmentTestExport and ImageSegmentTestSwap

            Thanks!!!

            Mariano

    I believe its due to stream positioning when crossing buffer
    boundries in basicChunk,



Hi Henrik! Are you talking about http://code.google.com/p/pharo/issues/detail?id=1880 ??

Yes.

    I have to debug a bit further for a solution though, sorry...


Don't problem. We have time :) If you have a solution please let me know. I really have no idea at all how to fix it.
A temporary fix is to revert by doing
nil ifNil: [] instead of self basicChunk ifNil: []
in MultiByteFileStream >> nextChunk.
Reading it in will be 2x as slow again though ;)

Cheers,
Henry
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to