[asterisk-bugs] [Asterisk 0018260]: Asterisk stop processing any SIP request

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Nov 11 02:29:13 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18260 
====================================================================== 
Reported By:                apsaras
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18260
Category:                   Core/General
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.36 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-11-05 03:51 CDT
Last Modified:              2010-11-11 02:29 CST
====================================================================== 
Summary:                    Asterisk stop processing any SIP request
Description: 
I have a working installation for a year but last week I face a strange
problem which cases Asterisk to stop processing any SIP request. Console
and conslole commades are working fine. The box is pure VoIP (no TDM card)
and has 64 SIP accounts configured with real time system. I also update the
system to the latest 1.4 version without any success.

How can I take a dump from a running asterisk system in order to
investigate what is causing the problem? 
====================================================================== 

---------------------------------------------------------------------- 
 (0128771) apsaras (reporter) - 2010-11-11 02:29
 https://issues.asterisk.org/view.php?id=18260#c128771 
---------------------------------------------------------------------- 
I tried the above with out the \\\\ and I get the following

for show locks

=======================================================================
=== Currently Held Locks ==============================================
=======================================================================
===
=== <file> <line num> <function> <lock name> <lock addr> (times locked)
===
=== Thread ID: 1089952064 (do_devstate_changes  started at [  363]
devicestate.c ast_device_state_engine_init())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (pbx.c): MUTEX 6205
ast_rdlock_contexts &conlock 0x76a8a0
(1)
=== ---> Lock https://issues.asterisk.org/view.php?id=1 (pbx.c): MUTEX 2016
ast_hint_state_changed
&(&hints)->lock 0x76ad70 (1)
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=2
(chan_sip.c): MUTEX 9257 cb_extensionstate
&p->lock 0x1532c90 (1)
=== --- ---> Locked Here: chan_sip.c line 4964 (find_call)
=== -------------------------------------------------------------------
===
=== Thread ID: 1094416704 (do_monitor           started at [17183]
chan_sip.c restart_monitor())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (chan_sip.c): MUTEX
16852 sipsock_read &netlock
0x2aaac01415e0 (1)
=== ---> Lock https://issues.asterisk.org/view.php?id=1 (chan_sip.c): MUTEX 4964
find_call &p->lock 0x1532c90
(1)
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=2 (pbx.c):
MUTEX 6205 ast_rdlock_contexts
&conlock 0x76a8a0 (1)
=== --- ---> Locked Here: pbx.c line 6205 (ast_rdlock_contexts)
=== -------------------------------------------------------------------
===
=== Thread ID: 1097804096 (pbx_thread           started at [ 2650] pbx.c
ast_pbx_start())
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=0 (pbx.c):
MUTEX 6205 ast_rdlock_contexts
&conlock 0x76a8a0 (1)
=== --- ---> Locked Here: pbx.c line 6205 (ast_rdlock_contexts)
=== -------------------------------------------------------------------
===
=======================================================================

from gdb I do not get anything

GNU gdb Fedora (6.8-37.el5)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...
12925: No such file or directory.
(gdb) btNo stack.

(gdb) bt full
No stack.
(gdb) thread apply all bt
No registers.
(gdb) quit 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-11 02:29 apsaras        Note Added: 0128771                          
======================================================================




More information about the asterisk-bugs mailing list