[Cuis-dev] ReferenceStream restoreFromFile: aFileEntry goes into infinite loop

H. Hirzel hannes.hirzel at gmail.com
Fri Sep 19 15:37:15 PDT 2025


Hi

In Cuis 7584 a restore with a ReferenceStream goes into an infinite loop

e.g.

ReferenceStream restoreFromFile: ('dictWithByteArrays.obj' asFileEntry).

In Cuis 7102 this works.

I guess I can identify the change set which causes this trouble by
bisection, testing various releases in between, but how do I get these
intermediate releases?

Any suggestions for a solution are welcome.

Kind regards
Hannes


-----------------------------------------------------------------
The test file " dictWithByteArrays.obj"  was produced with

dict := Dictionary new.
dict at: 1 put: #[1 2 3 4].
dict at: 2 put: #[5 6 7 8].
dict at: 3 put: #[10 20 30 40].


ReferenceStream dumpOnFile: ('dictWithByteArrays.obj' asFileEntry) object:
dict .

P.S.
I also wonder why in Cuis 7102
ReferenceStream restoreFromFile: ('dictWithByteArrays.obj' asFileEntry).

works meanwhile
ReferenceStream restoreFromFile: 'dictWithByteArrays.obj' asFileEntry.

does not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250920/e896581d/attachment.htm>


More information about the Cuis-dev mailing list