[asterisk-bugs] [JIRA] (ASTERISK-28920) bridge show all causes crash
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Wed Sep 9 11:06:46 CDT 2020
[ https://issues.asterisk.org/jira/browse/ASTERISK-28920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Asterisk Team updated ASTERISK-28920:
-------------------------------------
Target Release Version/s: 18.0.0
> bridge show all causes crash
> ----------------------------
>
> Key: ASTERISK-28920
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-28920
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Bridges/bridge_builtin_features
> Affects Versions: 17.4.0
> Reporter: sungtae kim
> Assignee: sungtae kim
> Severity: Minor
> Target Release: 17.6.0, 18.0.0
>
>
> {noformat}
> (gdb)
> #0 0x000056550a05da1a in handle_bridge_show_all (e=0x56550a2f1340 <bridge_cli>, cmd=-4, a=0x7f7eca834440) at bridge.c:5089
> #1 0x000056550a0ae198 in ast_cli_command_full (uid=0, gid=0, fd=25, s=0x7f7eca834720 "bridge show all") at cli.c:2824
> #2 0x000056550a0ae32e in ast_cli_command_multiple_full (uid=0, gid=0, fd=25, size=16, s=0x7f7eca834b70 "bridge show all") at cli.c:2851
> #3 0x000056550a0390be in netconsole (vconsole=0x56550a31efa0 <consoles>) at asterisk.c:1428
> #4 0x000056550a1bb748 in dummy_start (data=0x56550b22ca70) at utils.c:1249
> #5 0x00007f7ecd257fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
> #6 0x00007f7eccceb4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
> (gdb) channel 3: open failed: connect failed: Connection refused
> (gdb) set print pretty on
> (gdb) frame 0
> #0 0x000056550a05da1a in handle_bridge_show_all (e=0x56550a2f1340 <bridge_cli>, cmd=-4, a=0x7f7eca834440) at bridge.c:5089
> 5089 ast_format_duration_hh_mm_ss(ast_tvnow().tv_sec - snapshot->creationtime.tv_sec, print_time, sizeof(print_time));
> (gdb) list
> 5084 iter = ao2_iterator_init(bridges, 0);
> 5085 for (; (bridge = ao2_iterator_next(&iter)); ao2_ref(bridge, -1)) {
> 5086 struct ast_bridge_snapshot *snapshot = ast_bridge_get_snapshot(bridge);
> 5087 char print_time[32];
> 5088
> 5089 ast_format_duration_hh_mm_ss(ast_tvnow().tv_sec - snapshot->creationtime.tv_sec, print_time, sizeof(print_time));
> 5090
> 5091 if (snapshot) {
> 5092 ast_cli(a->fd, FORMAT_ROW,
> 5093 snapshot->uniqueid,
> (gdb) p snapshot
> $1 = (struct ast_bridge_snapshot *) 0x0
> (gdb) p bridge
> $2 = (struct ast_bridge *) 0x7f7eac007ad0
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list