[Issue 20812] _d_assocarrayliteralTX segfault assigning a shared associative array an AA literal
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Jun 13 21:37:00 UTC 2023
    
    
  
https://issues.dlang.org/show_bug.cgi?id=20812
mail at ernestocastellotti.it changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mail at ernestocastellotti.it
--- Comment #2 from mail at ernestocastellotti.it ---
I investigate this bug and the problem is that ti.key (field of
TypeInfo_AssociativeArray) is null.
The sigsegv obviously occurs at this line
https://github.com/dlang/dmd/blob/342a226833a0e9c7a90bbb64ae8dc35aa6d6bfdc/druntime/src/rt/aaA.d#L766
I'm trying to figure out what the reason for this would be and how to fix it.
--
    
    
More information about the Digitalmars-d-bugs
mailing list