July 17, 2013 [Issue 10659] New: Program segfaults using std.algorithm.map and std.algorithm.filter | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=10659 Summary: Program segfaults using std.algorithm.map and std.algorithm.filter Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: peterneubauer2@gmail.com --- Comment #0 from Peter Neubauer <peterneubauer2@gmail.com> 2013-07-17 01:37:07 PDT --- The following source produces a program which segfaults: === File a.d: === import std.algorithm; void main () { auto p = (int) => true; [ 1 ].map!(x => x).filter!p; } === File b.d: === import std.algorithm; Output: $ dmd b.d a.d && ./b Segmentation fault (core dumped) The error depends on compile order: $ dmd a.d b.d && ./a $ # runs & exits fine -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 17, 2013 [Issue 10659] Program segfaults using std.algorithm.map and std.algorithm.filter | ||||
---|---|---|---|---|
| ||||
Posted in reply to Peter Neubauer | http://d.puremagic.com/issues/show_bug.cgi?id=10659 --- Comment #1 from Peter Neubauer <peterneubauer2@gmail.com> 2013-07-17 01:37:56 PDT --- DMD version is 2.063.2 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation