digitalmars.D.bugs - [Issue 5911] New: Closure destroys the thrown Exception .
- d-bugmail puremagic.com (33/33) Apr 29 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5911
- d-bugmail puremagic.com (14/14) Apr 30 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5911
- d-bugmail puremagic.com (17/17) Jul 06 2013 http://d.puremagic.com/issues/show_bug.cgi?id=5911
- d-bugmail puremagic.com (6/6) Jul 06 2013 http://d.puremagic.com/issues/show_bug.cgi?id=5911
- d-bugmail puremagic.com (11/11) Jul 07 2013 http://d.puremagic.com/issues/show_bug.cgi?id=5911
- d-bugmail puremagic.com (11/11) Jul 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=5911
- d-bugmail puremagic.com (10/10) Jul 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=5911
http://d.puremagic.com/issues/show_bug.cgi?id=5911 Summary: Closure destroys the thrown Exception . Product: D Version: D2 Platform: x86_64 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: sweatygarlic yahoo.co.jp The below ends with SEGV. ---------------------------- import std.stdio; void logout( lazy const(char)[] msg ) { writeln( msg ); } void main() { string str = "hello world"; logout( (){return str;}() ); // closure 1 try throw new Exception( "exception!!" ); catch( Exception e ) { logout( e.toString ); // closure2 SEGV : e is null. } } ---------------------------- Build : dmd 2.052 on Windows Vista WOW64. Without `closure 1', the code executed successfully. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 29 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5911 kennytm gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kennytm gmail.com Platform|x86_64 |x86 OS/Version|Windows |All The "x86_64" platform means the executable is 64-bit. Only Linux has 64-bit output. BTW, reproducible on Mac OS X also. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 30 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5911 hsteoh quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice CC| |hsteoh quickfur.ath.cx Severity|normal |major Heh, on git HEAD (b9b5c063d7f44b879d6fde74f400ff094ba85707), this code causes an ICE: dmd: struct.c:251: static void AggregateDeclaration::alignmember(structalign_t, unsigned int, unsigned int*): Assertion `alignment > 0 && !(alignment & (alignment - 1))' failed. Aborted -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 06 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5911 P.S. This is on Linux 64-bit. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 06 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5911 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull, wrong-code Platform|x86 |All https://github.com/D-Programming-Language/dmd/pull/2316 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 07 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5911 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/3f95fdda2595c949af9070887a4b50e5fe79e214 fix Issue 5911 - Closure destroys the thrown Exception https://github.com/D-Programming-Language/dmd/commit/88b794d01348c7d0b39ebc2e27e70e7cf1afb66d Issue 5911 - Closure destroys the thrown Exception -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 08 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5911 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 08 2013