[asterisk-bugs] [JIRA] (ASTERISK-26331) Crash on “core show channeltype Surrogate” in ast_format_cap_get_names

Rusty Newton (JIRA) noreply at issues.asterisk.org
Fri Sep 2 08:08:01 CDT 2016


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

Rusty Newton updated ASTERISK-26331:
------------------------------------

    Description: 
When I exec command "core show channeltype Surrogate" in asterisk CLI, Asterisk is Crash and see below:
{noformat}
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000525cdf in ast_format_cap_get_names ()
To enable execution of this file add
	add-auto-load-safe-path /usr/local/lib64/libstdc++.so.6.0.21-gdb.py
line to your configuration file "/root/.gdbinit".
To completely disable this security protection add
	set auto-load safe-path /
line to your configuration file "/root/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
	info "(gdb)Auto-loading safe path"
Missing separate debuginfos, use:
<snip>
[?1034h(gdb) bt
#0  0x0000000000525cdf in ast_format_cap_get_names ()
#1  0x00000000004b1aaf in handle_cli_core_show_channeltype ()
#2  0x00000000004dd677 in ast_cli_command_full ()
#3  0x000000000045664e in consolehandler ()
#4  0x000000000045d524 in asterisk_daemon ()
#5  0x000000000045c35e in main ()
{noformat}
I hae enabled MALLOC_DEBUG Compiler Flag
and that the log with mmlog 
```
[root at asterisk]# more mmlog
1472722488 - New session
1472722569 - New session
```

  was:
When I exec command "core show channeltype Surrogate" in asterisk CLI, Asterisk is Crash and see below:
```
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
Asterisk ending (0).
```
I hae enabled MALLOC_DEBUG Compiler Flag
and that the log with mmlog 
```
[root at asterisk]# more mmlog
1472722488 - New session
1472722569 - New session
```


> Crash on “core show channeltype Surrogate” in ast_format_cap_get_names
> ----------------------------------------------------------------------
>
>                 Key: ASTERISK-26331
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26331
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Channels, Core/General
>    Affects Versions: 13.7.2, 13.10.0, 13.11.0
>         Environment: Centos6.5
>            Reporter: CGI.NET
>            Assignee: Unassigned
>            Severity: Critical
>         Attachments: backtrace.txt
>
>
> When I exec command "core show channeltype Surrogate" in asterisk CLI, Asterisk is Crash and see below:
> {noformat}
> Program terminated with signal 11, Segmentation fault.
> #0  0x0000000000525cdf in ast_format_cap_get_names ()
> To enable execution of this file add
> 	add-auto-load-safe-path /usr/local/lib64/libstdc++.so.6.0.21-gdb.py
> line to your configuration file "/root/.gdbinit".
> To completely disable this security protection add
> 	set auto-load safe-path /
> line to your configuration file "/root/.gdbinit".
> For more information about this security protection see the
> "Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
> 	info "(gdb)Auto-loading safe path"
> Missing separate debuginfos, use:
> <snip>
> [?1034h(gdb) bt
> #0  0x0000000000525cdf in ast_format_cap_get_names ()
> #1  0x00000000004b1aaf in handle_cli_core_show_channeltype ()
> #2  0x00000000004dd677 in ast_cli_command_full ()
> #3  0x000000000045664e in consolehandler ()
> #4  0x000000000045d524 in asterisk_daemon ()
> #5  0x000000000045c35e in main ()
> {noformat}
> I hae enabled MALLOC_DEBUG Compiler Flag
> and that the log with mmlog 
> ```
> [root at asterisk]# more mmlog
> 1472722488 - New session
> 1472722569 - New session
> ```



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



More information about the asterisk-bugs mailing list