Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

Segmentation fault in prepared statement when using from concurrent threads (no replies)

$
0
0
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

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>