

Random Memory Corruption in AA at Global Scope
This bounty was seeded by BPF Korea.
Category: Bug
Link: https://github.com/Geod24/localrest/pull/5
Description
This is a bug we haven’t been able to properly reduce. The author believes he already encountered the same bug years ago in a similarly complex setup and that this bug appears as a result of using Threads and Fibers together. While debugging, one can access the private symbol and see that the content is cleared up when no write operation is supposed to happen.
Definition of Done
- A merged PR to DMD/Druntime/Phobos which makes this code behave correctly
- A proper explanation of what is going on, and why the contents of this AA suddenly change (Optimally this would be the message(s) to the commit(s) that fix the issue)