MySQL Client Library Segmentation Fault; Net_clear; sql/net_serv.cc;
(Doc ID 1554557.1)
Last updated on FEBRUARY 22, 2019
Applies to:MySQL Server - Version 4.0 to 5.7 [Release 4.0 to 5.7]
Information in this document applies to any platform.
When attempting to use the C API to execute a prepared statement after the connection to the server was lost, an error occurs similar to:
The segmentation fault can also occur in other places such as in Net_clear in sql/net_serv.cc.
The issue can be reproduced at will with the following steps:
- Prepare a statement.
- Lose the connection to the server, e.g. due to wait_timeout or a server restart.
- Prepare a second statement.
- Execute the first prepared statement.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document