[Home]

Summary:ASTERISK-12247: asterisk use 99% cpu when agi script uses $AGI->exec("Dial","Local/ext@extensions")
Reporter:Ozan Turksever (ozan)Labels:
Date Opened:2008-06-23 02:55:57Date Closed:2008-06-27 10:52:53
Priority:BlockerRegression?No
Status:Closed/CompleteComponents:Channels/chan_local
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 20080625__bug12914.diff.txt
( 1) gdb.6888
( 2) locks.log
Description:We have agi scrips that redirects calls using $AGI->exec("Dial","Local/100@extensions")

But it seems there may be a problem on chan_local.c

I am attaching the gdb and locks output.

****** ADDITIONAL INFORMATION ******

AGI scripts uses perl.
Comments:By: Tilghman Lesher (tilghman) 2008-06-25 15:26:34

Patch uploaded.  Please apply, test, and give feedback on whether this fixes the issue for you.

By: Ozan Turksever (ozan) 2008-06-26 06:01:21

hold on, i am testing... i will add if anything comes up.

Thanks

By: Ozan Turksever (ozan) 2008-06-27 01:37:43

It seems it is working ok.We can close the bug

By: Digium Subversion (svnbot) 2008-06-27 07:12:32

Repository: asterisk
Revision: 125740

U   branches/1.4/channels/chan_local.c

------------------------------------------------------------------------
r125740 | tilghman | 2008-06-27 07:12:30 -0500 (Fri, 27 Jun 2008) | 7 lines

Add proper deadlock avoidance.
(closes issue ASTERISK-12247)
Reported by: ozan
Patches:
      20080625__bug12914.diff.txt uploaded by Corydon76 (license 14)
Tested by: ozan

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=125740

By: Digium Subversion (svnbot) 2008-06-27 10:52:53

Repository: asterisk
Revision: 125853

U   trunk/channels/chan_local.c

------------------------------------------------------------------------
r125853 | tilghman | 2008-06-27 10:52:45 -0500 (Fri, 27 Jun 2008) | 3 lines

Revert half of the fix, as this part may have been unnecessary (related to issue ASTERISK-12247)
Requested here: http://lists.digium.com/pipermail/asterisk-dev/2008-June/033658.html

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=125853