[asterisk-bugs] [Asterisk 0019288]: module unload chan_iax2.so will crash asterisk

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 17 07:34:49 CDT 2011


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19288 
====================================================================== 
Reported By:                marcelloceschia
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19288
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 318550 
Request Review:              
====================================================================== 
Date Submitted:             2011-05-13 04:55 CDT
Last Modified:              2011-05-17 07:34 CDT
====================================================================== 
Summary:                    module unload chan_iax2.so will crash asterisk
Description: 
*CLI> module unload chan_iax2.so 
Unloaded chan_iax2.so
  == Unregistered custom function IAXPEER
  == Unregistered custom function IAXVAR
  == Manager unregistered action IAXpeers
  == Manager unregistered action IAXpeerlist
  == Manager unregistered action IAXnetstats
  == Manager unregistered action IAXregistry
  == Unregistered application 'IAX2Provision'
  == Unregistered channel type 'IAX2'
[2011-05-13 11:50:19] ERROR[29331]: lock.c:280 __ast_pthread_mutex_lock:
chan_iax2.c line 12251 (peer_destructor): Error obtaining mutex: Invalid
argument
[2011-05-13 11:50:19] ERROR[29331]: lock.c:280 __ast_pthread_mutex_lock:
chan_iax2.c line 1872 (pvt_destructor): Error obtaining mutex: Invalid
argument
[2011-05-13 11:50:19] ERROR[29331]: lock.c:280 __ast_pthread_mutex_lock:
astobj2.c line 657 (internal_ao2_callback): Error obtaining mutex: Invalid
argument
[2011-05-13 11:50:19] ERROR[29331]: lock.c:407 __ast_pthread_mutex_unlock:
astobj2.c line 745 (internal_ao2_callback): mutex 'c' freed more times than
we've locked!
[2011-05-13 11:50:19] ERROR[29331]: lock.c:438 __ast_pthread_mutex_unlock:
astobj2.c line 745 (internal_ao2_callback): Error releasing mutex: Invalid
argument
[2011-05-13 11:50:19] ERROR[29331]: lock.c:407 __ast_pthread_mutex_unlock:
chan_iax2.c line 1887 (pvt_destructor): mutex '&iaxsl[pvt->callno]' freed
more times than we've locked!
[2011-05-13 11:50:19] ERROR[29331]: lock.c:438 __ast_pthread_mutex_unlock:
chan_iax2.c line 1887 (pvt_destructor): Error releasing mutex: Invalid
argument
[2011-05-13 11:50:19] ERROR[29331]: lock.c:407 __ast_pthread_mutex_unlock:
chan_iax2.c line 12253 (peer_destructor): mutex '&iaxsl[callno]' freed more
times than we've locked!
[2011-05-13 11:50:19] ERROR[29331]: lock.c:438 __ast_pthread_mutex_unlock:
chan_iax2.c line 12253 (peer_destructor): Error releasing mutex: Invalid
argument
[2011-05-13 11:50:19] NOTICE[27236]: chan_iax2.c:11870
__iax2_poke_noanswer: Peer '' is now UNREACHABLE! Time: 23
[2011-05-13 11:50:19] ERROR[27236]: lock.c:280 __ast_pthread_mutex_lock:
chan_iax2.c line 11875 (__iax2_poke_noanswer): Error obtaining mutex:
Invalid argument
[2011-05-13 11:50:19] ERROR[27236]: lock.c:407 __ast_pthread_mutex_unlock:
chan_iax2.c line 11877 (__iax2_poke_noanswer): mutex '&iaxsl[callno]' freed
more times than we've locked!
[2011-05-13 11:50:19] ERROR[27236]: lock.c:438 __ast_pthread_mutex_unlock:
chan_iax2.c line 11877 (__iax2_poke_noanswer): Error releasing mutex:
Invalid argument
[2011-05-13 11:50:19] DEBUG[29328]: res_jabber.c:3248
aji_handle_pubsub_event: Returning here, eid of incoming event matches
ours!
[2011-05-13 11:50:23] ERROR[29331]: lock.c:280 __ast_pthread_mutex_lock:
chan_iax2.c line 2394 (peercnt_remove): Error obtaining mutex: Invalid
argument
[2011-05-13 11:50:23] ERROR[29331]: lock.c:407 __ast_pthread_mutex_unlock:
chan_iax2.c line 2401 (peercnt_remove): mutex 'peercnts' freed more times
than we've locked!
[2011-05-13 11:50:23] ERROR[29331]: lock.c:438 __ast_pthread_mutex_unlock:
chan_iax2.c line 2401 (peercnt_remove): Error releasing mutex: Invalid
argument
[2011-05-13 11:50:23] ERROR[29331]: lock.c:280 __ast_pthread_mutex_lock:
chan_iax2.c line 2638 (replace_callno): Error obtaining mutex: Invalid
argument
[2011-05-13 11:50:23] ERROR[29331]: lock.c:280 __ast_pthread_mutex_lock:
astobj2.c line 493 (internal_ao2_link): Error obtaining mutex: Invalid
argument
[2011-05-13 11:50:23] ERROR[29331]: lock.c:407 __ast_pthread_mutex_unlock:
astobj2.c line 521 (__ao2_link): mutex 'c' freed more times than we've
locked!
[2011-05-13 11:50:23] ERROR[29331]: lock.c:438 __ast_pthread_mutex_unlock:
astobj2.c line 521 (__ao2_link): Error releasing mutex: Invalid argument
[2011-05-13 11:50:23] ERROR[29331]: lock.c:407 __ast_pthread_mutex_unlock:
chan_iax2.c line 2653 (replace_callno): mutex 'callno_pool' freed more
times than we've locked!
[2011-05-13 11:50:23] ERROR[29331]: lock.c:438 __ast_pthread_mutex_unlock:
chan_iax2.c line 2653 (replace_callno): Error releasing mutex: Invalid
argument
[2011-05-13 11:50:23] DEBUG[26341]: taskprocessor.c:354
tps_taskprocessor_destroy: destroying taskprocessor 'iax2_transmit'
====================================================================== 

---------------------------------------------------------------------- 
 (0135030) lmadsen (administrator) - 2011-05-17 07:34
 https://issues.asterisk.org/view.php?id=19288#c135030 
---------------------------------------------------------------------- 
For crash issues, you must provide a backtrace at a minimum per
https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-17 07:34 lmadsen        Note Added: 0135030                          
2011-05-17 07:34 lmadsen        Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list