Bug #88994 Crash in client library in multithread connect and SSL

Submitted: 20 Dec 2017 16:02 Modified: 21 Dec 2017 9:52
Reporter: Aleksandr Lyapunov Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: C API (client library) Severity:S2 (Serious)
Version:5.5.31, 6.1.11 OS:CentOS (7)
Assigned to: CPU Architecture:Any

[20 Dec 2017 16:02] Aleksandr Lyapunov
Description:
Using mysql-5.5.31 client library I try to simultaneously connect to a server.
Sometimes I get errors in some threads and sometimes the program crashes.
Simple program that I wrote to reproduce the bug:
https://pastebin.com/a5Q9Aist
Here are output and backtrace of a crash:
https://pastebin.com/PcubxXv2

How to repeat:
https://pastebin.com/a5Q9Aist
Just complile and run.
[21 Dec 2017 9:52] MySQL Verification Team
Hello Aleksandr,

Thank you for the report and test case.

Thanks,
Umesh

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.