-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Random Segmentation Faults #305
Comments
Can you please post the traceback? |
Sure, there isn't much to it though. A little bit of added information is that this happens as part of an Arrow Flight server, so I'm not sure if the threading that takes place inside the flight server is in some way causing a problem with the threads being used by Turbodbc.
|
Originally, I had |
Yes, things run fine outside of flight so it is related to the interaction between the 2 libraries. I'm at a bit of a loss how to further troubleshoot though. |
I'm a bit confused about the |
yes, everything in
|
I'm reading from MS Sql Server using Microsoft ODBC driver, V17.
I run in a container with the miniconda3 base image and build a conda env using
python 3.7
turbodbc 4.1.2 (conda-forge)
pyarrow 3.0 (conda-forge)
I'm reading the data out of the cursor using
cursor.fetchallnumpy()
. Randomly, I see a seg fault. I tried building turbodbc rather than pulling in the package from conda-forge and got the same result. I can run the same query 50 times in a loop and only occasionally will it crash. Enabling fault handler points to an error incursor.close()
whenself.impl._reset()
is called.Any ideas on how to further troubleshoot?
The text was updated successfully, but these errors were encountered: