Bug 6363 – Runtime crashes on a very simple case : throw + dirEntries

Status
RESOLVED
Resolution
DUPLICATE
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2011-07-22T12:34:00Z
Last change time
2011-08-25T08:01:16Z
Assigned to
nobody
Creator
soywiz

Comments

Comment #0 by soywiz — 2011-07-22T12:34:57Z
Works on v2.052, crashes on :: Windows - DMD32 D Compiler v2.054 Maybe something related to templates? Don't know. But that way at least crashes. // dmd -run demo2.d import std.file; int main(string[] args) { throw(new Exception("")); dirEntries("", SpanMode.shallow); return 0; }
Comment #1 by dmitry.olsh — 2011-07-22T12:45:53Z
Looks a lot like issue 6308: http://d.puremagic.com/issues/show_bug.cgi?id=6308 Also after commenting out throw it stops crushing, maybe obvious but important.
Comment #2 by clugdbug — 2011-08-25T08:01:16Z
Fixed in git master. *** This issue has been marked as a duplicate of issue 6308 ***