zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #03213
[Bug 911585] [NEW] eval + staticcollectionmanager fails
Public bug reported:
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.
** Affects: zorba
Importance: Critical
Assignee: Markos Zaharioudakis (markos-za)
Status: New
** Changed in: zorba
Milestone: None => 2.2
** Branch linked: lp:~zorba-coders/zorba/bug911585
--
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:
New
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
Follow ups
References