[asterisk-bugs] [JIRA] (ASTERISK-22857) Deadlock: Locked Here: chan_iax2.c line 9756 (socket_read)

David Brillert (JIRA) noreply at issues.asterisk.org
Tue Nov 19 11:14:03 CST 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-22857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=211949#comment-211949 ] 

David Brillert commented on ASTERISK-22857:
-------------------------------------------

(gdb) bt
#0  0x08089bb0 in __ao2_find ()
#1  0x08157df0 in ast_add_hint ()
#2  0x08161165 in ast_add_extension2_lockopt ()
#3  0x003d9a33 in pbx_load_config () at pbx_config.c:1644
#4  pbx_load_module () at pbx_config.c:1848
#5  0x0812155a in ast_module_reload ()
#6  0x080cdff9 in handle_reload ()
#7  0x080c9a69 in ast_cli_command_full ()
#8  0x023612af in cli_alias_passthrough (e=0xb711d1c4, cmd=-4, a=0xb76a0c04) at res_clialiases.c:131
#9  0x080c9a69 in ast_cli_command_full ()
#10 0x080c9cd5 in ast_cli_command_multiple_full ()
#11 0x080802d2 in netconsole ()
#12 0x081a9d71 in dummy_start ()
#13 0x002b8912 in start_thread () from /lib/libpthread.so.0
#14 0x0022b7ce in clone () from /lib/libc.so.6
(gdb) bt full
#0  0x08089bb0 in __ao2_find ()
No symbol table info available.
#1  0x08157df0 in ast_add_hint ()
No symbol table info available.
#2  0x08161165 in ast_add_extension2_lockopt ()
No symbol table info available.
#3  0x003d9a33 in pbx_load_config () at pbx_config.c:1644
        __PRETTY_FUNCTION__ = "pbx_load_config"
#4  pbx_load_module () at pbx_config.c:1848
        con = <value optimized out>
        __PRETTY_FUNCTION__ = "pbx_load_module"
#5  0x0812155a in ast_module_reload ()
No symbol table info available.
#6  0x080cdff9 in handle_reload ()
No symbol table info available.
#7  0x080c9a69 in ast_cli_command_full ()
No symbol table info available.
#8  0x023612af in cli_alias_passthrough (e=0xb711d1c4, cmd=-4, a=0xb76a0c04) at res_clialiases.c:131
        tmp = {cli_entry = {cmda = {0x0 <repeats 16 times>}, summary = 0x0, usage = 0x0, inuse = 0, module = 0x0,
            _full_cmd = 0x0, cmdlen = 0, args = 0, command = 0xb7114158 "reload", handler = 0, list = {next = 0x0}},
          alias = 0x0, real_cmd = 0x0}
        generator = 0x0
        line = <value optimized out>
#9  0x080c9a69 in ast_cli_command_full ()
No symbol table info available.
#10 0x080c9cd5 in ast_cli_command_multiple_full ()
No symbol table info available.
#11 0x080802d2 in netconsole ()
No symbol table info available.
#12 0x081a9d71 in dummy_start ()
No symbol table info available.
#13 0x002b8912 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#14 0x0022b7ce in clone () from /lib/libc.so.6

                
> Deadlock: Locked Here: chan_iax2.c line 9756 (socket_read)
> ----------------------------------------------------------
>
>                 Key: ASTERISK-22857
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22857
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_iax2
>    Affects Versions: SVN, 11.6.0
>         Environment: 64 bit CentOS, 4GB RAM
>            Reporter: David Brillert
>            Assignee: David Brillert
>            Severity: Critical
>         Attachments: backtrace.txt, core show locks_gdb thread apply all bt full.txt, gdbcorebtbtfull.txt, iax2 debug.txt, valgrind.txt
>
>
> Full deadlock no call processing, no SIP traffic.
> GDB output DONT_OPTIMIZE DEBUG_THREADS BETTER_BACKTRACES thread apply all bt full.txt attached.  The deadlock occurred overnight while the system was idle.
> It is happening on multiple production servers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list