Summary: | ASTERISK-17903: unable to unload res_jabber if connetion to server can not established | ||
Reporter: | Marcello Ceschia (marcelloceschia) | Labels: | |
Date Opened: | 2011-05-21 02:50:28 | Date Closed: | 2017-10-11 13:13:15 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_jabber |
Versions: | 1.8.4 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | [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] === ------------------------------------------------------------------- === ======================================================================= | ||
Comments: | By: Andrew Latham (lathama) 2011-05-21 10:23:39 Restart is the only way to unload this at the moment... By: Matt Jordan (mjordan) 2013-01-15 10:11:18.657-0600 Please note that {{res_jabber}} is extended support, and so developer effort for it typically comes from the open source community. Patches are particularly welcome for extended support issues. By: Corey Farrell (coreyfarrell) 2017-10-11 13:13:15.485-0500 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. |