Thread overview
[Issue 6363] New: Runtime crashes on a very simple case : throw + dirEntries
Jul 22, 2011
Dmitry Olshansky
Aug 25, 2011
Don
July 22, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6363

           Summary: Runtime crashes on a very simple case : throw +
                    dirEntries
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: soywiz@gmail.com


--- Comment #0 from Carlos Ballesteros Velasco <soywiz@gmail.com> 2011-07-22 12:34:57 PDT ---
Works on v2.052, crashes on :: Windows - DMD32 D Compiler v2.054
Maybe something related to templates? Don't know. But that way at least
crashes.


// dmd -run demo2.d
import std.file;

int main(string[] args) {
    throw(new Exception(""));
    dirEntries("", SpanMode.shallow);
    return 0;
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 22, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6363


Dmitry Olshansky <dmitry.olsh@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmitry.olsh@gmail.com


--- Comment #1 from Dmitry Olshansky <dmitry.olsh@gmail.com> 2011-07-22 12:45:53 PDT ---
Looks a lot like issue 6308: http://d.puremagic.com/issues/show_bug.cgi?id=6308

Also after commenting out throw it stops crushing, maybe obvious but important.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
August 25, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6363


Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |clugdbug@yahoo.com.au
         Resolution|                            |DUPLICATE


--- Comment #2 from Don <clugdbug@yahoo.com.au> 2011-08-25 08:01:16 PDT ---
Fixed in git master.

*** This issue has been marked as a duplicate of issue 6308 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------