Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
2.0.0
-
None
-
None
-
libmariadb.so.2
Description
We have mariadb db client which does connect to mysql using ssl. We started seeing this coredump during ssl connect to mysql server.
Please let me know if you need any other info
Core was generated by `/opt/adc/adc/bin/monitord'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f08bdb85056 in EVP_PKEY_copy_parameters () from /usr/lib64/libcrypto.so.6
Missing separate debuginfos, use: debuginfo-install ulcm-dscinstance-5.0-0.x86_64
(gdb) bt
#0 0x00007f08bdb85056 in EVP_PKEY_copy_parameters () from /usr/lib64/libcrypto.so.6
#1 0x00007f08bde92b25 in ?? () from /usr/lib64/libssl.so.6
#2 0x00007f08bde92e26 in SSL_CTX_use_PrivateKey_file () from /usr/lib64/libssl.so.6
#3 0x00007f08be0d3af6 in my_ssl_set_certs (mysql=0x7f08985a89e0) at /home/buildbot/src/build/libmariadb/ma_secure.c:229
#4 my_ssl_init (mysql=0x7f08985a89e0) at /home/buildbot/src/build/libmariadb/ma_secure.c:336
#5 0x00007f08be0d2eee in send_client_reply_packet (mpv=0x7f08b4de0e20, pkt=0x7f08b4de0dd0 "\235\360\216\305@\265\206,@\312k\354ķ\363c\027", pkt_len=<value optimized out>)
at /home/buildbot/src/build/libmariadb/my_auth.c:315
#6 client_mpvio_write_packet (mpv=0x7f08b4de0e20, pkt=0x7f08b4de0dd0 "\235\360\216\305@\265\206,@\312k\354ķ\363c\027", pkt_len=<value optimized out>)
at /home/buildbot/src/build/libmariadb/my_auth.c:474
#7 0x00007f08be0d25bc in native_password_auth_client (vio=0x7f08b4de0e20, mysql=0x7f08985a89e0) at /home/buildbot/src/build/libmariadb/my_auth.c:114
#8 0x00007f08be0d27f9 in run_plugin_auth (mysql=0x7f08985a89e0, data=0x7f08985aef13 "", data_len=21, data_plugin=0x7f08be0e188b "mysql_native_password",
db=0x7f08ac01c0d8 "dscmondb") at /home/buildbot/src/build/libmariadb/my_auth.c:606
#9 0x00007f08be0c5e1f in mthd_my_real_connect (mysql=0x7f08985a89e0, host=0x7f08ac01bff8 "r710t01-v03", user=0x7f08ac0309f8 "dscwriterinst",
passwd=0x7f08ac01b798 "8e7e92a0-165e-4f01-82c1-28a5e4fa7b7b", db=0x7f08ac01c0d8 "dscmondb", port=3306, unix_socket=0x0, client_flag=128)
at /home/buildbot/src/build/libmariadb/libmariadb.c:1888
#10 0x00007f08be2fd903 in MySqlClient::connect (this=0x13a9ed8, server="r710t01-v03", user="dscwriterinst", password="8e7e92a0-165e-4f01-82c1-28a5e4fa7b7b", database="dscmondb",
ssl_key="/opt/adc/adc/etc/dscweb.pem", ssl_cert="/opt/adc/adc/etc/dscweb.pem", ssl_ca="/opt/adc/adc/etc/dscweb.pem", err_string="") at MySqlClient.cpp:47
#11 0x000000000040e155 in connect (this=0x13a97c0) at /vob/adc/router/db_client/DataBaseClient.h:142
#12 UlticomMonitorD::MonitorThread::connectToMySql (this=0x13a97c0) at MonitorThread.cpp:403
#13 0x0000000000410e8c in UlticomMonitorD::MonitorThread::processProtoMessage (this=0x13a97c0, proto_buf=...,
recv_buf=0x7f08b4de16a0 "\n\027\b\001\022\005INST1\032\nDSC_CLSTR1 \003\032]\n\vr710t01-v03\022\rdscwriterinst\032$8e7e92a0-165e-4f01-82c1-28a5e4fa7b7b\"\bdscmondb*\vr710t01-v030\b8\001", message_size=120) at MonitorThread.cpp:557
#14 0x00000000004116e5 in UlticomMonitorD::MonitorThread::threadMain (this=0x13a97c0, pArguments=<value optimized out>) at MonitorThread.cpp:331
#15 0x00007f08be80096b in UlticomUtils::_thread_internal_main_routine (arg=0x13a97c0) at Thread.cpp:108
#16 0x0000003da8e07851 in start_thread () from /lib64/libpthread.so.0
#17 0x0000003da8ae811d in clone () from /lib64/libc.so.6