[asterisk-bugs] [JIRA] (ASTERISK-25833) Asterisk 13.7.2 crashes with error about libmysqlclient.so.18.0.0

Issam RACHDI (JIRA) noreply at issues.asterisk.org
Fri Mar 4 08:09:56 CST 2016


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

Issam RACHDI commented on ASTERISK-25833:
-----------------------------------------

Thanks for your response.

I saw the link, but it says to start asterisk with the -g option, but in my case asterisk is started with an init script generated with "make config". 

I found these lines in the init script, 
{code:title=/etc/init.d/asterisk|borderStyle=solid}
        if [ "x$COREDUMP" = "xyes" ]; then
                ASTARGS="$ASTARGS -g"
        fi
{code}
but the variable COREDUMP is not defined in the script. Should i define it and set it to the value "yes" ?

> Asterisk 13.7.2 crashes with error about libmysqlclient.so.18.0.0
> -----------------------------------------------------------------
>
>                 Key: ASTERISK-25833
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25833
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 13.7.2
>         Environment: Debian 8.3, kernel 3.16.0-4-amd64
>            Reporter: Issam RACHDI
>            Severity: Critical
>
> Hi,
> I have installed asterisk 13.7.2 yesterday, and so far it crashed 3 times. Each time, the logs in /var/log/asterisk just stops, and i find these errors in the syslog
> first crash 
> {noformat}
> Mar  3 10:49:02 asterisk kernel: [47923.065444] asterisk[17500]: segfault at d ip 00007f6006bb7120 sp 00007f5f3e58ed38 error 6 in libmysqlclient.so.18.0.0[7f6006b67000+2b7000]
> {noformat}
> second crash
> {noformat}
> Mar  3 17:19:40 asterisk kernel: [71359.942310] asterisk[1524]: segfault at d ip 00007fed777bf120 sp 00007fecbf170cc8 error 6 in libmysqlclient.so.18.0.0[7fed7776f000+2b7000]
> {noformat}
> I then recompiled asterisk with the flag DONT_OPTIMIZE, i unchecked some modules that i didn't use, and re-installed asterisk. 
> This morning, asterisk crashed again, with this message in syslog:
> {noformat}
> Mar  4 11:19:53 asterisk kernel: [50378.462268] traps: asterisk[21644] general protection ip:7f86b8134120 sp:7f86037406a8 error:0 in libmysqlclient.so.18.0.0[7f86b80e4000+2b7000]
> {noformat}
> I tried to produce core files by setting the option dumpcore = yes in asterisk.conf, but i don't know where to look for it, or if it is even generated. 
> Note that i use func_odbc with mysql a lot in my dialplan, but i never had this issue with asterisk 11.



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



More information about the asterisk-bugs mailing list