Endless Loop in Ordpath generation - Assertion?

Bug #922504 reported by David Graf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
Critical
Ghislain Fourny

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.

Related branches

Changed in zorba:
importance: Undecided → Critical
Changed in zorba:
milestone: none → 3.0
Changed in zorba:
milestone: 3.0 → 2.7
Revision history for this message
Markos Zaharioudakis (markos-za) wrote :

Ghislain, I am transferring this bug to you. You have done some work with ordpath before and you can coordinate better with David about what he needs exactly. But if you need any help from me, don't hesitate to ask. Thanks.

Changed in zorba:
assignee: Markos Zaharioudakis (markos-za) → Ghislain Fourny (gislenius)
Changed in zorba:
status: New → In Progress
Chris Hillery (ceejatec)
Changed in zorba:
status: In Progress → Fix Committed
Changed in zorba:
status: Fix Committed → Fix Released
milestone: 2.7 → 2.6
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.