[asterisk-bugs] [Asterisk 0019288]: module unload chan_iax2.so will crash asterisk
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri May 13 10:02:33 CDT 2011
A NOTE has been added to this issue.
======================================================================
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: new
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-13 10:02 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'
======================================================================
----------------------------------------------------------------------
(0134900) marcelloceschia (reporter) - 2011-05-13 10:02
https://issues.asterisk.org/view.php?id=19288#c134900
----------------------------------------------------------------------
module unload works directly after asterisk start, but not after calls
Issue History
Date Modified Username Field Change
======================================================================
2011-05-13 10:02 marcelloceschiaNote Added: 0134900
======================================================================
More information about the asterisk-bugs
mailing list