[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
Wed Mar 16 10:00:57 CDT 2016


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

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

Ok, so first, there is something i didn't mention before, because i didn't think it was related. There are some users that connect to asterisk using WebRTC via wss. The main reason why we migrated to version 13 was a problem in v 11 with res_rtp and webrtc that caused asterisk to crash.

So the first thing we did was to stop using WebRTC and use a normal softphone (while still using asterisk 13), and see what happens. And asterisk didn't crash for a week. 

Next, and since it was suggested here that the problem may be with mysql connector, i downloaded the last version of MySQL ODBC connector (5.3.4) for debian from [here|http://dev.mysql.com/downloads/connector/odbc/] , and i changed the driver used in {{/etc/odbcinst.ini}}. We tested yesterday and today by adding gradually WebRTC users, and today asterisk crashed again with this error 
{noformat}
kernel: [976392.374990] asterisk[20721]: segfault at 3c ip 00007f7f519eab1d sp 00007f7e7a68ae60 error 4 in libpjnath.so.2[7f7f519d6000+22000]
{noformat} 
I had this error once before. I don't have a backtrace now, i'll try to have one next time.

I'm still waiting to see if the error about mysql will happen again.

> 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: Issam RACHDI
>            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