digitalmars.D.bugs - [Issue 11392] New: dirEntries segfaults (fails in 2.064 beta 4, works in 2.063.2)
- d-bugmail puremagic.com (54/54) Oct 30 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11392
- d-bugmail puremagic.com (10/10) Oct 31 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11392
- d-bugmail puremagic.com (6/6) Oct 31 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11392
- d-bugmail puremagic.com (7/7) Oct 31 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11392
- d-bugmail puremagic.com (17/17) Oct 31 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11392
- d-bugmail puremagic.com (12/12) Oct 31 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11392
- d-bugmail puremagic.com (9/10) Nov 01 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11392
- d-bugmail puremagic.com (8/14) Nov 01 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11392
- d-bugmail puremagic.com (13/15) Nov 01 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11392
- d-bugmail puremagic.com (6/6) Nov 01 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11392
- d-bugmail puremagic.com (6/6) Nov 02 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11392
- d-bugmail puremagic.com (11/11) Nov 03 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11392
- d-bugmail puremagic.com (9/9) Nov 03 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11392
- d-bugmail puremagic.com (12/12) Nov 03 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11392
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: nobody puremagic.com ReportedBy: thelastmammoth gmail.com 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: D3std4file15DirIteratorImpl4nextMFZb + 297, stop reason = EXC_BAD_ACCESS (code=1, address=0x0) 297 D3std4file15DirIteratorImpl6stepInMFAyaZb + 159 D3std4file15DirIteratorImpl6__ctorMFNcAyaE3std4file8SpanModebZS3std4file15DirIteratorImpl + 127 D3std4conv66__T7emplaceTS3std4file15DirIteratorImplTAyaTE3std4file8SpanModeTbZ7emplaceFPS3std4file15DirIteratorImplKAyaKE3std4file8SpanModeKbZPS3std4file15DirIteratorImpl + 70 D3std8typecons86__T10RefCountedTS3std4file15DirIteratorImplVE3std8typecons24RefCountedAutoInitialize0Z10RefCounted15RefCountedStore42__T10initializeTAyaTE3std4file8SpanModeTbZ10initializeMFKAyaKE3std4file8SpanModeKbZv + 128 D3std8typecons86__T10RefCountedTS3std4file15DirIteratorImplVE3std8typecons24RefCountedAutoInitialize0Z10RefCounted37__T6__ctorTAyaTE3std4file8SpanModeTbZ6__ctorMFNcKAyaKE3std4file8SpanModeKbZS3std8typecons86__T10RefCountedTS3std4file15DirIteratorImplVE3std8typecons24RefCountedAutoInitialize0Z10RefCounted + 17 D3std4file11DirIterator6__ctorMFNcAyaE3std4file8SpanModebZS3std4file11DirIterator + 50 D3std4file10dirEntriesFAyaE3std4file8SpanModebZS3std4file11DirIterator + 57 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 30 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11392 monarchdodra gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |monarchdodra gmail.com I was not able to reproduce on linux64, on any of beta 1, 3 or 4. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 31 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11392 I was not able to reproduce on win32 either. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 31 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11392 well that would explain why it would've gone un-noticed... can anyone verify on OSX? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 31 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11392 safety0ff.bugz <safety0ff.bugz gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |safety0ff.bugz gmail.com 03:31:28 PDT --- Maybe my PR https://github.com/D-Programming-Language/phobos/pull/1657 changed the test that might have caught it. I looked at the reports which lead to those tests and the directory string did not look relevant. In retrospect, I should have used something like: auto cwd = getcwd(); chdir(testdir); scope(exit) chdir(cwd); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 31 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11392 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla digitalmars.com Platform|All |x86_64 OS/Version|All |Mac OS X 22:36:59 PDT --- I can confirm this seg faults on OSX, 64 bits only. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 31 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11392I can confirm this seg faults on OSX, 64 bits only.how come this kind of obvious bug (not due to any obscure usage condition, just on plain function usage) can go through the autotester unnoticed ? is that due to https://github.com/D-Programming-Language/phobos/pull/1657 ? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 01 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11392Only one way to find out: https://github.com/D-Programming-Language/phobos/pull/1677 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------I can confirm this seg faults on OSX, 64 bits only.how come this kind of obvious bug (not due to any obscure usage condition, just on plain function usage) can go through the autotester unnoticed ? is that due to https://github.com/D-Programming-Language/phobos/pull/1657 ?
Nov 01 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11392 04:40:09 PDT ---Only one way to find out: https://github.com/D-Programming-Language/phobos/pull/1677I just did the same, both test show that it would not have been caught with or without the changes to the test. Anyways, as I stated before, in retrospect, I should have used: auto cwd = getcwd(); chdir(testdir); scope(exit) chdir(cwd); and left the actual tests alone. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 01 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11392 23:57:47 PDT --- https://github.com/D-Programming-Language/dmd/pull/2704 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 01 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11392 00:05:19 PDT --- https://github.com/D-Programming-Language/phobos/pull/1680 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 02 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11392 Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/fe9a3537ea2d208f3d5e37f6a2ea6e50f00aadd2 fix Issue 11392 - dirEntries segfaults https://github.com/D-Programming-Language/phobos/commit/2a0d3d63954ed31d585708a41394e46115f9007d fix Issue 11392 - dirEntries segfaults -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 03 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11392 Commit pushed to 2.064 at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/3fe0703932d7b2486ec838045dd76322f1b54026 fix Issue 11392 - dirEntries segfaults -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 03 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11392 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED 11:18:40 PST --- This was fixed by: https://github.com/D-Programming-Language/dmd/pull/2701 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 03 2013