[Issue 8936] New: Throwing results in searching the whole directory tree rooted in current directory

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 2 07:11:56 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8936

           Summary: Throwing results in searching the whole directory tree
                    rooted in current directory
           Product: D
           Version: D2
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: regression
          Priority: P1
         Component: druntime
        AssignedTo: nobody at puremagic.com
        ReportedBy: verylonglogin.reg at gmail.com


--- Comment #0 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2012-11-02 17:11:54 MSK ---
This is catastrophic Windows druntime issue.

Triggering code:
---
void main()
{
    throw new Exception("Ex"); // or Error, or any Throwable
    // try throw new Exception("Ex"); catch { } // same here
}
---

Want something really long? Lunch this on Windows:
---
import std.file;

void main()
{
    chdir(`C:\`);
    try
        // Let's serach the whole C: drive!
        throw new Exception("Ex");
    catch { }
}
---

Since dmd 2.060.

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


More information about the Digitalmars-d-bugs mailing list