zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #03336
[Bug 911585] Re: eval + staticcollectionmanager fails
** Changed in: zorba
Status: New => Fix Committed
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/911585
Title:
eval + staticcollectionmanager fails
Status in Zorba - The XQuery Processor:
Fix Committed
Bug description:
The 4th test in test/unit/staticcollectionmanager.cpp fails in two
places.
1. src/compiler/rewriter/tools/dataflow_annotations.cpp:942: void
zorba::SourceFinder::findNodeSourcesRec(zorba::expr*,
std::vector<zorba::expr*>&, zorba::user_function*): Assertion
`setExpr->get_expr_kind() == var_set_expr_kind' failed.
2. If this is fixed or the invoke query in static_context.cpp is
compiled with O0, an exception is raised in
#1 0xb70dd0b5 in zorba::dynamic_context::get_variable (this=0x82f2b18, varid=4, varname=..., loc=..., itemValue=..., seqValue=...) at /home/mbrantner/zorba/sandbox/src/context/dynamic_context.cpp:453
#2 0xb77aa44a in zorba::EvalIterator::setExternalVariables (this=0x82de178, ccb=0x82e5f18, outerSctx=0x82f8c50, evalSctx=0x82f0228, evalDctx=0x82f2b18) at /home/mbrantner/zorba/sandbox/src/runtime/eval/eval.cpp:325
Note that the latter only happens if the imported module contains two
variable declarations.
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/911585/+subscriptions
References