zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #11211
[Bug 922504] Re: Endless Loop in Ordpath generation - Assertion?
** Branch linked: lp:~zorba-coders/zorba/ordpath-bitlength-assert
** Changed in: zorba
Status: New => In Progress
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/922504
Title:
Endless Loop in Ordpath generation - Assertion?
Status in Zorba - The XQuery Processor:
In Progress
Bug description:
A customer form 28msec was able to produce an endless loop in
OrdPath::getLocalBitLength. Basically, the variable lastByte was set
to 0 in line 360 -> the while loop never stops.
Unfortunately, I was not able to figure out under which circumstances
this behavior happens. But would it be possible to add an Assertion to
catch this failure? Moreover, it would be very nice to print some
information in case of assertions. E.g. the value of the current
Ordpath. Otherwise, it is almost impossible to reproduce an assertion.
I already talk to Matthias concerning printing some additional
information. He thinks it could be added to the stack print. He will
get in touch with you to discuss if it can be done without performance
regressions.
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/922504/+subscriptions
References