[Issue 20812] New: _d_assocarrayliteralTX segfault assigning a shared associative array an AA literal

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 8 19:17:02 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=20812

          Issue ID: 20812
           Summary: _d_assocarrayliteralTX segfault assigning a shared
                    associative array an AA literal
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: zorael at gmail.com

Manjaro/Arch x86_64, dmd 2.091.1. ldc does not seem to be affected.

shared string[string] aa;

void main()
{
    aa = [ "abc" : "123" ];
}

> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff7de2239 in _d_assocarrayliteralTX () from /usr/lib/libphobos2.so.0.91

https://run.dlang.io/is/D7AhPD

Could not get a real backtrace into phobos as dmd built with digger crashes
when compiling due to issue #18026.

--


More information about the Digitalmars-d-bugs mailing list