Hi all,<br>
<br>
I just ran into this issue again while updating an older image that I had updated 8 months ago. So this seems to be a regression which effectively breaks our update stream if you were using OrderedDictionaries in older images already. Could - and should - we manipulate the update stream in any way to fix it again? :-)<br>
<br>
Best,<br>
Christoph<br>
<br>
<font color="#808080">---<br>
</font><font color="#808080"><i>Sent from </i></font><font color="#808080"><i><a href="https://github.com/hpi-swa-lab/squeak-inbox-talk"><u><font color="#808080">Squeak Inbox Talk</font></u></a></i></font><br>
<br>
On 2021-11-29T20:18:13+01:00, leves@caesar.elte.hu wrote:<br>
<br>
> Hi Nicolas,<br>
> <br>
> On Sun, 28 Nov 2021, Nicolas Cellier wrote:<br>
> <br>
> > Hi all,<br>
> > I got a few hiccups while updating some images.<br>
> > One of them occurred while rehashing some OrderedDictionary.<br>
> > For some reason, the dictionary was shrinked.<br>
> > Unfortunately rehash then tries to grow the 'order' ivar by a negative growSize.<br>
> > This causes an errorSubscriptBounds:<br>
> > <br>
> > To reproduce, simply try:<br>
> >     OrderedDictionary new compact.<br>
> <br>
> Thanks. That example made it easy to track down what causes the problem.<br>
> Collections-ul.962 should have it fixed.<br>
> The ideal solution would be to finally change the order variable to be an <br>
> OrderedCollection, so that OrderedDictionary wouldn't have to reimplement <br>
> most of the logic.<br>
> <br>
> <br>
> Levente<br>
> <br>