[Issue 5995] New: string append negative integer causes segfault

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 13 01:52:30 PDT 2011


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

           Summary: string append negative integer causes segfault
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: andrden at gmail.com


--- Comment #0 from Andriy <andrden at gmail.com> 2011-05-13 01:48:27 PDT ---
Digital Mars D Compiler v2.052

$ dmd SpawnBug.d 
$ ./SpawnBug 
Segmentation fault (core dumped)
$ cat SpawnBug.d
void main(){
    string ret;
    int i = -1;
    ret ~= i;
}

-- 
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