在 Temporal 活动中时,在 0.31.0 上发生分段错误
作者: idevelop创建于 2025年12月2日更新于 2026年8月18日
- Start a temporal server:
temporal server start-dev - In a separate terminal, run the code above:
% Python test_asyncpg.py
=== 1) Direct asyncpg on fresh loop (no Temporal) ===
[direct] thread=8654430720 loop_id=4353195520 <_UnixSelectorEventLoop running=True closed=False debug=False>
[direct] connected to Postgres
=== 2) Temporal worker + workflow calling async activity ===
[workflow] starting db_activity
[activity] thread=8654430720 loop_id=4353195520 <_UnixSelectorEventLoop running=True closed=False debug=False>
zsh: segmentation fault Python test_asyncpg.py内容来源: MagicStack/asyncpg