http://d.puremagic.com/issues/show_bug.cgi?id=6308
Summary: Destruction of temporaries on exception causes segfault Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: wrong-code Severity: major Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: thecybersha...@gmail.com --- Comment #0 from Vladimir Panteleev <thecybersha...@gmail.com> 2011-07-13 17:52:12 PDT --- My reply about this issue on dmd-beta is pending moderation, but a bug about this should probably be filed anyway. import std.stdio; void main() { foreach (i; 0..100) foreach (line; File("test.d").byLine) {} } On Windows, when the above program is compiled with DMD from current git and ran, it crashes with an unhandled exception (Windows displays two standard "has stopped working" dialogs in succession). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------