[asterisk-bugs] [JIRA] (ASTERISK-25597) Remote console freeze after 'core stop gracefully' and then further command attempts

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed Dec 23 21:23:32 CST 2015


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

Rusty Newton updated ASTERISK-25597:
------------------------------------

    Description: 
After placing two local channels into a confbridge, I used 'core stop gracefully' to try and shut down Asterisk. When I received no response, which might be expected since it is trying to be graceful, I tried a 'core stop now', but nothing happened. I then used 'core show channels' to see if my channels were still up, but Asterisk gave no response. After another minute or two, the command line was completely frozen and I could not even type. I then had to use killall to kill Asterisk. Here is my dialplan:
{noformat}
[default]
exten => 100,1,NoOp()
    same => n,StatsD(g,confBridgeUsers,+1,1)
    same => n,Set(CHANNEL(hangup_handler_push)=default,200,1);
    same => n,ConfBridge(1000)
    same => n,StatsD(g,confBridgeUsers,-1,1)
    same => n,Hangup()

exten => 200,1,NoOp()
    same => n,StatsD(g,confBridgeUsers,-1,1)
    same => n,Hangup()
{noformat}

[edit by Rusty - I was able to reproduce this about one time out of twenty. It appears to me that the console freezes. This only appears to happen on a remote console (for me). I was able to reconnect with another console and run "core stop now" to stop Asterisk immediately. Though, I'm not sure that should be possible, or that we should expect any response to commands after running "core stop gracefully"]

  was:
After placing two local channels into a confbridge, I used 'core stop gracefully' to try and shut down Asterisk. When I received no response, which might be expected since it is trying to be graceful, I tried a 'core stop now', but nothing happened. I then used 'core show channels' to see if my channels were still up, but Asterisk gave no response. After another minute or two, the command line was completely frozen and I could not even type. I then had to use killall to kill Asterisk. Here is my dialplan:
{noformat}
[default]
exten => 100,1,NoOp()
    same => n,StatsD(g,confBridgeUsers,+1,1)
    same => n,Set(CHANNEL(hangup_handler_push)=default,200,1);
    same => n,ConfBridge(1000)
    same => n,StatsD(g,confBridgeUsers,-1,1)
    same => n,Hangup()

exten => 200,1,NoOp()
    same => n,StatsD(g,confBridgeUsers,-1,1)
    same => n,Hangup()
{noformat}



> Remote console freeze after 'core stop gracefully' and then further command attempts
> ------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-25597
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25597
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/General
>    Affects Versions: 13.6.0
>            Reporter: Tyler Cambron
>            Assignee: Rusty Newton
>            Severity: Minor
>
> After placing two local channels into a confbridge, I used 'core stop gracefully' to try and shut down Asterisk. When I received no response, which might be expected since it is trying to be graceful, I tried a 'core stop now', but nothing happened. I then used 'core show channels' to see if my channels were still up, but Asterisk gave no response. After another minute or two, the command line was completely frozen and I could not even type. I then had to use killall to kill Asterisk. Here is my dialplan:
> {noformat}
> [default]
> exten => 100,1,NoOp()
>     same => n,StatsD(g,confBridgeUsers,+1,1)
>     same => n,Set(CHANNEL(hangup_handler_push)=default,200,1);
>     same => n,ConfBridge(1000)
>     same => n,StatsD(g,confBridgeUsers,-1,1)
>     same => n,Hangup()
> exten => 200,1,NoOp()
>     same => n,StatsD(g,confBridgeUsers,-1,1)
>     same => n,Hangup()
> {noformat}
> [edit by Rusty - I was able to reproduce this about one time out of twenty. It appears to me that the console freezes. This only appears to happen on a remote console (for me). I was able to reconnect with another console and run "core stop now" to stop Asterisk immediately. Though, I'm not sure that should be possible, or that we should expect any response to commands after running "core stop gracefully"]



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



More information about the asterisk-bugs mailing list