dmd crash help
Don
nospam at nospam.com
Fri Feb 5 00:25:56 PST 2010
strtr wrote:
> Don Wrote:
>> Excellent! I can reproduce it.
>> The D2 version of this code (char[] text = `Hi`.dup;) segfaults in
>> Expression::arraySyntaxCopy() in expression.c, with evidence of memory
>>> corruption. The D1 version does *not* segfault there. In fact the code
>> compiles with the debug version of DMD1!
> I'd love there to be a built debug version in the zip.
>
>> I think the array literal isn't getting initialized properly.
> What is up with the specific length of the enum? If you remove one element it compiles just fine.
Bugzilla 3769. Very nasty.
More information about the Digitalmars-d-learn
mailing list