www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1736] New: dmd segv

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1736

           Summary: dmd segv
           Product: D
           Version: 2.008
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: davidl 126.com


import std.stdio;
void main()
{
        try
        {
        }
        catch(Exception e)
        {
                writefln("error:"~e);
        }
}


-- 
Dec 16 2007
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1736


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME





I cannot reproduce this problem with dmd 2.008.


-- 
Dec 29 2007
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1736


spam extrawurst.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spam extrawurst.org
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |





i can reproduce it. dmd crashes here too with the exact same code as shown
above.


-- 
Dec 30 2007
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1736






This might be the same bug as 1702, as the following code also crashes DMD.

void main() {
        string a = "Hello " ~ 10;
}


-- 
Jan 01 2008
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1736


davidl 126.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED





Fixed in dmd 2.009


-- 
Jan 01 2008