[Issue 10090] New: Segfault "cannot get frame pointer to <function>"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed May 15 13:30:07 PDT 2013
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: nobody at puremagic.com
ReportedBy: gdkslpmq at spam4.me
--- Comment #0 from Derek Rhodes <gdkslpmq at spam4.me> 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: -------
More information about the Digitalmars-d-bugs
mailing list