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

Michael L. Young (JIRA) noreply at issues.asterisk.org
Mon Mar 7 15:28:56 CST 2016


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

Michael L. Young commented on ASTERISK-25833:
---------------------------------------------

Issam - The problem could be in the client library that is being used in debian 8 to communicate with the database server, not with the database server.

The other thread talks about asterisk realtime but they are using ODBC in debian 8 to communicate with the database server just like you are using ODBC.  ODBC uses the client library libmysqlclient.so.18 in order to communicate with the MySQL server.

Asterisk <-> Unix ODBC <-> libmysqlclient.so.18 <-> MySQL Server

It is a shame that they never followed up on that email thread to confirm if that was the problem or not for them.

> 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, pjproject 2.4.5
>            Reporter: Issam RACHDI
>            Assignee: Unassigned
>            Severity: Critical
>         Attachments: backtrace.txt
>
>
> 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