[asterisk-bugs] [Asterisk 0015609]: [patch] WARNING[23025]: channel.c:952 __ast_queue_frame: Exceptionally long voice queue length queuing to Local

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Sep 18 09:08:34 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15609 
====================================================================== 
Reported By:                aragon
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15609
Category:                   Core/Channels
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 206273 
Request Review:              
====================================================================== 
Date Submitted:             2009-07-29 09:26 CDT
Last Modified:              2009-09-18 09:08 CDT
====================================================================== 
Summary:                    [patch] WARNING[23025]: channel.c:952
__ast_queue_frame: Exceptionally long voice queue length queuing to Local
Description: 
Since upgrading to 1.4 SVN 206273 I see LOTS these errors when paging or
when calls are processed by app_queue.  When I see the messages during a
page I don't hear any paging (my Polycom phones continue to ring but no
paging audio).

I have no idea where the message is coming from how to reproduce, or
collect debug information for this specific issue.  I need help to find
root cause.
I think it could be caused by locking in autoservice since I see this lock
every time I see the warning message

=== Currently Held Locks ==============================================
=======================================================================
===
=== <file> <line num> <function> <lock name> <lock addr> (times locked)
===
=== Thread ID: 3057154960 (autoservice_run      started at [  238]
autoservice.c ast_autoservice_start())
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=0
(autoservice.c): MUTEX 89 autoservice_run
&(&aslist)->lock 0x81798c8 (1)
=== --- ---> Locked Here: autoservice.c line 89 (autoservice_run)
=== -------------------------------------------------------------------


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0015109 [patch] Abort by memory allocator, poss...
related to          0015817 crash in local_attended_transfer, likel...
related to          0015845 Crash during attended transfer occurs
====================================================================== 

---------------------------------------------------------------------- 
 (0110968) russell (administrator) - 2009-09-18 09:08
 https://issues.asterisk.org/view.php?id=15609#c110968 
---------------------------------------------------------------------- 
It shouldn't happen.  However, I would not expect my patch to change it.

The patch is to address the crashes that you (and many others) have seen,
where you see it crashing when trying to free a frame, and then destroying
a filestream.  It has often been seen from musiconhold code.

This bug report includes information on a few problems at this point:

1) The issue where you see the "Exceptionally long voice queue ..."

2) The filestream crash (a number of backtraces posted showing that
crash).

3) At least one deadlock (shown by the core show locks output that has
been posted)

https://issues.asterisk.org/view.php?id=3 may be the cause of
https://issues.asterisk.org/view.php?id=1.  However, the patch is only for
https://issues.asterisk.org/view.php?id=2. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-18 09:08 russell        Note Added: 0110968                          
======================================================================




More information about the asterisk-bugs mailing list