[asterisk-bugs] [JIRA] (ASTERISK-17903) unable to unload res_jabber if connetion to server can not established

Corey Farrell (JIRA) noreply at issues.asterisk.org
Wed Oct 11 13:13:21 CDT 2017


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

Corey Farrell closed ASTERISK-17903.
------------------------------------

    Resolution: Won't Fix

res_jabber no longer exists in any currently supported version of Asterisk.  If you haven't already you should switch to res_xmpp / chan_motif.

> unable to unload res_jabber if connetion to server can not established
> ----------------------------------------------------------------------
>
>                 Key: ASTERISK-17903
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-17903
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Resources/res_jabber
>    Affects Versions: 1.8.4
>            Reporter: Marcello Ceschia
>            Severity: Minor
>
> [2011-05-21 09:48:36] ERROR[7914]: res_jabber.c:3109 aji_initialize: JABBER ERROR: No Connection
> [2011-05-21 09:48:40] ERROR[7914]: res_jabber.c:3109 aji_initialize: JABBER ERROR: No Connection
> ****** ADDITIONAL INFORMATION ******
> *CLI> module unload res_jabber.so
> no unload after 5 minutes
> *CLI> core show locks
> =======================================================================
> === Currently Held Locks ==============================================
> =======================================================================
> ===
> === <pending> <lock#> (<file>): <lock type> <line num> <function> <lock name> <lock addr> (times locked)
> ===
> === Thread ID: 0xb3659b70 (handle_tcptls_connection started at [  278] tcptls.c ast_tcptls_server_root())
> === ---> Lock #0 (chan_sip.c): MUTEX 2651 _sip_tcp_helper_thread &tcptls_session->lock 0xffca270 (1)
>         /usr/sbin/asterisk(ast_bt_get_addresses+0x19) [0x8121590]
>         /usr/sbin/asterisk(__ast_pthread_mutex_lock+0xae) [0x811b021]
>         /usr/lib/asterisk/modules/chan_sip.so(+0xcfa1) [0xb5d30fa1]
>         /usr/lib/asterisk/modules/chan_sip.so(+0xc416) [0xb5d30416]
>         /usr/sbin/asterisk() [0x8183e68]
>         /usr/sbin/asterisk() [0x8193248]
>         /lib/libpthread.so.0(+0x5b05) [0xb72f3b05]
>         /lib/libc.so.6(clone+0x5e) [0xb7570d5e]
> === -------------------------------------------------------------------
> ===
> === Thread ID: 0xb35a5b70 (handle_tcptls_connection started at [  278] tcptls.c ast_tcptls_server_root())
> === ---> Lock #0 (chan_sip.c): MUTEX 2651 _sip_tcp_helper_thread &tcptls_session->lock 0x100140b8 (1)
>         /usr/sbin/asterisk(ast_bt_get_addresses+0x19) [0x8121590]
>         /usr/sbin/asterisk(__ast_pthread_mutex_lock+0xae) [0x811b021]
>         /usr/lib/asterisk/modules/chan_sip.so(+0xcfa1) [0xb5d30fa1]
>         /usr/lib/asterisk/modules/chan_sip.so(+0xc416) [0xb5d30416]
>         /usr/sbin/asterisk() [0x8183e68]
>         /usr/sbin/asterisk() [0x8193248]
>         /lib/libpthread.so.0(+0x5b05) [0xb72f3b05]
>         /lib/libc.so.6(clone+0x5e) [0xb7570d5e]
> === -------------------------------------------------------------------
> ===
> === Thread ID: 0xb3695b70 (netconsole           started at [ 1343] asterisk.c listener())
> === ---> Lock #0 (loader.c): MUTEX 509 ast_unload_resource &(&module_list)->lock 0x8227fa8 (1)
>         /usr/sbin/asterisk(ast_bt_get_addresses+0x19) [0x8121590]
>         /usr/sbin/asterisk(__ast_pthread_mutex_lock+0xae) [0x811b021]
>         /usr/sbin/asterisk(ast_unload_resource+0x40) [0x811847b]
>         /usr/sbin/asterisk() [0x80c950b]
>         /usr/sbin/asterisk(ast_cli_command_full+0x22f) [0x80cf111]
>         /usr/sbin/asterisk(ast_cli_command_multiple_full+0x68) [0x80cf23f]
>         /usr/sbin/asterisk() [0x8081769]
>         /usr/sbin/asterisk() [0x8193248]
>         /lib/libpthread.so.0(+0x5b05) [0xb72f3b05]
>         /lib/libc.so.6(clone+0x5e) [0xb7570d5e]
> === ---> Lock #1 (res_jabber.c): MUTEX 4695 unload_module &(&clients)->_lock 0xb687c840 (1)
>         /usr/sbin/asterisk(ast_bt_get_addresses+0x19) [0x8121590]
>         /usr/sbin/asterisk(__ast_pthread_mutex_lock+0xae) [0x811b021]
>         /usr/lib/asterisk/modules/res_jabber.so(+0x15fa5) [0xb6876fa5]
>         /usr/sbin/asterisk(ast_unload_resource+0x1db) [0x8118616]
>         /usr/sbin/asterisk() [0x80c950b]
>         /usr/sbin/asterisk(ast_cli_command_full+0x22f) [0x80cf111]
>         /usr/sbin/asterisk(ast_cli_command_multiple_full+0x68) [0x80cf23f]
>         /usr/sbin/asterisk() [0x8081769]
>         /usr/sbin/asterisk() [0x8193248]
>         /lib/libpthread.so.0(+0x5b05) [0xb72f3b05]
>         /lib/libc.so.6(clone+0x5e) [0xb7570d5e]
> === -------------------------------------------------------------------
> ===
> =======================================================================



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



More information about the asterisk-bugs mailing list