MySQL Forums
Forum List  »  Connector/C++

Segmentation fault in prepared statement when using from concurrent threads
Posted by: Kushal Bhattacharya
Date: June 02, 2017 04:55AM

Hi,
I am seeing this behavious frequently.Either i am getting a segmentation fault when i am creating a new connnection.(I have seen it in a post that get_driver_instance() isnt thread safe so cannot be fired at the same time from concurrent threads so i have implemented a lock there).But frequently i am seeing segmentation fault in preparesStatement function and i am confused as to how to solve this issue.
Thanks,
Kushal

Options: ReplyQuote


Subject
Views
Written By
Posted
Segmentation fault in prepared statement when using from concurrent threads
200
June 02, 2017 04:55AM


Sorry, you can't reply to this topic. It has been closed.

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.