[Issue 29] New: std.string.format and std.string.text makes "SEGMENTATION FAULT"

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Thu Dec 13 21:13:18 PST 2012


http://gdcproject.org/bugzilla/show_bug.cgi?id=29

             Bug #: 29
           Summary: std.string.format and std.string.text makes
                    "SEGMENTATION FAULT"
    Classification: Unclassified
           Product: GDC
           Version: 4.7.x
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: libgphobos
        AssignedTo: ibuclaw at gdcproject.org
        ReportedBy: vangelisforever at yandex.ru


Hi everyone!
Try this sample in your code:

string s;
for (int i=0; i<100000; i++)
 s=std.string.format("%d", i); // or s = std.string.text(i);

and this code will fail after some iteration time.

Thank you.

-- 
Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all issue changes.


More information about the D.gnu mailing list