[asterisk-bugs] [JIRA] (ASTERISK-18495) module unload chan_iax2.so cause mutex errors

Corey Farrell (JIRA) noreply at issues.asterisk.org
Tue Dec 12 17:27:07 CST 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-18495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Corey Farrell closed ASTERISK-18495.
------------------------------------

    Resolution: Suspended

About 20% of chan_iax2 source has changed since 1.8.6.0, including peercnt_remove so it's possible this issue has been resolved.

----

Per the Asterisk versions page \[1\], the maintenance (bug fix) support for the Asterisk branch you are using has ended. For continued maintenance support please move to a supported branch of Asterisk. After testing with a supported branch, if you find this problem has not been resolved, please open a new issue against the latest version of that Asterisk branch.

Thanks!

\[1\] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions

> module unload chan_iax2.so cause mutex errors
> ---------------------------------------------
>
>                 Key: ASTERISK-18495
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-18495
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_iax2
>    Affects Versions: 1.8.6.0
>         Environment: svn branch 1.8
>            Reporter: Marcello Ceschia
>
> *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-09-09 19:57:27] ERROR[30636]: lock.c:280 __ast_pthread_mutex_lock: chan_iax2.c line 2403 (peercnt_remove): Error obtaining mutex: Invalid argument
> [2011-09-09 19:57:27] ERROR[30636]: lock.c:407 __ast_pthread_mutex_unlock: chan_iax2.c line 2410 (peercnt_remove): mutex 'peercnts' freed more times than we've locked!
> [2011-09-09 19:57:27] ERROR[30636]: lock.c:438 __ast_pthread_mutex_unlock: chan_iax2.c line 2410 (peercnt_remove): Error releasing mutex: Invalid argument
> [2011-09-09 19:57:29] ERROR[30636]: lock.c:280 __ast_pthread_mutex_lock: chan_iax2.c line 2403 (peercnt_remove): Error obtaining mutex: Invalid argument
> [2011-09-09 19:57:29] ERROR[30636]: lock.c:407 __ast_pthread_mutex_unlock: chan_iax2.c line 2410 (peercnt_remove): mutex 'peercnts' freed more times than we've locked!
> [2011-09-09 19:57:29] ERROR[30636]: lock.c:438 __ast_pthread_mutex_unlock: chan_iax2.c line 2410 (peercnt_remove): Error releasing mutex: Invalid argument
> [2011-09-09 19:57:31] DEBUG[4174]: taskprocessor.c:354 tps_taskprocessor_destroy: destroying taskprocessor 'iax2_transmit'



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list