-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
SIGSEGV, Segmentation fault. #7215
Comments
What's the method of installation? Were aiohttp and it's deps installed from the musllinux wheels on PyPI or compiled from sdist? |
Also, is this reproducible with aiohttp v3.8.4? |
I try different methods
|
Using |
|
You don't really need it to be editable or unpack it manually. In fact, there's no testing for building the unpacked sdists. Try installing from PyPI. Also, choose the latest version.
I missed that it's also an old ARM arch. I'm guessing it's some like Raspberry? This explains why there's no wheel for your env — the newer envs are better standardized and we ship musllinux wheels for aarch64. Also, this means that aiohttp was never tested on that platform and having no access to the hardware, it's rather hard to guess what's needed for your case to work. One thing to change is to try running a reproducer on a clean Python alpine image. We're definitely not going to debug third party software that might've influenced your custom image. Oh, and as an immediate workaround, you can set |
This is QNAP TS-231P3 with Home assistant docker image.
And after some update home assistant didn't work. That is why I dig for this problem. |
FWIW try out all the things I pointed out earlier. Also, this issue needs a reproducer that doesn't depend on how someone else (as in HA) built their images. It'd expect a proper repro to use some raw official Python Alpine image demonstrating that this problem exists in isolated. Until then, for what we know, it could be HA breaking musl or smth in the image. |
On the original clear Alpine 3.16 docker image, aiohttp is compiled and works just fine. Home Assistant too )) Hah. |
I can't think of a way wheels could break musl but I trust that the HA devs can figure it out. It sounds like this issue doesn't need to remain open, now that it's clear that the bug is not coming from us. So I'm going to close it. |
Describe the bug
Arm docker Alpine 3.16
Python 3.10.7
To Reproduce
python3 -c "import aiohttp"
Expected behavior
simple import aiohttp in python
Logs/tracebacks
Python Version
aiohttp Version
multidict Version
yarl Version
OS
Alpine 3.16 Docker
Related component
Client
Additional context
homeassistant docker image
Code of Conduct
The text was updated successfully, but these errors were encountered: