Crash when iterating over files with foreach and std.file.dirEntries on Windows?

Johannes Pfau via D.gnu d.gnu at puremagic.com
Mon Nov 16 01:31:21 PST 2015


Am Mon, 16 Nov 2015 03:08:39 +0000
schrieb Jeremy DeHaan <dehaan.jeremiah at gmail.com>:

> I'm wondering if anyone has experienced a crash when using 
> dirEntries to iterate over files. This is for the Windows 32 bits 
> build of gdc from the gdc downloads page and it happens for both 
> the 5.2.0 and 4.9.3 gcc versions (I haven't tried any others). It 
> works correctly for the 64 bit builds though.
> 
> I'm wondering if this is a known issue (I couldn't find anything) 
> or if I should get a minimal example going. Crash seems to happen 
> when exiting a foreach loop.

I think somebody already reported this. The windows builds are
unsupported right now and there are likely many similar issues. I hope
we'll have stable MinGW builds at the end of this year.


More information about the D.gnu mailing list