Stack overflow in HOF query
Bug #1187887 reported by
Cezar Andrei
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Invalid
|
Critical
|
Nicolae Brinza |
Bug Description
In zorba-2.9 execute:
declare function local:f($x as xs:integer)
{
$x+1
};
declare function local:for-
if (fn:empty($seq))
then ()
else $f(fn:head($seq)), local:for-
};
local:for-each( (1,2,3), fn:function-
Result:
(no URI):9,27: Zorba error [zerr:ZXQP0003]: internal error: stack overflow
Changed in zorba: | |
importance: | Undecided → Critical |
To post a comment you must log in.
Nicolai implemented teh HOF functions used in this example so I reassigned the bug to him.