I was not able to reproduce on linux64, on any of beta 1, 3 or 4.
Comment #2 by monarchdodra — 2013-10-31T02:09:43Z
I was not able to reproduce on win32 either.
Comment #3 by thelastmammoth — 2013-10-31T02:39:47Z
well that would explain why it would've gone un-noticed...
can anyone verify on OSX?
Comment #4 by safety0ff.bugz — 2013-10-31T03:31:28Z
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);
Comment #5 by bugzilla — 2013-10-31T22:36:59Z
I can confirm this seg faults on OSX, 64 bits only.
Comment #6 by thelastmammoth — 2013-11-01T01:37:47Z
(In reply to comment #5)
> 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 ?
Comment #8 by safety0ff.bugz — 2013-11-01T04:40:09Z
(In reply to comment #7)
> Only one way to find out:
> https://github.com/D-Programming-Language/phobos/pull/1677
I 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.