[asterisk-bugs] [Asterisk 0012717]: [patch] chan_iax2 becomes unresponsive

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jun 3 00:08:49 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12717 
====================================================================== 
Reported By:                gewfie
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   12717
Category:                   Channels/chan_iax2
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.4.20 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-23-2008 19:23 CDT
Last Modified:              06-03-2008 00:08 CDT
====================================================================== 
Summary:                    [patch] chan_iax2 becomes unresponsive
Description: 
chan_iax2 over a period of time dies.  we have tried reloading the module
but this does not bring it back.  we have to restart Asterisk in order to
bring it back to life.

no new channels are able to be created, no registrations, etc.

we are not able to reproduce this output as it has a random nature.

attached is locks.txt which shows the current locks when it has died and
they all point to the poke peer part of chan_iax2.c

Asterisk does not crash so there is no core dump or gdb output.  If there
is anything else that you might need please let me know.

The system is running 1.4.20-rc3.
====================================================================== 

---------------------------------------------------------------------- 
 gewfie - 06-03-08 00:08  
---------------------------------------------------------------------- 
Hi Corydon,

The server has been up for 1 week, 8 hours, 57 minutes, 28 seconds which
is the longest uptime that we have had since going to 1.4 branch I believe
due to this bug.

Not sure if this is related but during this week we have received the
following hung threads in "core show locks".

=======================================================================
=== Currently Held Locks ==============================================
=======================================================================
===
=== <file> <line num> <function> <lock name> <lock addr> (times locked)
===
=== Thread ID: 79195040 (pbx_thread           started at [ 2660] pbx.c
ast_pbx_start())
=== ---> Lock http://bugs.digium.com/view.php?id=0 (channel.c): MUTEX 1950
__ast_read &chan->lock 0x89ac048
(1)
=== -------------------------------------------------------------------
===
=== Thread ID: 22924192 (pbx_thread           started at [ 2660] pbx.c
ast_pbx_start())
=== ---> Lock http://bugs.digium.com/view.php?id=0 (channel.c): MUTEX 1950
__ast_read &chan->lock 0x8a6d570
(1)
=== -------------------------------------------------------------------
===
=======================================================================

We run a "core show channels" through the AMI and when the thread gets
locked we are unable to do "core show channels" any longer as it is not
able to get the full channel list.

Apart from that the patch you provided has seemed to resolve the issue
with chan_iax2 dying.

Thanks,

gewfie 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-03-08 00:08  gewfie         Note Added: 0087696                          
======================================================================




More information about the asterisk-bugs mailing list