GC issue? List.pool overwritten by allocated object

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Mon May 12 15:40:01 UTC 2025


On 13/05/2025 3:31 AM, Denis Feklushkin wrote:
> Perhaps all this is the result of an error somewhere else, which results 
> in this behavior. That is, if some my code (or third party) corrupts 
> something that affects to allocation? But it seems that I do not do any 
> hacks, any manipulations with pointers, etc.

This is pretty heavily used code in druntime, my immediate thought is 
what is your code doing to cause this (I didn't see anything obvious)?

Try using ldc's address sanitizer to see if that finds something.

Otherwise try dividing and conquering to find what triggers it down to 
the statement.



More information about the Digitalmars-d mailing list