[asterisk-bugs] [JIRA] (ASTERISK-27270) cdr_mysql: various crashes at second module reload if cdr_mysql.conf is configured

Asterisk Team (JIRA) noreply at issues.asterisk.org
Fri Oct 13 11:20:21 CDT 2017


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

Asterisk Team updated ASTERISK-27270:
-------------------------------------

    Target Release Version/s: 13.18.0

> cdr_mysql: various crashes at second module reload if cdr_mysql.conf is configured
> ----------------------------------------------------------------------------------
>
>                 Key: ASTERISK-27270
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27270
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Addons/cdr_mysql
>    Affects Versions: 13.17.1
>         Environment: Centos 7
>            Reporter: Tzafrir Cohen
>      Target Release: 13.18.0
>
>         Attachments: ASTERISK-27270_cdr_mysql.c_revert.patch
>
>
> Once we upgraded to 13.17.1, we noticed that 'module reload' occasionally causes crashes. Upon further research it seems that a second or third 'module reload' induces a crash.
> Note: I did not attach core dumps. Crashes seem to come from random places roughly at the time of configuration reload.
> The following work around the issue:
> * Downgrading to 13.13.1 fixed the issue.
> * avoiding loading cdr_mysql.so
> * Empty cdr_mysql.conf or one that only has the line '[global]'
> * Build dcr_mysql.c with the patch from f882ca25722b6290dc6e8d786452b0b26adceed1 reverted.
> The following cdr_mysql.conf is good enough to induce a crash:
> {code}
> [global]
> hostname=127.0.0.1
> {code}



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



More information about the asterisk-bugs mailing list