-
Notifications
You must be signed in to change notification settings - Fork 564
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
macOS Sonoma - pyodbc 5.0.0b2 crashes - zsh: bus error python3 #1284
Comments
Could you try using the official Microsoft ODBC Driver for SQL Server and see if the same crash reproduces there? |
Ah, seems like Microsoft ships their ODBC driver via homebrew (I can't use homebrew in my org on Macs for various internal reasons). I'll see if I can install it without homebrew and update the ticket if it works. |
You can download driver directly from the links in here: https://github.com/microsoft/homebrew-mssql-release |
Sorry I haven't got back, got distracted with other issues. I've installed the MSSQL driver into
I'm not bothered by the This |
Just noting here, I've installed |
Some further info:
Log:
However when attempting a connection (now using pyobdc 5.0.1 and Python 3.12):
If I use Python 3.10, as per earlier comments, it works fine.
|
I've been able to get approval to use Running macOS 14.1 (23B74) with brew versions of I need to do a test on another machine that is a fresh macOS install to verify if the self compiled unixodbc + freetds is failing and that it's not something related to my OS install. |
We've just released 5.1.0 with binaries for both ARM & Intel Macs. Can you try this version? I'm going to close this for now since it is pretty old and we have other Mac issues and discussions. Feel free to reopen if this is still a problem. |
Please first make sure you have looked at:
Environment
To diagnose, we usually need to know the following, including version numbers. On Windows, be
sure to specify 32-bit Python or 64-bit:
Issue
When calling
pyodbc.connect(dsn, ansi=True)
, it terminates withzsh: bus error python3
as the error; expected behaviour is the connection is established without crashing.ODBC trace:
I haven't been able to catch a crash log for Python 3.12, but the issue occurs with pyodbc 4.0.39 and Python 3.11.6. Issue is not present when using pyodbc 4.0.34 and Python 3.10.10.
The text was updated successfully, but these errors were encountered: