[asterisk-bugs] [JIRA] (ASTERISK-22093) Deadlock due to locking inversion between PBX context lock and channel lock while reloading dialplan through pbx_lua

David Brillert (JIRA) noreply at issues.asterisk.org
Fri Jul 26 09:59:11 CDT 2013


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

David Brillert edited comment on ASTERISK-22093 at 7/26/13 9:57 AM:
--------------------------------------------------------------------

Another deadlock today.
Reproducible on a reload.

So I modified modules.conf to remove lua.
noload          => pbx_lua.so

Now the system doesn't completely deadlock (processes calls) but the CPU load goes through the roof on any reload.

Attached gdb during the reload
                
      was (Author: aragon):
    Another deadlock today.
Reproducible on a reload.

So I modified modules.conf to remove lua.
noload          => pbx_lua.so

The system doesn't completely deadlock but the CPU load goes through the roof on any reload.

Attached gdb during the reload
                  
> Deadlock due to locking inversion between PBX context lock and channel lock while reloading dialplan through pbx_lua
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-22093
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22093
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/PBX, PBX/pbx_lua
>    Affects Versions: 11.5.0
>            Reporter: David Brillert
>            Assignee: David Brillert
>            Severity: Critical
>         Attachments: 7_26_2013 gdb thread apply all bt full.txt, gdb thread apply all bt full.txt, gdb thread apply all bt.txt
>
>
> Third deadlock in two weeks.
> Asterisk not built with NOT_OPTIMIZED or thread debug options.
> The best I could do was attach GDB to Asterisk PID and get a thread apply all BT (attached)

--
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