data corruption

Ellery Newcomer ellery-newcomer at utulsa.edu
Mon Apr 5 17:06:30 PDT 2010


Hey folks,

I've got this screwy problem with my old version of dmdz.

One of the functions runs through a loop that appends to a string[] 
about four or five times. When it's chewing through a large amount of 
source code, maybe 1 call out of 200 the third element of the array gets 
corrupted just after an append.

duping the string that gets appended has no effect.

Trying to print out the pointer addresses to the strings does seem to 
get rid of the problem.

I'm using dmd 2.042; it doesn't seem to happen on 2.040



More information about the Digitalmars-d mailing list