Bug creation and email sending has been disabled, file new bugs at gcc.gnu.org/bugzilla
Bug 29 - std.string.format and std.string.text makes "SEGMENTATION FAULT"
Summary: std.string.format and std.string.text makes "SEGMENTATION FAULT"
Status: RESOLVED WORKSFORME
Alias: None
Product: GDC
Classification: Unclassified
Component: libgphobos (show other bugs)
Version: 4.7.x
Hardware: x86 Linux
: --- normal
Assignee: Iain Buclaw
URL:
Depends on:
Blocks:
 
Reported: 2012-12-14 05:13 CET by Andrey
Modified: 2013-03-28 11:24 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey 2012-12-14 05:13:18 CET
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.
Comment 1 Iain Buclaw 2013-03-28 11:24:46 CET
I can no longer reproduce this.