ITADN

Fatal Python error: Segmentation fault

#13203Closedsyteweb740-max 创建于 2026-07-21
bug
S
syteweb740-maxcommented
### Describe the bug My code I use to run everyday started showing error after the recent update , It starts by showing me some warning: net time use this else it won't work in the next update and I fix as it says and update aiohttp with python, the I start encounters this bug Fatal Python error: Segmentation fault Current thread's C stack trace (most recent call first): <cannot get C stack on this system> Extension modules: _cffi_backend, aiohttp._http_writer, aiohttp._http_parser, aiohttp._websocket.mask, aiohttp._websocket.reader_c (total: 5) Segmentation faultt ### To Reproduce Just look at the infos above ### Expected behavior Decoding responds fails on some site and instead of it to raise Expectation it crush Am already using try and except Exception Most crush here Body = await response.text(errors="ignore") ### Logs/tracebacks ```python-traceback Fatal Python error: Segmentation fault Thread 0x00000073033f8cb0 (most recent call first): File "/data/data/com.termux/files/usr/lib/python3.14/site-packages/pycares/__init__.py", line 430 in _run_safe_shutdown_loop File "/data/data/com.termux/files/usr/lib/python3.14/threading.py", line 1024 in run File "/data/data/com.termux/files/usr/lib/python3.14/threading.py", line 1082 in _bootstrap_inner File "/data/data/com.termux/files/usr/lib/python3.14/threading.py", line 1044 in _bootstrap Current thread 0x0000007395ae4098 (most recent call first): File "/data/data/com.termux/files/usr/lib/python3.14/site-packages/aiohttp/client_proto.py", line 326 in data_received File "/data/data/com.termux/files/usr/lib/python3.14/site-packages/aiohttp/base_protocol.py", line 89 in resume_reading File "/data/data/com.termux/files/usr/lib/python3.14/site-packages/aiohttp/client_proto.py", line 194 in resume_reading File "/data/data/com.termux/files/usr/lib/python3.14/site-packages/aiohttp/streams.py", line 556 in _read_nowait_chunk File "/data/data/com.termux/files/usr/lib/python3.14/site-packages/aiohttp/streams.py", line 568 in _read_nowait File "/data/data/com.termux/files/usr/lib/python3.14/site-packages/aiohttp/streams.py", line 462 in readany File "/data/data/com.termux/files/usr/lib/python3.14/site-packages/aiohttp/streams.py", line 437 in read File "/data/data/com.termux/files/usr/lib/python3.14/site-packages/aiohttp/client_reqrep.py", line 715 in read File "/storage/emulated/0/test/test-eye/s/mycode.py", line 722 in worker4 File "/storage/emulated/0/test/test-eye/s/mycode.py", line 614 in worker2 File "/data/data/com.termux/files/usr/lib/python3.14/asyncio/events.py", line 94 in _run File "/data/data/com.termux/files/usr/lib/python3.14/asyncio/base_events.py", line 2056 in _run_once File "/data/data/com.termux/files/usr/lib/python3.14/asyncio/base_events.py", line 677 in run_forever File "/data/data/com.termux/files/usr/lib/python3.14/asyncio/base_events.py", line 706 in run_until_complete File "/data/data/com.termux/files/usr/lib/python3.14/asyncio/runners.py", line 128 in run File "/data/data/com.termux/files/usr/lib/python3.14/asyncio/runners.py", line 205 in run File "/storage/emulated/0/test/test-eye/s/mycode.py", line 1367 in <module> Current thread's C stack trace (most recent call first): <cannot get C stack on this system> Extension modules: _cffi_backend, aiohttp._http_writer, aiohttp._http_parser, aiohttp._websocket.mask, aiohttp._websocket.reader_c (total: 5) Segmentation fault ``` ### Python Version ```console Python 3.14.6 ``` ### aiohttp Version ```console $ python -m pip show aiohttp Name: aiohttp Version: 3.14.2 ``` ### multidict Version ```console Name: multidict Version: 6.7.1 Summary: multidict implementation ``` ### propcache Version ```console Name: propcache Version: 0.5.2 ``` ### yarl Version ```console Name: yarl Version: 1.24.5 ``` ### OS Termux ### Related component Server ### Additional context _No response_ ### Code of Conduct - [x] I agree to follow the aio-libs Code of Conduct
关闭于 2026-07-22 19 条评论