Skip to content
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

[Python] Windows 10 Access Violation exit(5) application crashes when mysql-connector-python==9.1.0 is used and pyarrow installed #45065

Open
ivanignatiev opened this issue Dec 18, 2024 · 1 comment

Comments

@ivanignatiev
Copy link

Describe the bug, including details regarding any error messages, version, and platform.

As I have seen some issues ( like #40100 ) related to Access Violation on Windows in pyarrow I have decided to open this issue here. Maybe for other not reproducible issues with the same crash reason it is related to conflicts with other dependencies.

We have a Python (3.12.5) Flask application which uses Flask==3.1.0 and Flask-SQLAlchemy==3.1.1.

As a connection driver, we had mysql-connector-python==9.1.0.

On Windows 10, when pyarrow is installed (I have tested all versions from pyarrow 15, and Python 3.12 and 3.13, PyPi) application crashes when SQLAlchemy tries to open connection to MySQL (in our case just localhost with standard 3306 port).

Here is faulthandler traces:

image

We have changed mysql-connector-python to mysqlclient and issue disappear.

Component(s)

Python

@kou kou changed the title Windows 10 Access Violation exit(5) application crashes when mysql-connector-python==9.1.0 is used and pyarrow installed [Python] Windows 10 Access Violation exit(5) application crashes when mysql-connector-python==9.1.0 is used and pyarrow installed Dec 19, 2024
@kou
Copy link
Member

kou commented Dec 19, 2024

#44855 may be related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants