dmd thrashes fedora

Timon Gehr timon.gehr at gmx.ch
Sun Feb 12 06:34:34 PST 2012


On 02/10/2012 08:38 PM, Ellery Newcomer wrote:
>
> when I run
>
> dmd -gc -oftopo topo.d multi_index.d replace.d
>
> on the contents of
>
> http://personal.utulsa.edu/~ellery-newcomer/bad.zip
>
> in fedora 16 x86_64 with dmd 2.057 64 bit
>
> dmd starts thrashing like there is no tomorrow and generally locks up my
> entire system. Can anyone confirm this behavior?

It is a bug in your code:

-                ForEachIndex!(N+1, L).result;
+                ForEachIndex!(N+1, L[1..$]).result;

The diagnostic DMD spits out is quite bad.


More information about the Digitalmars-d-learn mailing list