[asterisk-bugs] [Asterisk 0018862]: Free parking slot logic broken if randomising start - stops early and doesn't recognize it failed (#16428 is not complete fix)
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed May 18 15:13:45 CDT 2011
The following issue has been UPDATED.
======================================================================
https://issues.asterisk.org/view.php?id=18862
======================================================================
Reported By: davidw
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18862
Category: Features/Parking
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: acknowledged
Asterisk Version: SVN
JIRA: SWP-3156
Regression: No
Reviewboard Link: https://reviewboard.asterisk.org/r/1222
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 307231
Request Review:
======================================================================
Date Submitted: 2011-02-21 12:52 CST
Last Modified: 2011-05-18 15:13 CDT
======================================================================
Summary: Free parking slot logic broken if randomising start
- stops early and doesn't recognize it failed
(https://issues.asterisk.org/view.php?id=16428 is not complete fix)
Description:
https://issues.asterisk.org/view.php?id=16428 fixes a bug relating to the exit
conditions for the free parking
slot search, but only does so if the start of the search is not randomised
(R option on ParkAndAnnounce()).
It stops the search when it hits the end of the range, not when it has
wrapped back to the starting point.
The subsequent code only properly handles the no free slot case when it
stops after going right round. I haven't followed through, but I think
there is a potential crash downstream.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0016428 [patch] park() function takes 100% of CPU
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-05-18 15:13 jrose Reviewboard Link =>
https://reviewboard.asterisk.org/r/1222
2011-05-18 15:13 jrose Description Updated
2011-05-18 15:13 jrose Additional Information Updated
======================================================================
More information about the asterisk-bugs
mailing list