[Issue 6308] Destruction of temporaries on exception causes segfault

2011-07-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6308 --- Comment #5 from Vladimir Panteleev thecybersha...@gmail.com 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

[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 thecybersha...@gmail.com changed: What|Removed |Added CC|

[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 thecybersha...@gmail.com 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

[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 bugzi...@digitalmars.com changed: What|Removed |Added CC|

[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 thecybersha...@gmail.com 2011-07-15 21:48:28 PDT --- Minimized testcase: struct C { this(int) { throw new Exception(Oops!); } ~this() { } int bar() { return 1; } }