http://d.puremagic.com/issues/show_bug.cgi?id=10090
Summary: Segfault "cannot get frame pointer to <function>"
Product: D
Version: D2
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Derek Rhodes <[email protected]> 2013-05-15 13:30:06 PDT ---
This code
import std.functional;
import std.algorithm;
void main() {
bool b = true;
bool f(int) { return b; }
filter!(not!f)([1]);
}
causes the compiler to segfault. I am using no compiler flags or options. I
have DMD64 D Compiler v2.062.
On a larger project with similar code, I get the error
/usr/include/d/std/algorithm.d(1288): Error: constructor
std.algorithm.FilterResult!(not, ReadMacroPartialMatch[]).FilterResult.this
cannot get frame pointer to not
/usr/include/d/std/algorithm.d(1310): Error: function
std.algorithm.FilterResult!(not, ReadMacroPartialMatch[]).FilterResult.popFront
cannot get frame pointer to not
/usr/include/d/std/algorithm.d(1288): Error: constructor
std.algorithm.FilterResult!(not, ReadMacroPartialMatch[]).FilterResult.this
cannot get frame pointer to not
/usr/include/d/std/algorithm.d(1310): Error: function
std.algorithm.FilterResult!(not, ReadMacroPartialMatch[]).FilterResult.popFront
cannot get frame pointer to not
But I cannot figure out how to reproduce this error in a small example. I just
get the segfault on the example code I posted.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------