June 10, 2009 [Issue 3060] New: Catch exception then loop causes seg fault | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=3060 Summary: Catch exception then loop causes seg fault Product: D Version: 2.030 Platform: Other OS/Version: Mac OS X Status: NEW Keywords: EH Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: oag@optusnet.com.au The following trivial program segfaults when run. If the while (1) line is commented out it runs OK. If the trivial function call is omitted it also runs as expected. void fun() {} void main() { try { throw new Exception("Error"); } catch (Exception) { fun(); } while (1) {} } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 09, 2011 [Issue 3060] Catch exception then loop causes seg fault | ||||
---|---|---|---|---|
| ||||
Posted in reply to oag@optusnet.com.au | http://d.puremagic.com/issues/show_bug.cgi?id=3060 Andrei Alexandrescu <andrei@metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |andrei@metalanguage.com Resolution| |FIXED --- Comment #1 from Andrei Alexandrescu <andrei@metalanguage.com> 2011-01-08 16:34:02 PST --- Must have been fixed a while ago. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation