-
Notifications
You must be signed in to change notification settings - Fork 80
Segmentation Fault MacOS with Python 3.13 #484
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
Comments
We'll take a look. I fear this will be tricky to do anything with unless you can get a reproducible case, but maybe there is something obvious in the driver that can be tweaked. Do you know if it also happens on other platforms (e.g. Linux)? Is there any other info available about when it does / doesn't reproduce, e.g with different pool settings? |
I have forgotten to note that this occurs about half to 2/3 of the time when starting the FastAPI webserver, not each time. |
Can't reproduce the issue under docker linux/amd64 environment, and under macos seems to work more often now then before for some reason but still fails 1/4 of the time with seg fault. |
Issue seems to originate from import of xgboost package. When import exists in code and when running with debuger in pycharm more then half of the time the provided segmentation fault will occur. Other times runs just fine... Xgboost library at version 3.0.0 |
Oracle ATP 19.c
platform.platform: macOS-15.4-arm64-arm-64bit-Mach-O
sys.maxsize > 2**32: True
platform.python_version: 3.13.3
oracledb.version: 3.1.0
Segmentation Fault Crash
https://gist.github.com/MCubek/ffa2806d8bf0a8e73fe3ac4436d888ed
This issue does not happen on Python 3.12.
Yes, thick mode is used.
Test script below couldn't reproduce the issue but represents how the pool is created...
In production FastAPI is used to create pool as shown in snippets:
The text was updated successfully, but these errors were encountered: