Skip to content

API server segfault when PYTHONASYNCIODEBUG=1 #61214

Description

@lkindere

Apache Airflow version

3.1.6

If "Other Airflow 3 version" selected, which one?

No response

What happened?

Same issue as in #53105

When the ENV var PYTHONASYNCIODEBUG=1 is set, api-server segfaults as soon as it gets it's first task to execute.

What you think should happen instead?

No response

How to reproduce

Using Airflow 3.1.6, python 3.13

DAG:

from airflow import DAG
from airflow.sdk import task


@task
def test():
    print("a")

with DAG(dag_id="test"):
    test()

pip freeze on api server container

a2wsgi==1.10.10
adal==1.2.7
adlfs==2025.8.0
aenum==3.1.16
aiobotocore==2.26.0
aiofiles==24.1.0
aiohappyeyeballs==2.6.1
aiohttp==3.13.3
aioitertools==0.13.0
aiomysql==0.3.2
aiosignal==1.4.0
aiosmtplib==5.0.0
aiosqlite==0.21.0
alembic==1.17.2
amqp==5.3.1
annotated-types==0.7.0
anyio==4.12.1
apache-airflow==3.1.6
apache-airflow-core==3.1.6
apache-airflow-providers-amazon==9.19.0
apache-airflow-providers-celery==3.15.0
apache-airflow-providers-cncf-kubernetes==10.9.0
apache-airflow-providers-common-compat==1.11.0
apache-airflow-providers-common-io==1.7.0
apache-airflow-providers-common-messaging==2.0.1
apache-airflow-providers-common-sql==1.30.2
apache-airflow-providers-databricks==7.8.2
apache-airflow-providers-docker==4.5.1
apache-airflow-providers-elasticsearch==6.4.2
apache-airflow-providers-ftp==3.14.0
apache-airflow-providers-git==0.2.0
apache-airflow-providers-google==19.3.0
apache-airflow-providers-grpc==3.9.1
apache-airflow-providers-hashicorp==4.4.1
apache-airflow-providers-http==5.6.2
apache-airflow-providers-microsoft-azure==12.10.1
apache-airflow-providers-mysql==6.4.0
apache-airflow-providers-odbc==4.11.0
apache-airflow-providers-openlineage==2.9.2
apache-airflow-providers-postgres==6.5.1
apache-airflow-providers-redis==4.4.1
apache-airflow-providers-sendgrid==4.2.0
apache-airflow-providers-sftp==5.5.1
apache-airflow-providers-slack==9.6.1
apache-airflow-providers-smtp==2.4.1
apache-airflow-providers-snowflake==6.8.1
apache-airflow-providers-ssh==4.2.1
apache-airflow-providers-standard==1.10.2
apache-airflow-task-sdk==1.1.6
argcomplete==3.6.3
asgiref==3.11.0
asn1crypto==1.5.1
astronomer-cosmos==1.12.1
asyncpg==0.31.0
asyncssh==2.22.0
attrs==25.4.0
Authlib==1.6.6
azure-batch==14.2.0
azure-common==1.1.28
azure-core==1.37.0
azure-cosmos==4.14.3
azure-datalake-store==0.0.53
azure-identity==1.25.1
azure-keyvault-secrets==4.10.0
azure-kusto-data==6.0.1
azure-mgmt-containerinstance==10.1.0
azure-mgmt-containerregistry==14.0.0
azure-mgmt-core==1.6.0
azure-mgmt-cosmosdb==9.9.0
azure-mgmt-datafactory==9.2.0
azure-mgmt-datalake-nspkg==3.0.1
azure-mgmt-datalake-store==0.5.0
azure-mgmt-nspkg==3.0.2
azure-mgmt-resource==24.0.0
azure-mgmt-storage==24.0.0
azure-nspkg==3.0.2
azure-servicebus==7.14.3
azure-storage-blob==12.28.0
azure-storage-file-datalake==12.23.0
azure-storage-file-share==12.24.0
azure-synapse-artifacts==0.21.0
azure-synapse-spark==0.7.0
babel==2.17.0
backoff==2.2.1
bcrypt==5.0.0
beautifulsoup4==4.14.3
billiard==4.2.4
boto3==1.41.5
botocore==1.41.5
build==1.3.0
cachetools==6.2.4
cadwyn==5.4.6
cattrs==25.3.0
celery==5.6.2
certifi==2026.1.4
cffi==2.0.0
chardet==5.2.0
charset-normalizer==3.4.4
click==8.3.1
click-didyoumean==0.3.1
click-plugins==1.1.1.2
click-repl==0.3.0
cloudpickle==3.1.1
colorama==0.4.6
colorlog==6.10.1
cron_descriptor==2.0.6
croniter==6.0.0
cryptography==46.0.3
databricks-sql-connector==4.2.3
databricks-sqlalchemy==2.0.8
db-dtypes==1.5.0
decorator==5.2.1
Deprecated==1.3.1
deprecation==2.1.0
dill==0.4.0
distlib==0.4.0
distro==1.9.0
dnspython==2.8.0
docker==7.1.0
docstring_parser==0.17.0
duckdb==1.4.3
durationpy==0.10
ecdsa==0.19.1
elastic-transport==8.17.1
elasticsearch==8.19.3
email-validator==2.3.0
et_xmlfile==2.0.0
eventlet==0.40.4
fastapi==0.117.1
fastapi-cli==0.0.20
fastuuid==0.14.0
filelock==3.20.2
flower==2.0.1
frozenlist==1.8.0
fsspec==2025.12.0
gcloud-aio-auth==5.4.2
gcloud-aio-bigquery==7.1.0
gcloud-aio-storage==9.6.1
gcsfs==2025.12.0
gevent==25.9.1
gitdb==4.0.12
GitPython==3.1.46
google-ads==28.4.1
google-analytics-admin==0.26.0
google-api-core==2.28.1
google-api-python-client==2.187.0
google-auth==2.47.0
google-auth-httplib2==0.3.0
google-auth-oauthlib==1.2.2
google-cloud-aiplatform==1.132.0
google-cloud-alloydb==0.6.0
google-cloud-appengine-logging==1.7.0
google-cloud-audit-log==0.4.0
google-cloud-automl==2.17.0
google-cloud-batch==0.19.0
google-cloud-bigquery==3.39.0
google-cloud-bigquery-datatransfer==3.20.0
google-cloud-bigtable==2.35.0
google-cloud-build==3.34.0
google-cloud-compute==1.40.0
google-cloud-container==2.61.0
google-cloud-core==2.5.0
google-cloud-datacatalog==3.28.0
google-cloud-dataflow-client==0.10.0
google-cloud-dataform==0.7.0
google-cloud-dataplex==2.15.0
google-cloud-dataproc==5.23.0
google-cloud-dataproc-metastore==1.20.0
google-cloud-dlp==3.33.0
google-cloud-kms==3.7.0
google-cloud-language==2.18.0
google-cloud-logging==3.13.0
google-cloud-managedkafka==0.2.0
google-cloud-memcache==1.13.0
google-cloud-monitoring==2.28.0
google-cloud-orchestration-airflow==1.18.0
google-cloud-os-login==2.18.0
google-cloud-pubsub==2.34.0
google-cloud-redis==2.19.0
google-cloud-resource-manager==1.15.0
google-cloud-run==0.13.0
google-cloud-secret-manager==2.26.0
google-cloud-spanner==3.61.0
google-cloud-speech==2.35.0
google-cloud-storage==3.7.0
google-cloud-storage-control==1.8.0
google-cloud-storage-transfer==1.18.0
google-cloud-tasks==2.20.0
google-cloud-texttospeech==2.33.0
google-cloud-translate==3.23.0
google-cloud-videointelligence==2.17.0
google-cloud-vision==3.11.0
google-cloud-workflows==1.19.0
google-crc32c==1.8.0
google-genai==1.57.0
google-resumable-media==2.8.0
googleapis-common-protos==1.72.0
graphviz==0.21
greenback==1.3.0
greenlet==3.3.0
grpc-google-iam-v1==0.14.3
grpc-interceptor==0.15.4
grpcio==1.76.0
grpcio-gcp==0.2.2
grpcio-status==1.76.0
h11==0.16.0
h2==4.3.0
hf-xet==1.2.0
hpack==4.1.0
httpcore==1.0.9
httplib2==0.31.0
httptools==0.7.1
httpx==0.28.1
huggingface_hub==1.2.4
humanize==4.15.0
hvac==2.4.0
hyperframe==6.1.0
idna==3.11
ijson==3.4.0.post0
immutabledict==4.2.2
importlib_metadata==8.7.1
inflection==0.5.1
isodate==0.7.2
itsdangerous==2.2.0
Jinja2==3.1.6
jiter==0.12.0
jmespath==0.10.0
joblib==1.5.3
jsonpath-ng==1.7.0
jsonschema==4.26.0
jsonschema-specifications==2025.9.1
kafka-python==2.3.0
kombu==5.6.2
kubernetes==33.1.0
kubernetes_asyncio==33.3.0
lazy-object-proxy==1.12.0
libcst==1.8.6
linkify-it-py==2.0.3
litellm==1.80.12
lockfile==0.12.2
looker_sdk==25.20.0
lxml==5.4.0
lz4==4.4.5
Mako==1.3.10
markdown-it-py==4.0.0
MarkupSafe==3.0.3
marshmallow==3.26.2
mdurl==0.1.2
mergedeep==1.3.4
methodtools==0.4.7
microsoft-kiota-abstractions==1.9.8
microsoft-kiota-authentication-azure==1.9.8
microsoft-kiota-http==1.9.8
microsoft-kiota-serialization-json==1.9.8
microsoft-kiota-serialization-text==1.9.8
mmh3==5.2.0
more-itertools==10.8.0
msal==1.34.0
msal-extensions==1.3.1
msgpack==1.1.2
msgraph-core==1.3.8
msgraphfs==0.4
msgspec==0.20.0
msrest==0.7.1
msrestazure==0.6.4.post1
multidict==6.7.0
mysql-connector-python==9.5.0
mysqlclient==2.2.7
natsort==8.4.0
numpy==2.4.0
oauthlib==3.3.1
openai==2.14.0
openlineage-integration-common==1.41.0
openlineage-python==1.41.0
openlineage_sql==1.41.0
openpyxl==3.1.5
opentelemetry-api==1.39.1
opentelemetry-exporter-otlp==1.39.1
opentelemetry-exporter-otlp-proto-common==1.39.1
opentelemetry-exporter-otlp-proto-grpc==1.39.1
opentelemetry-exporter-otlp-proto-http==1.39.1
opentelemetry-proto==1.39.1
opentelemetry-resourcedetector-gcp==1.11.0a0
opentelemetry-sdk==1.39.1
opentelemetry-semantic-conventions==0.60b1
ordered-set==4.1.0
outcome==1.3.0.post0
packaging==25.0
pandas==2.3.3
pandas-gbq==0.33.0
paramiko==3.5.1
pathspec==1.0.1
pendulum==3.1.0
platformdirs==4.5.1
pluggy==1.6.0
ply==3.11
prometheus_client==0.23.1
prompt_toolkit==3.0.52
propcache==0.4.1
proto-plus==1.27.0
protobuf==6.33.2
psutil==7.2.1
psycopg2-binary==2.9.11
pyarrow==22.0.0
pyasn1==0.6.1
pyasn1_modules==0.4.2
PyAthena==3.24.1
pybreaker==1.4.1
pycparser==2.23
pydantic==2.12.5
pydantic_core==2.41.5
pydata-google-auth==1.9.1
pydynamodb==0.8.0
Pygments==2.19.2
pygtrie==2.5.0
pyiceberg==0.10.0
PyJWT==2.10.1
PyMySQL==1.1.2
PyNaCl==1.6.2
pyodbc==5.3.0
pyOpenSSL==25.3.0
pyparsing==3.3.1
pyproject_hooks==1.2.0
pyroaring==1.0.3
python-daemon==3.1.2
python-dateutil==2.9.0.post0
python-dotenv==1.2.1
python-http-client==3.3.7
python-ldap==3.4.5
python-multipart==0.0.21
python-slugify==8.0.4
pytz==2025.2
PyYAML==6.0.3
PyYAML-ft==8.0.0
redis==6.4.0
redshift-connector==2.1.10
referencing==0.37.0
regex==2025.11.3
requests==2.32.5
requests-oauthlib==2.0.0
requests-toolbelt==1.0.0
rich==14.2.0
rich-argparse==1.7.2
rich-toolkit==0.17.1
rpds-py==0.30.0
rsa==4.9.1
ruamel.yaml==0.19.1
s3transfer==0.15.0
sagemaker_studio==1.0.23
scikit-learn==1.8.0
scipy==1.16.3
scramp==1.4.8
sendgrid==6.12.2
setproctitle==1.3.7
setuptools==80.9.0
shapely==2.1.2
shellingham==1.5.4
six==1.17.0
slack_sdk==3.39.0
smmap==5.0.2
sniffio==1.3.1
snowflake-connector-python==4.2.0
snowflake-snowpark-python==1.44.0
snowflake-sqlalchemy==1.8.2
sortedcontainers==2.4.0
soupsieve==2.8.1
SQLAlchemy==2.0.45
sqlalchemy-bigquery==1.16.0
SQLAlchemy-JSONField==1.0.2
sqlalchemy-spanner==1.17.2
SQLAlchemy-Utils==0.42.1
sqlean.py==3.50.4.5
sqlparse==0.5.5
sshtunnel==0.4.0
starlette==0.48.0
statsd==4.0.1
std-uritemplate==2.0.8
strictyaml==1.7.3
structlog==25.5.0
svcs==25.1.0
tabulate==0.9.0
tenacity==9.1.2
termcolor==3.3.0
text-unidecode==1.3
threadpoolctl==3.6.0
thrift==0.16.0
tiktoken==0.12.0
tokenizers==0.22.2
tomlkit==0.13.3
tornado==6.5.4
tqdm==4.67.1
typer==0.21.1
typer-slim==0.21.1
types-protobuf==6.32.1.20251210
typing-inspection==0.4.2
typing_extensions==4.15.0
tzdata==2025.3
tzlocal==5.3.1
uc-micro-py==1.0.3
universal_pathlib==0.2.6
uritemplate==4.2.0
urllib3==2.6.3
uuid6==2025.0.1
uv==0.9.24
uvicorn==0.40.0
uvloop==0.22.1
vine==5.1.0
virtualenv==20.36.1
watchfiles==1.1.1
watchtower==3.4.0
wcwidth==0.2.14
websocket-client==1.8.0
websockets==15.0.1
Werkzeug==3.1.4
wheel==0.45.1
wirerope==1.0.0
wrapt==1.17.3
yarl==1.22.0
zipp==3.23.0
zope.event==6.1
zope.interface==8.1.1

without PYTHONASYNCIODEBUG=1
no issues

with PYTHONASYNCIODEBUG=1

api server segfaults:

2026-01-29 16:33:04 
2026-01-29 16:33:05 [2026-01-29T15:33:05.205589Z] {configuration.py:1111} WARNING - section/key [openlineage/namespace] not found in config
2026-01-29 16:33:11   ____________       _____________
2026-01-29 16:33:11  ____    |__( )_________  __/__  /________      __
2026-01-29 16:33:11 ____  /| |_  /__  ___/_  /_ __  /_  __ \_ | /| / /
2026-01-29 16:33:11 ___  ___ |  / _  /   _  __/ _  / / /_/ /_ |/ |/ /
2026-01-29 16:33:11  _/_/  |_/_/  /_/    /_/    /_/  \____/____/|__/
2026-01-29 16:33:11 INFO:     127.0.0.1:47350 - "GET /public/health HTTP/1.1" 200 OK
2026-01-29 16:33:21 INFO:     127.0.0.1:54686 - "GET /public/health HTTP/1.1" 200 OK
2026-01-29 16:33:31 INFO:     127.0.0.1:58160 - "GET /public/health HTTP/1.1" 200 OK
2026-01-29 16:33:41 INFO:     127.0.0.1:48458 - "GET /public/health HTTP/1.1" 200 OK
2026-01-29 16:33:05 /home/airflow/.local/lib/python3.13/site-packages/airflow/providers/cncf/kubernetes/utils/pod_manager.py:52 DeprecatedImportWarning: The `airflow.utils.timezone.utcnow` attribute is deprecated. Please use `'airflow.sdk.timezone.utcnow'`.
2026-01-29 16:33:06 [2026-01-29T15:33:06.860980Z] {api_server_command.py:54} INFO - Running the uvicorn with:
2026-01-29 16:33:06 Apps: all
2026-01-29 16:33:06 Workers: 1
2026-01-29 16:33:06 Host: 0.0.0.0:8080
2026-01-29 16:33:06 Timeout: 120
2026-01-29 16:33:06 Logfiles: -
2026-01-29 16:33:06 =================================================================
2026-01-29 16:33:06 /home/airflow/.local/lib/python3.13/site-packages/airflow/api_fastapi/execution_api/routes/__init__.py:23 DeprecationWarning: 'HTTP_422_UNPROCESSABLE_ENTITY' is deprecated. Use 'HTTP_422_UNPROCESSABLE_CONTENT' instead.
2026-01-29 16:33:07 /home/airflow/.local/lib/python3.13/site-packages/airflow/api_fastapi/core_api/routes/public/__init__.py:36 DeprecationWarning: 'HTTP_422_UNPROCESSABLE_ENTITY' is deprecated. Use 'HTTP_422_UNPROCESSABLE_CONTENT' instead.
2026-01-29 16:33:07 INFO:     Started server process [7]
2026-01-29 16:33:07 INFO:     Waiting for application startup.
2026-01-29 16:33:07 [2026-01-29T15:33:07.740043Z] {runners.py:118} WARNING - Executing <Task pending name='Task-1' coro=<Server.serve() running at /home/airflow/.local/lib/python3.13/site-packages/uvicorn/server.py:71> wait_for=<Future pending cb=[Task.task_wakeup()] created at /usr/python/lib/python3.13/asyncio/locks.py:210> cb=[run_until_complete.<locals>.done_cb()] created at /usr/python/lib/python3.13/asyncio/runners.py:100> took 0.872 seconds
2026-01-29 16:33:07 INFO:     Application startup complete.
2026-01-29 16:33:07 INFO:     Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit)
2026-01-29 16:33:52 INFO:     127.0.0.1:57254 - "GET /public/health HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61596 - "GET /dags/test/runs/manual__2026-01-29T15%3A32%3A13%2B00%3A00 HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61596 - "GET /ui/config HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61596 - "GET /ui/auth/menus HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61608 - "GET /api/v2/version HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61640 - "GET /api/v2/plugins HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61610 - "GET /api/v2/dags/test/details HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61622 - "GET /api/v2/dags/test/dagRuns/manual__2026-01-29T15%3A32%3A13%2B00%3A00 HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61632 - "GET /ui/backfills?dag_id=test HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61610 - "GET /api/v2/dags/test HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61596 - "GET /ui/grid/runs/test?limit=10&order_by=-run_after HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61608 - "GET /ui/grid/structure/test?limit=10&order_by=-run_after HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61622 - "GET /api/v2/dagWarnings?dag_id=test HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61610 - "GET /ui/structure/structure_data?dag_id=test&external_dependencies=false&version_number=3 HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61596 - "GET /ui/structure/structure_data?dag_id=test HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61608 - "GET /ui/grid/ti_summaries/test/manual__2026-01-29T15%3A32%3A13%2B00%3A00 HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61622 - "GET /ui/grid/ti_summaries/test/manual__2026-01-29T15%3A25%3A43%2B00%3A00 HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61610 - "GET /ui/grid/ti_summaries/test/manual__2026-01-29T15%3A25%3A15%2B00%3A00 HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61596 - "GET /ui/grid/ti_summaries/test/manual__2026-01-29T15%3A19%3A00%2B00%3A00 HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61640 - "GET /api/v2/dags/test/dagRuns/manual__2026-01-29T15%3A32%3A13%2B00%3A00/taskInstances?limit=100&offset=0&order_by=-start_date&order_by=-run_after HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61632 - "GET /api/v2/dags/test/dagRuns/manual__2026-01-29T15%3A32%3A13%2B00%3A00/hitlDetails HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61608 - "GET /ui/grid/ti_summaries/test/manual__2026-01-29T15%3A18%3A03%2B00%3A00 HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61622 - "GET /ui/grid/ti_summaries/test/manual__2026-01-29T15%3A15%3A34%2B00%3A00 HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61610 - "GET /ui/grid/ti_summaries/test/manual__2026-01-29T15%3A05%3A42%2B00%3A00 HTTP/1.1" 200 OK
2026-01-29 16:33:59 INFO:     172.19.0.1:61596 - "GET /ui/grid/ti_summaries/test/manual__2026-01-29T13%3A18%3A39%2B00%3A00 HTTP/1.1" 200 OK
2026-01-29 16:34:02 INFO:     127.0.0.1:45266 - "GET /public/health HTTP/1.1" 200 OK
2026-01-29 16:34:02 INFO:     172.19.0.1:61596 - "POST /api/v2/dags/test/dagRuns HTTP/1.1" 200 OK
2026-01-29 16:34:02 INFO:     172.19.0.1:61596 - "GET /ui/grid/runs/test?limit=10&order_by=-run_after HTTP/1.1" 200 OK
2026-01-29 16:34:02 INFO:     172.19.0.1:61596 - "GET /api/v2/dags/test/dagRuns/manual__2026-01-29T15%3A34%3A01%2B00%3A00 HTTP/1.1" 200 OK
2026-01-29 16:34:02 INFO:     172.19.0.1:61610 - "GET /ui/grid/ti_summaries/test/manual__2026-01-29T15%3A34%3A01%2B00%3A00 HTTP/1.1" 200 OK
2026-01-29 16:34:02 INFO:     172.19.0.1:61608 - "GET /api/v2/dags/test/dagRuns/manual__2026-01-29T15%3A34%3A01%2B00%3A00/hitlDetails HTTP/1.1" 200 OK
2026-01-29 16:34:02 INFO:     172.19.0.1:61622 - "GET /api/v2/dags/test/dagRuns/manual__2026-01-29T15%3A34%3A01%2B00%3A00/taskInstances?limit=100&offset=0&order_by=-start_date&order_by=-run_after HTTP/1.1" 200 OK
2026-01-29 16:34:04 [2026-01-29T15:34:04.260279Z] {runners.py:118} WARNING - Executing <Task pending name='starlette.middleware.base.BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.coro' coro=<BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.coro() running at /home/airflow/.local/lib/python3.13/site-packages/starlette/middleware/base.py:144> cb=[TaskGroup._spawn.<locals>.task_done() at /home/airflow/.local/lib/python3.13/site-packages/anyio/_backends/_asyncio.py:805] created at /usr/python/lib/python3.13/asyncio/tasks.py:410> took 1.088 seconds
2026-01-29 16:34:04 Fatal Python error: Segmentation fault
2026-01-29 16:34:04 
2026-01-29 16:34:04 Thread 0x0000ffff6aa0f160 (most recent call first):
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/threading.py", line 359 in wait
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/queue.py", line 199 in get
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 975 in run
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/threading.py", line 1044 in _bootstrap_inner
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/threading.py", line 1015 in _bootstrap
2026-01-29 16:34:04 
2026-01-29 16:34:04 Thread 0x0000ffff6b40f160 (most recent call first):
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/threading.py", line 359 in wait
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/queue.py", line 199 in get
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 975 in run
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/threading.py", line 1044 in _bootstrap_inner
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/threading.py", line 1015 in _bootstrap
2026-01-29 16:34:04 
2026-01-29 16:34:04 Thread 0x0000ffff6be0f160 (most recent call first):
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/threading.py", line 359 in wait
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/queue.py", line 199 in get
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 975 in run
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/threading.py", line 1044 in _bootstrap_inner
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/threading.py", line 1015 in _bootstrap
2026-01-29 16:34:04 
2026-01-29 16:34:04 Thread 0x0000ffff70a0f160 (most recent call first):
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/threading.py", line 359 in wait
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/queue.py", line 199 in get
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 975 in run
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/threading.py", line 1044 in _bootstrap_inner
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/threading.py", line 1015 in _bootstrap
2026-01-29 16:34:04 
2026-01-29 16:34:04 Thread 0x0000ffff7140f160 (most recent call first):
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/threading.py", line 359 in wait
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/queue.py", line 199 in get
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 975 in run
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/threading.py", line 1044 in _bootstrap_inner
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/threading.py", line 1015 in _bootstrap
2026-01-29 16:34:04 
2026-01-29 16:34:04 Current thread 0x0000ffff852da020 (most recent call first):
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/traceback.py", line 389 in walk_stack
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/traceback.py", line 446 in extended_frame_gen
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/traceback.py", line 476 in _extract_from_extended_frame_gen
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/traceback.py", line 449 in extract
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/starlette/middleware/base.py", line 120 in wrap
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/starlette/middleware/base.py", line 125 in receive_or_disconnect
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/starlette/requests.py", line 227 in stream
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/fastapi/routing.py", line 257 in app
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/starlette/routing.py", line 75 in app
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42 in wrapped_app
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/starlette/routing.py", line 78 in app
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/starlette/routing.py", line 290 in handle
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/cadwyn/routing.py", line 131 in process_request
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/cadwyn/routing.py", line 93 in __call__
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42 in wrapped_app
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/starlette/middleware/exceptions.py", line 63 in __call__
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/starlette/middleware/base.py", line 144 in coro
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/asyncio/runners.py", line 118 in run
2026-01-29 16:34:04   File "/usr/python/lib/python3.13/asyncio/runners.py", line 195 in run
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/uvicorn/server.py", line 67 in run
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/uvicorn/main.py", line 594 in run
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/airflow/cli/commands/api_server_command.py", line 96 in _run_api_server
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/airflow/cli/commands/api_server_command.py", line 170 in <lambda>
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/airflow/cli/commands/daemon_utils.py", line 86 in run_command_with_daemon_option
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/airflow/cli/commands/api_server_command.py", line 167 in api_server
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/airflow/cli/commands/api_server_command.py", line 112 in wrapper
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/airflow/utils/providers_configuration_loader.py", line 54 in wrapped_function
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/airflow/utils/cli.py", line 114 in wrapper
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/airflow/cli/cli_config.py", line 49 in command
2026-01-29 16:34:04   File "/home/airflow/.local/lib/python3.13/site-packages/airflow/__main__.py", line 55 in main
2026-01-29 16:34:04   File "/home/airflow/.local/bin/airflow", line 7 in <module>
2026-01-29 16:34:04 
2026-01-29 16:34:04 Extension modules: yaml._yaml, sqlalchemy.cyextension.collections, sqlalchemy.cyextension.immutabledict, sqlalchemy.cyextension.processors, sqlalchemy.cyextension.resultproxy, sqlalchemy.cyextension.util, greenlet._greenlet, lazy_object_proxy.cext, psycopg2._psycopg, asyncpg.pgproto.pgproto, asyncpg.protocol.record, asyncpg.protocol.protocol, _cffi_backend, msgspec._core, tornado.speedups, markupsafe._speedups, lz4._version, lz4.frame._frame, multidict._multidict, yarl._quoting_c, propcache._helpers_c, aiohttp._http_writer, aiohttp._http_parser, aiohttp._websocket.mask, aiohttp._websocket.reader_c, frozenlist._frozenlist, setproctitle._setproctitle, psutil._psutil_linux, msgpack._cmsgpack, charset_normalizer.md, google._upb._message, grpc._cython.cygrpc, uvloop.loop, httptools.parser.parser, httptools.parser.url_parser, websockets.speedups (total: 36)

Operating System

MacOS with BUILD_AARCH64_DOCKER_IMAGE=true

Versions of Apache Airflow Providers

No response

Deployment

Docker-Compose

Deployment details

from apache/airflow:3.1.6-python3.13 AS base

with constraints "https://raw.githubusercontent.com/apache/airflow/constraints-3.1.6/constraints-3.13.txt"

Installing requirements:

apache-airflow-providers-standard==1.10.2
apache-airflow-providers-http==5.6.2
apache-airflow-providers-postgres==6.5.1
apache-airflow-providers-databricks==7.8.2
apache-airflow-providers-snowflake==6.8.1
apache-airflow-providers-cncf-kubernetes==10.9.0
apache-airflow-providers-microsoft-azure==12.10.1
pyiceberg==0.10.0
duckdb==1.4.3
colorama==0.4.6
kafka-python==2.3.0
ordered-set==4.1.0
astronomer-cosmos==1.12.1

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions