[Issue 10090] Segfault "cannot get frame pointer to <function>"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 16 04:35:08 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10090


Iain Buclaw <ibuclaw at ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw at ubuntu.com


--- Comment #2 from Iain Buclaw <ibuclaw at ubuntu.com> 2013-05-16 04:35:06 PDT ---
Looks to be a closure bug.

ICE's in gdc also, backtrace:

#0 markAsNeedingClosure(f =
std.algorithm.FilterResult!(not,int[]).FilterResult.this, outerFunc = D main)
#1 checkEscapingSiblings(f = main.not!(f).not!(int).not, outerFunc = D main)
#2 checkEscapingSiblings(f = main.f, outerFunc = D main)
#3 FuncDeclaration::needsClosure(f = D main)
...

The loop condition in markAsNeedingClosure will keep looping until a null
pointer is dereferenced as std.algorithm.FilterResult is not lexically nested
inside D main.

-- 
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