Summary: | ASTERISK-19773: Asterisk crash on issuing Asterisk-CLI 'reload' command multiple times on cli_aliases | ||||
Reporter: | Joel Vandal (joel_vandal) | Labels: | |||
Date Opened: | 2012-04-24 08:45:49 | Date Closed: | 2014-02-03 20:23:05.000-0600 | ||
Priority: | Major | Regression? | Yes | ||
Status: | Closed/Complete | Components: | Core/General | ||
Versions: | 1.8.11.1 | Frequency of Occurrence | Constant | ||
Related Issues: |
| ||||
Environment: | CentOS 5.8 (64 bit) | Attachments: | ( 0) backtrace.txt | ||
Description: | Asterisk source 1.8.11.1 (release version) is downloaded from Asterisk.org and compiled on CentOS 5.8 (64 bit). If we do a change on the 'cli_aliases.conf' file and issue the 'reload' command on CLI, we get the following error on the CLI : WARNING[21228]: cli.c:2041 __ast_cli_unregister: Can't remove command that is in use On executing 'reload' again without any change in configuration, Asterisk crashes. | ||||
Comments: | By: Joel Vandal (joel_vandal) 2012-04-24 09:04:47.456-0500 To reproduce, I execute the following commands from shell : {code:title=Shell Commands} touch /etc/asterisk/cli_aliases.conf asterisk -rx 'reload' asterisk -rx 'module reload' asterisk -rx 'reload' {code} By: David Brillert (aragon) 2012-04-24 09:47:25.353-0500 I have the same problem. By: Alexander Hömig (ahoemig) 2013-08-08 03:11:17.404-0500 When I look into ASTERISK-18846, it seems the same crash. I can reproduce this crash with asterisk_1.8.11_cert10, asterisk_1.8.15_cert2 and asterisk_11.2_cert1. By: Sebastian Denz (denz) 2015-02-19 03:57:00.985-0600 in the recent certified Version of Asterisk 11 the problem stil occurs : astccmuc*CLI> reload ..... [Feb 19 10:51:51] WARNING[21839]: cli.c:2183 __ast_cli_unregister: Can't remove command that is in use astccmuc*CLI> core show version Asterisk 11.6-cert10 built by root @ 10.20.40.10 on a x86_64 running Linux on 2015-02-09 12:43:34 UTC astccmuc*CLI> |