调查 T 构建上的 greenlet 崩溃问题
The last PR publish does a core dump on t build seemingly due to greenlet: https://GitHub.com/sqlalchemy/sqlalchemy/actions/runs/31526244397/job/93895163223 sh -c 'Python -s -m pytest -c /project/pyproject.toml -n4 -q --nomemory --notimingintensive --nomypy /project/test' Fatal Python error: Segmentation fault Current thread 0x00007f26488de400 [Python] (most recent call first): File "/tmp/tmp.pc9nN1Uf09/venv/lib/python3.14t/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 190 in greenlet_spawn File "/opt/Python/cp314-cp314t/lib/python3.14t/asyncio/events.py", line 94 in _run File "/opt/Python/cp314-cp314t/lib/python3.14t/asyncio/base_events.py", line 2046 in _run_once File "/opt/Python/cp314-cp314t/lib/python3.14t/asyncio/base_events.py", line 677 in run_forever File "/opt/Python/cp314-cp314t/lib/python3.14t/asyncio/base_events.py", line 706 in run_until_complete File "/opt/Python/cp314-cp314t/lib/python3.14t/asyncio/runners.py", line 127 in run File "/tmp/tmp.pc9nN1Uf09/venv/lib/python3.14t/site-packages/sqlalchemy/util/concurrency.py", line 64 in run_in_greenlet File "/tmp/tmp.pc9nN1Uf09/venv/lib/python3.14t/site-packages/sqlalchemy/testing/asyncio.py", line 58 in _assume_async File "/project/test/../lib/sqlalchemy/testing/plugin/pytestplugin.py", line 172 in pytest_sessionstart File "/tmp/tmp.pc9nN1Uf09/venv/lib/python3.14t/site-packages/pluggy/_callers.py", line 121 in _multicall File "/tmp/tmp.pc9nN1Uf09/venv/lib/python3.14t/site-packages/pluggy/_manager.py", line 120 in _hookexec File "/tmp/tmp.pc9nN1Uf09/venv/lib/python3.14t/site-packages/pluggy/_hooks.py", line 512 in __call__ File "/tmp/tmp.pc9nN1Uf09/venv/lib/python3.14t/site-packages/_pytest/main.py", line 328 in wrap_session File "/tmp/tmp.pc9nN1Uf09/venv/lib/python3.14t/site-packages/_pytest/main.py", line 377 in pytest_cmdline_main File "/tmp/tmp.pc9nN1Uf09/venv/lib/python3.14t/site-packages/pluggy/_callers.py", line 121 in _multicall File "/tmp/tmp.pc9nN1Uf09/venv/lib/python3.14t/site-packages/pluggy/_manager.py", line 120 in _hookexec File "/tmp/tmp.pc9nN1Uf09/venv/lib/python3.14t/site-packages/pluggy/_hooks.py", line 512 in __call__ File "/tmp/tmp.pc9nN1Uf09/venv/lib/python3.14t/site-packages/_pytest/config/__init__.py", line 229 in _main File "/tmp/tmp.pc9nN1Uf09/venv/lib/python3.14t/site-packages/_pytest/config/__init__.py", line 253 in _console_main File "/tmp/tmp.pc9nN1Uf09/venv/lib/python3.14t/site-packages/pytest/__main__.py", line 9 in <module> File "<frozen runpy>", line 88 in _run_code File "<frozen runpy>", line 198 in _run_module_as_main
内容来源: sqlalchemy/sqlalchemy