Bug #107692 | connector xapi call mysqlx_session_close crash when network is disconnect | ||
---|---|---|---|
Submitted: | 29 Jun 2022 2:43 | Modified: | 4 Aug 2023 10:13 |
Reporter: | bingo yang | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / C++ | Severity: | S2 (Serious) |
Version: | 8.0.33 | OS: | Windows |
Assigned to: | CPU Architecture: | Any |
[29 Jun 2022 2:43]
bingo yang
[30 Jun 2022 16:09]
MySQL Verification Team
Hello, Thank you for the bug report and feedback. Regards, Ashwini Patil
[1 Aug 2022 16:48]
Christine Cole
Posted by developer: Fixed as of the upcoming MySQL Connector/C++ 8.0.31 release, and here's the proposed changelog entry from the documentation team: If an application program called mysqlx_session_close after disconnecting from the Internet, an exception from Connector/C++ could cause the application to halt unexpectedly. Thank you for the bug report.
[14 Jul 2023 8:26]
bingo yang
I have tested the bug using mysql server 8.0.31 without router and connetor 8.0.31/32 both using c version api. It still cause crash. Cloud you please check it in again? thanks
[4 Aug 2023 10:13]
bingo yang
8.0.33 connector + 8.0.31 mysql server: when created the session without OPENSSL "OPT_SSL_MODE(SSL_MODE_DISABLED)", it will crash. if enable OPENSSL ,wont't crash.