http://d.puremagic.com/issues/show_bug.cgi?id=11392
Summary: dirEntries segfaults (fails in 2.064 beta 4, works in 2.063.2) Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: thelastmamm...@gmail.com --- Comment #0 from thelastmamm...@gmail.com 2013-10-30 17:57:09 PDT --- Note: only tried on OSX 2.064 beta 4: dmd -run main.d --- killed by signal 11 2.063.2:works --- import std.file; void main(){ auto dFiles = dirEntries(".",SpanMode.shallow); foreach(d; dFiles){} } --- running under lldb: * thread #1: tid = 0x1c03, 0x000000010002b1d5 test2 D3std4file15DirIteratorImpl4nextMFZb + 297, stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x000000010002b1d5 test2 D3std4file15DirIteratorImpl4nextMFZb + 297 frame #1: 0x000000010002b08b test2 D3std4file15DirIteratorImpl6stepInMFAyaZb + 159 frame #2: 0x000000010002b3b3 test2 D3std4file15DirIteratorImpl6__ctorMFNcAyaE3std4file8SpanModebZS3std4file15DirIteratorImpl + 127 frame #3: 0x000000010002198e test2 D3std4conv66__T7emplaceTS3std4file15DirIteratorImplTAyaTE3std4file8SpanModeTbZ7emplaceFPS3std4file15DirIteratorImplKAyaKE3std4file8SpanModeKbZPS3std4file15DirIteratorImpl + 70 frame #4: 0x00000001000390dc test2 D3std8typecons86__T10RefCountedTS3std4file15DirIteratorImplVE3std8typecons24RefCountedAutoInitialize0Z10RefCounted15RefCountedStore42__T10initializeTAyaTE3std4file8SpanModeTbZ10initializeMFKAyaKE3std4file8SpanModeKbZv + 128 frame #5: 0x0000000100039051 test2 D3std8typecons86__T10RefCountedTS3std4file15DirIteratorImplVE3std8typecons24RefCountedAutoInitialize0Z10RefCounted37__T6__ctorTAyaTE3std4file8SpanModeTbZ6__ctorMFNcKAyaKE3std4file8SpanModeKbZS3std8typecons86__T10RefCountedTS3std4file15DirIteratorImplVE3std8typecons24RefCountedAutoInitialize0Z10RefCounted + 17 frame #6: 0x000000010002c3e6 test2 D3std4file11DirIterator6__ctorMFNcAyaE3std4file8SpanModebZS3std4file11DirIterator + 50 frame #7: 0x000000010002c825 test2 D3std4file10dirEntriesFAyaE3std4file8SpanModebZS3std4file11DirIterator + 57 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------