Article: Finding memory bugs in D code with AddressSanitizer

Walter Bright newshound2 at digitalmars.com
Thu Jan 4 00:46:57 UTC 2018


On 1/3/2018 3:16 PM, Martin Nowak wrote:
> https://issues.dlang.org/show_bug.cgi?id=18190

This is a stack overflow caused by having 4096 expression statements. The 
compiler joins them with a commaexpression, and then recursively traverses it.

 > Nothing in the D part, not too surprising given dmd's approach to memory
management though ;).

Stack overflow has nothing to do with memory management.


More information about the Digitalmars-d-announce mailing list