[Issue 18005] AA leak

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 22 16:25:11 UTC 2017


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

--- Comment #3 from Steven Schveighoffer <schveiguy at yahoo.com> ---
There's nothing different on Windows vs. Linux with regards to the AA
implementation. Both are abstracted against the GC.

So if this is 64-bit windows, the only attribute I can think of to associate
with this behavior is the numbers the OS assigns to stacks/heaps happen to
coincide with the pointers that are there.

(In reply to Temtaime from comment #2)
> Also there's NO_SCAN attribute so there should not be any.

Doesn't matter. The stack is not NO_SCAN, and the AA bucket elements are not
NO_SCAN. What you are doing is making large targets (13MB targets) that these
false pointers may  hook onto.

The nature of false pointers is that in certain situations, they happen, and
changing seemingly random things can affect it. Not sure if we will get to the
bottom of this, or even solve it.

--


More information about the Digitalmars-d-bugs mailing list