D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 6363 - Runtime crashes on a very simple case : throw + dirEntries
Summary: Runtime crashes on a very simple case : throw + dirEntries
Status: RESOLVED DUPLICATE of issue 6308
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86 Windows
: P2 regression
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-22 12:34 UTC by Carlos Ballesteros Velasco
Modified: 2011-08-25 08:01 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Carlos Ballesteros Velasco 2011-07-22 12:34:57 UTC
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 Dmitry Olshansky 2011-07-22 12:45:53 UTC
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 Don 2011-08-25 08:01:16 UTC
Fixed in git master.

*** This issue has been marked as a duplicate of issue 6308 ***