[Issue 24440] [REG 2.107] multiple multidimensional array appends broke in 2.107

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 19 18:57:16 UTC 2024


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

Tim <tim.dlang at t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tim.dlang at t-online.de

--- Comment #5 from Tim <tim.dlang at t-online.de> ---
This looks like the same problem as in issue 24498. The expression `new long
[][][](n, n)` creates memory, which is not scanned by the GC, but contains
pointers. The GC will free the inner arrays and the program crashes, when they
are accessed.

--


More information about the Digitalmars-d-bugs mailing list