[dmd-beta] rdmd heisenbug

Jason House jason.james.house at gmail.com
Sat Jul 9 18:21:32 PDT 2011


Valgrind. I know the GC will cause false alarms, but you should be able to disable that for the test.

Sent from my iPhone

On Jul 9, 2011, at 7:58 PM, Walter Bright <walter at digitalmars.com> wrote:

> We've got a real heisenbug going on with rdmd.
> 
> Anything that causes the memory layout of rdmd to be different causes it to start working. This includes running it under the debugger. This includes adding any printfs, compiling rdmd with the debug build of dmd, etc.
> 
> I suspect the problem is use of uninitialized memory in druntime/phobos.
> 
> Anyone have any ideas?
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta


More information about the dmd-beta mailing list