[Issue 6308] Destruction of temporaries on exception causes segfault

2011-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6308 --- Comment #5 from Vladimir Panteleev 2011-07-25 23:26:22 PDT --- (In reply to comment #4) > I'll try to minimize it. Reduced it to a small variation of the above. struct C { void oops() { throw new Exception("Oops!"); }

[Issue 6308] Destruction of temporaries on exception causes segfault

2011-07-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6308 --- Comment #4 from Vladimir Panteleev 2011-07-21 16:32:01 PDT --- Issue 6329 is an example where the the exception isn't thrown in the constructor, but in the body of a delegate (dirEntries uses opApply). I'll try to minimize it. -- Configu

[Issue 6308] Destruction of temporaries on exception causes segfault

2011-07-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6308 Vladimir Panteleev changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Co

[Issue 6308] Destruction of temporaries on exception causes segfault

2011-07-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6308 --- Comment #2 from Vladimir Panteleev 2011-07-15 21:48:28 PDT --- Minimized testcase: struct C { this(int) { throw new Exception("Oops!"); } ~this() { } int bar() { return 1; } } void foo(int) {} void

[Issue 6308] Destruction of temporaries on exception causes segfault

2011-07-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6308 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #