[asterisk-bugs] [JIRA] (ASTERISK-24571) Deadlock when asterisk is loading and CLI command "sip reload" is executed

Badalian Vyacheslav (JIRA) noreply at issues.asterisk.org
Thu Dec 4 10:45:28 CST 2014


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

Badalian Vyacheslav edited comment on ASTERISK-24571 at 12/4/14 10:43 AM:
--------------------------------------------------------------------------

No... 

All variant {{runned in valgrind}}. Not in GDB. GDB dumped from GDB -> taget vgdb -> bt full

{{locks.txt}} - patched with my patch. 3 concurent calls. after sip reload on load.
{{locks2.txt}} - patched with {{your}} ws patch. 3 concurent calls. no sip reload (turned off)... 
{{locks3.txt}} - patched with {{your}} ws patch. 1 concurent call. no sip reload (turned off)... 

Looks like our test robot do deadlock...
Is simple js script that
1. Call to 766
2. Listen MOH (15 sec), Asterisk do Hangup (astersik side drop call)
3. Sleep 1 sec
4. Go to 1


was (Author: slavon):
No... 

All variant {{runned in valgrind}}. Not in GDB. GDB dumped from core file

{{locks.txt}} - patched with my patch. 3 concurent calls. after sip reload on load.
{{locks2.txt}} - patched with {{your}} ws patch. 3 concurent calls. no sip reload (turned off)... 
{{locks3.txt}} - patched with {{your}} ws patch. 1 concurent call. no sip reload (turned off)... 

Looks like our test robot do deadlock...
Is simple js script that
1. Call to 766
2. Listen MOH (15 sec), Asterisk do Hangup (astersik side drop call)
3. Sleep 1 sec
4. Go to 1

> Deadlock when asterisk is loading and CLI command "sip reload" is executed
> --------------------------------------------------------------------------
>
>                 Key: ASTERISK-24571
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24571
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 11.14.1
>            Reporter: Badalian Vyacheslav
>            Assignee: Badalian Vyacheslav
>         Attachments: locks2.txt, locks3.txt, locks.txt, vgdb.txt
>
>
> Found then tested in valgrind.
> We use FreePBX. On valgrind asterisk have long load. 
> If asterisk load extentions file (loading about 5 sec) and do sip reload - asterisk go to deadlock.
> If we kiil asterisk - ports stay openned. Only reboot free ports (may be you must add REUSE flag?)



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



More information about the asterisk-bugs mailing list