Thread overview
[Issue 17402] dirEntries iterator crashes in conjunction with readText
May 16, 2017
Vladimir Panteleev
Jun 20, 2017
RazvanN
May 16, 2017
https://issues.dlang.org/show_bug.cgi?id=17402

Andrei Alexandrescu <andrei@erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrei@erdani.com

--- Comment #1 from Andrei Alexandrescu <andrei@erdani.com> ---
Works for me. Maybe you have a mismatched combination of compiler/druntime/stdlib? Have you tried it on the latest release?

--
May 16, 2017
https://issues.dlang.org/show_bug.cgi?id=17402

Vladimir Panteleev <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow@gmail.com

--- Comment #2 from Vladimir Panteleev <thecybershadow@gmail.com> ---
Wow, that's a segfault inside libpthread (which for some reason gets called
from glibc's readdir).

If you can reproduce this reliably, can you get debug symbols for libc and libpthread and get a detailed stack trace?

--
May 16, 2017
https://issues.dlang.org/show_bug.cgi?id=17402

--- Comment #3 from Andrei Alexandrescu <andrei@erdani.com> ---
More info: the code only crashes when invoked from inside a dmd unittest.

--
June 20, 2017
https://issues.dlang.org/show_bug.cgi?id=17402

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--