[fpc-devel] crash with TCuckooD2<string, string>

Martin Frb lazarus at mfriebe.de
Wed Apr 8 22:10:24 CEST 2026


On 08/04/2026 21:58, Graeme Geldenhuys via fpc-devel wrote:
> On 2026-04-08 13:10, Martin Frb via fpc-devel wrote:
>>
>> The crash happens after "Run2" did
>>   Dict.clear;
>>
>> when it attempts to add a new element.
>
>
> Funny that, I hit a similar problem. I've found and fixed the issue:
>
> Merge Request created here:
> https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/1422
>
>
> Saying that, there were also a few issues in your test program:

Thanks for looking into it, and great to know the issue is addressed.

I noted the stuff in my test... Latest version at 
https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/988

Since you got some background into the code, could I ask you to review 
the changes I suggest? Maybe it helps the MR.
Thanks


More information about the fpc-devel mailing list