www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 6363] New: Runtime crashes on a very simple case : throw + dirEntries

reply d-bugmail puremagic.com writes:
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



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: -------
Jul 22 2011
next sibling parent d-bugmail puremagic.com writes:
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



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: -------
Jul 22 2011
prev sibling parent d-bugmail puremagic.com writes:
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



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: -------
Aug 25 2011