[SR-Users] Need help analyze crash

Andrew Chen achen at fuze.com
Wed Jun 2 20:51:36 CEST 2021


Hi all,

Today I upgraded Kamailio to 5.4.5 and a random crash was just reported in
our crash monitoring script.  Below is the output of the crash:

#3  0x00007fa149ebe58d in ?? () from
/usr/lib/x86_64-linux-gnu/kamailio/modules/tls.so

#4  0x00007fa14989e277 in ERR_clear_error () from
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1

#5  0x00007fa149933d81 in X509_STORE_set_default_paths () from
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1

#6  0x00007fa10310d374 in ?? () from
/usr/lib/x86_64-linux-gnu/libmysqlclient.so.20

#7  0x00007fa10310d9f3 in ?? () from
/usr/lib/x86_64-linux-gnu/libmysqlclient.so.20

#8  0x00007fa1030e0427 in mysql_real_connect () from
/usr/lib/x86_64-linux-gnu/libmysqlclient.so.20

#9  0x00007fa10368428c in db_mysql_new_connection () from
/usr/lib/x86_64-linux-gnu/kamailio/modules/db_mysql.so

#10 0x00007fa1501f96dc in db_do_init2 () from
/usr/lib/x86_64-linux-gnu/kamailio/libsrdb1.so.1

#11 0x00007fa1501f83f9 in db_do_init () from
/usr/lib/x86_64-linux-gnu/kamailio/libsrdb1.so.1

#12 0x00007fa103689710 in db_mysql_init () from
/usr/lib/x86_64-linux-gnu/kamailio/modules/db_mysql.so

#13 0x00007fa15062d35f in carrierroute_db_open () from
/usr/lib/x86_64-linux-gnu/kamailio/modules/carrierroute.so

#14 0x00007fa1506719c6 in ?? () from
/usr/lib/x86_64-linux-gnu/kamailio/modules/carrierroute.so


Is this crash due to libcrypto or mysql client?
Currently I have the following mysql client installed on the kamailio
instance:

ii  lib*mysql*client20:amd64               5.7.34-0ubuntu0.18.04.1
    amd64        MySQL database client library

ii  *mysql*-client                         5.7.34-0ubuntu0.18.04.1
    all          MySQL database client (metapackage depending on the latest
version)

ii  *mysql*-client-5.7                     5.7.34-0ubuntu0.18.04.1
    amd64        MySQL database client binaries

ii  *mysql*-client-core-5.7                5.7.34-0ubuntu0.18.04.1
    amd64        MySQL database core client binaries

ii  *mysql*-common                         5.8+1.0.4
    all          MySQL database common files, e.g. /etc/*mysql*/my.cnf

root at ashintgtpsg51:/var/lib/cores # apt-cache madison mysql-client

mysql-client | 5.7.34-0ubuntu0.18.04.1 |
http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64
Packages

mysql-client | 5.7.34-0ubuntu0.18.04.1 | http://security.ubuntu.com/ubuntu
bionic-security/main amd64 Packages

mysql-client | 5.7.21-1ubuntu1 |
http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

root at ashintgtpsg51:/var/lib/cores #


Any suggestions would be greatly appreciated.
Thanks in advance.

-- 
Andy Chen
Sr. Telephony Lead Engineer
achen@ <achen at thinkingphones.com>fuze.com

-- 
*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210602/69a2398d/attachment.htm>


More information about the sr-users mailing list