[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
Tue Sep 29 06:14:43 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 
JIRA:                        
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-29 06:14 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
----------------------------------------------------------------------
duplicate of        0015976 abort in filestream_destructor / ast_fi...
related to          0015109 [patch] Abort by memory allocator, poss...
has duplicate       0015900 Console flood &amp; CPU load 100% when ...
related to          0015817 crash in local_attended_transfer, likel...
related to          0015845 Crash during attended transfer occurs
====================================================================== 

---------------------------------------------------------------------- 
 (0111482) atis (reporter) - 2009-09-29 06:14
 https://issues.asterisk.org/view.php?id=15609#c111482 
---------------------------------------------------------------------- 
I have tried filestream_frisolate-1.4.diff2.txt patch and have the
following backtrace:

# 0  0x00000000004abc4c in ast_frame_free (frame=0x323931203a6d6f72,
cache=1) at frame.c:377
# 1  0x00000000004607d6 in ast_write (chan=0x2aaac8309258,
fr=0x2aaac41fda88) at channel.c:3486
# 2  0x00002aaab82c54b1 in moh_files_generator (chan=0x2aaac8309258,
data=0x2aaac8584238, len=160, samples=160) at res_musiconhold.c:298
# 3  0x000000000045cc05 in ast_read_generator_actions
(chan=0x2aaac8309258, f=0x2aaac839ad80) at channel.c:2516
# 4  0x000000000045ebc7 in __ast_read (chan=0x2aaac8309258, dropaudio=0)
at channel.c:2996
# 5  0x000000000045ef6a in ast_read (chan=0x2aaac8309258) at
channel.c:3034
# 6  0x0000000000447bbc in autoservice_run (ign=0x0) at autoservice.c:116
(snip)

full backtrace attached.

I can reproduce this at least two times a day, using load tests. Initial
issue was https://issues.asterisk.org/view.php?id=15976 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-29 06:14 atis           Note Added: 0111482                          
======================================================================




More information about the asterisk-bugs mailing list