[asterisk-bugs] [JIRA] (ASTERISK-23104) Specifying the SetVar AMI without a Channel cause Asterisk to crash

Joel Vandal (JIRA) noreply at issues.asterisk.org
Mon Jan 6 18:33:03 CST 2014


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

Joel Vandal commented on ASTERISK-23104:
----------------------------------------

Now it crash on a different section :

#0  0x080af0f0 in ast_channel_datastore_find ()
(gdb) bt
#0  0x080af0f0 in ast_channel_datastore_find ()
#1  0x00f22db3 in func_inheritance_write (chan=0x0, function=0xb6ffe740 "AUDIOHOOK_INHERIT", data=0xb6ffe752 "MixMonitor",
    value=0xa01e74f "yes") at func_audiohookinherit.c:235
#2  0x081579a5 in ast_func_write ()
#3  0x08159437 in pbx_builtin_setvar_helper ()
#4  0x08139deb in action_setvar ()
#5  0x08134d82 in process_message ()
#6  0x0813ff75 in session_do ()
#7  0x0819b0b9 in handle_tcptls_connection ()
#8  0x081aa631 in dummy_start ()
#9  0x00b03912 in start_thread () from /lib/libpthread.so.0
#10 0x00a2d7ce in clone () from /lib/libc.so.6

(gdb) bt full
#0  0x080af0f0 in ast_channel_datastore_find ()
No symbol table info available.
#1  0x00f22db3 in func_inheritance_write (chan=0x0, function=0xb6ffe740 "AUDIOHOOK_INHERIT", data=0xb6ffe752 "MixMonitor",
    value=0xa01e74f "yes") at func_audiohookinherit.c:235
        allow = -1
        datastore = <value optimized out>
        inheritance_datastore = <value optimized out>
        inheritable_audiohook = <value optimized out>
        __PRETTY_FUNCTION__ = "func_inheritance_write"
#2  0x081579a5 in ast_func_write ()


                
> Specifying the SetVar AMI without a Channel cause Asterisk to crash
> -------------------------------------------------------------------
>
>                 Key: ASTERISK-23104
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23104
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/ManagerInterface
>    Affects Versions: 1.8.25.0, 11.6.1, 12.0.0
>         Environment: CentOS 5
>            Reporter: Joel Vandal
>            Assignee: Joel Vandal
>            Severity: Critical
>         Attachments: asterisk-23104_check_channel_defined-11.diff
>
>
> From the Asterisk Manager Interface (AMI), when doing a SetVar and the channel is empty, this crash the Asterisk system.
> Step to reproduce :
> 1- connect to the AMI
> telnet localhost 5038
> 2- login to the AMI 
> Action: Login
> UserName: username
> Secret: secret
> 3- Send the SetVar with empty channel
> Action: SetVar
> Channel:
> Variable: AUDIOHOOK_INHERIT(MixMonitor)
> Value: yes

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