[phobos] Looks like more problems with the array append patches

Denis 2korden at gmail.com
Fri Apr 2 10:59:00 PDT 2010


On Fri, Apr 2, 2010 at 10:34 PM, Andrei Alexandrescu <andrei at erdani.com> wrote:
> Haven't noticed, but then I couldn't use D in a while.
>
> Andrei
>
> Walter Bright wrote:
>>
>>
>> -------- Original Message --------
>> Subject: Memory Corruption with AAs
>> Date: Fri, 2 Apr 2010 17:15:36 +0000 (UTC)
>> From: dsimcha <dsimcha at yahoo.com>
>> Organization: XXX News Server
>> Newsgroups: digitalmars.D
>>
>> Has anyone else still been noticing difficult to reproduce memory
>> corruption
>> issues in the presence of associative arrays with 2.042?  They seem to
>> happen
>> very infrequently and non-deterministically.  I can only reproduce them in
>> the
>> context of a large program.  However, they don't occur in 2.040 (the
>> release
>> before the array stomping patch), and they are clearly a result of memory
>> corruption, as contents of arrays change from what I expect them to be to
>> completely random-looking values inside a loop that does a lot of memory
>> management and uses AAs heavily but doesn't modify the values.
>> _______________________________________________
>> phobos mailing list
>> phobos at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/phobos
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>

I have tried updating ddmd to 2.042 recently and it crashed upon
building druntime (deterministically). Reverted back to 2.031 for now.
I'll try to test other versions to track down the regression point and
report back soon. Might be just a bug, though.


More information about the phobos mailing list