https://issues.dlang.org/show_bug.cgi?id=16408 --- Comment #2 from Matt Jones <matthew.brennan.jones at gmail.com> --- Interesting. Changing from std.conv.to!string to std.string.fromStringz returns "DDDD" for both debug and release mode. --