-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
Segmentation fault on arm64 #628
Comments
This is likely a problem with Numba code generation -- do the tests pass with Py3.10 and below on other architectures? |
The test used to pass with Py3.10. You can check the list of architectures including test logs on our CI page |
Let me rephrase, do the tests pass with Python 3.11 and sparse 0.14, but Numba 0.57.1? How about Python 3.10, sparse 0.15.1 and Numba 0.57.1? I unfortunately don't have access to an ARM64 machine, so I cannot debug this personally, and would rely on reporters to isolate the issue. |
Am Wed, Jan 17, 2024 at 02:28:29AM -0800 schrieb Hameer Abbasi:
Let me rephrase, do the tests pass with Python 3.11 and sparse 0.14, but Numba 0.57.1? How about Python 3.10, sparse 0.15.1 and Numba 0.57.1?
Sorry, I'm not the maintainer of this package and dont have resources to test these cases.
Kind regards, Andreas.
|
@mtsokol IIRC you had a Mac, is that Apple Silicon by any chance? Could you reproduce this bug with the software versions mentioned? |
Unfortunately my Mac is an ancient MacBook Pro 2015 with Intel i7. |
I've attempted to fix this in #634, please re-open if the issue isn't resolved. |
Hi, |
@tillea I just tested locally, it doesn't fail for me in a Docker container -- You might want to look at numba/numba#9109 (comment) and backporting llvm/llvm-project@2e1b838 to Debian's LLVM 14. Relevant LLVM issue: llvm/llvm-project#61402 |
Andreas asked me to help out with this bug as he has new Debian project leader responsibilities. I was slowly trying to help deal with the numba side of the problems, but fell behind on understanding the llvm fix. |
@detrout Thank you for helping out -- Some background info from reading the Numba issue, it isn't an issue with Numba itself, but present in Debian's LLVM 14 (and release LLVM 14, IIUC). The reason it doesn't show up on Numba from PyPI or conda-forge is that they already have the LLVM patch applied in llvmlite on PyPI and LLVM 14 from conda-forge, which is why I think backporting the patch might help. |
I recently ran the test suite on both an Apple Silicon Mac as well as multiple arm64-based containers trying to reproduce this, but the test suite ran fine. Can anyone, maybe @detrout, check what happens if |
Describe the bug
When running the test suite on arm64 architecture Python3.11 segfaults.
To Reproduce
The Debian continuous integration test is running on all Debian release architectures. While it passed for amd64 it fails on arm64 and other architectures. Feel free to check the full build log
Expected behavior
The test suite should pass on all architectures.
System
sparse
version: 0.15.1Kind regards, Andreas.
The text was updated successfully, but these errors were encountered: