Bug 801 – writefln() on an associative array fails hard

Status
RESOLVED
Resolution
DUPLICATE
Severity
critical
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2007-01-06T14:06:00Z
Last change time
2015-06-09T05:15:18Z
Assigned to
dvdfrdmn
Creator
matti.niemenmaa+dbugzilla

Comments

Comment #0 by matti.niemenmaa+dbugzilla — 2007-01-06T14:06:43Z
import std.stdio; void main() { int[int] foo; foo[1] = 2; writefln("%s", foo); } The above code results in a segmentation fault on line 911 of std.format. DMD has a similar problem, described in Issue 800.
Comment #1 by bugzilla — 2007-02-03T00:51:06Z
*** This bug has been marked as a duplicate of 800 ***