René's URL Explorer Experiment


Title: python3.14: occasional crashes with mypyc compiled code · Issue #21133 · python/mypy · GitHub

Open Graph Title: python3.14: occasional crashes with mypyc compiled code · Issue #21133 · python/mypy

X Title: python3.14: occasional crashes with mypyc compiled code · Issue #21133 · python/mypy

Description: Bug Report mypyc compiled modules sometimes segfault Here's one log (compiled using mypy 1.20.0) Fatal Python error: Segmentation fault Thread 0x00007f8e3a5ff6c0 [python] (most recent call first): File "/home/runner/work/schema_salad/sch...

Open Graph Description: Bug Report mypyc compiled modules sometimes segfault Here's one log (compiled using mypy 1.20.0) Fatal Python error: Segmentation fault Thread 0x00007f8e3a5ff6c0 [python] (most recent call first): ...

X Description: Bug Report mypyc compiled modules sometimes segfault Here's one log (compiled using mypy 1.20.0) Fatal Python error: Segmentation fault Thread 0x00007f8e3a5ff6c0 [python] (most recent call firs...

Opengraph URL: https://github.com/python/mypy/issues/21133

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"python3.14: occasional crashes with mypyc compiled code","articleBody":"**Bug Report**\n\n\n\nmypyc compiled modules sometimes segfault\n\n\u003cdetails>\u003csummary>Here's one log (compiled using mypy 1.20.0)\u003c/summary>\n\n\u003cp>\n\n```\n  Fatal Python error: Segmentation fault\n  \n  Thread 0x00007f8e3a5ff6c0 [python] (most recent call first):\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/execnet/gateway_base.py\", line 534 in read\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/execnet/gateway_base.py\", line 567 in from_io\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/execnet/gateway_base.py\", line 1160 in _thread_receiver\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/execnet/gateway_base.py\", line 341 in run\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/execnet/gateway_base.py\", line 411 in _perform_spawn\n  \n  Current thread 0x00007f8e3c032b80 [python] (most recent call first):\n    Garbage-collecting\n    File \"\u003cstring>\", line 2 in __init__\n    File \"/home/runner/work/schema_salad/schema_salad/schema_salad/tests/test_python_codegen.py\", line 68 in python_codegen\n    File \"/home/runner/work/schema_salad/schema_salad/schema_salad/tests/test_python_codegen.py\", line 36 in test_meta_schema_gen\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/_pytest/python.py\", line 166 in pytest_pyfunc_call\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/pluggy/_callers.py\", line 121 in _multicall\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/pluggy/_manager.py\", line 120 in _hookexec\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/pluggy/_hooks.py\", line 512 in __call__\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/_pytest/python.py\", line 1720 in runtest\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/_pytest/runner.py\", line 179 in pytest_runtest_call\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/pluggy/_callers.py\", line 121 in _multicall\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/pluggy/_manager.py\", line 120 in _hookexec\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/pluggy/_hooks.py\", line 512 in __call__\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/_pytest/runner.py\", line 245 in \u003clambda>\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/_pytest/runner.py\", line 353 in from_call\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/_pytest/runner.py\", line 244 in call_and_report\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/_pytest/runner.py\", line 137 in runtestprotocol\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/_pytest/runner.py\", line 118 in pytest_runtest_protocol\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/pluggy/_callers.py\", line 121 in _multicall\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/pluggy/_manager.py\", line 120 in _hookexec\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/pluggy/_hooks.py\", line 512 in __call__\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/xdist/remote.py\", line 227 in run_one_test\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/xdist/remote.py\", line 206 in pytest_runtestloop\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/pluggy/_callers.py\", line 121 in _multicall\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/pluggy/_manager.py\", line 120 in _hookexec\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/pluggy/_hooks.py\", line 512 in __call__\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/_pytest/main.py\", line 372 in _main\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/_pytest/main.py\", line 318 in wrap_session\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/_pytest/main.py\", line 365 in pytest_cmdline_main\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/pluggy/_callers.py\", line 121 in _multicall\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/pluggy/_manager.py\", line 120 in _hookexec\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/pluggy/_hooks.py\", line 512 in __call__\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/xdist/remote.py\", line 427 in \u003cmodule>\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/execnet/gateway_base.py\", line 1291 in executetask\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/execnet/gateway_base.py\", line 341 in run\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/execnet/gateway_base.py\", line 411 in _perform_spawn\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/execnet/gateway_base.py\", line 389 in integrate_as_primary_thread\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/execnet/gateway_base.py\", line 1273 in serve\n    File \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/execnet/gateway_base.py\", line 1806 in serve\n    File \"\u003cstring>\", line 8 in \u003cmodule>\n    File \"\u003cstring>\", line 1 in \u003cmodule>\n  \n  Current thread's C stack trace (most recent call first):\n    Binary file \"/opt/hostedtoolcache/Python/3.14.3/x64/lib/libpython3.14.so.1.0\", at _Py_DumpStack+0x47 [0x7f8e3bb6947e]\n    Binary file \"/opt/hostedtoolcache/Python/3.14.3/x64/lib/libpython3.14.so.1.0\", at +0x1724d4 [0x7f8e3bb724d4]\n    Binary file \"/lib/x86_64-linux-gnu/libc.so.6\", at +0x45330 [0x7f8e3b645330]\n    Binary file \"/opt/hostedtoolcache/Python/3.14.3/x64/lib/libpython3.14.so.1.0\", at +0x2489ab [0x7f8e3bc489ab]\n    Binary file \"/opt/hostedtoolcache/Python/3.14.3/x64/lib/libpython3.14.so.1.0\", at +0x1ecb19 [0x7f8e3bbecb19]\n    Binary file \"/opt/hostedtoolcache/Python/3.14.3/x64/lib/libpython3.14.so.1.0\", at +0x2e847f [0x7f8e3bce847f]\n    Binary file \"/opt/hostedtoolcache/Python/3.14.3/x64/lib/libpython3.14.so.1.0\", at _Py_HandlePending+0x38 [0x7f8e3bcea2f8]\n    Binary file \"/opt/hostedtoolcache/Python/3.14.3/x64/lib/libpython3.14.so.1.0\", at _PyEval_EvalFrameDefault+0xd71b [0x7f8e3bc3785b]\n    Binary file \"/opt/hostedtoolcache/Python/3.14.3/x64/lib/libpython3.14.so.1.0\", at +0x229112 [0x7f8e3bc29112]\n    Binary file \"/opt/hostedtoolcache/Python/3.14.3/x64/lib/libpython3.14.so.1.0\", at +0x1c658a [0x7f8e3bbc658a]\n    Binary file \"/opt/hostedtoolcache/Python/3.14.3/x64/lib/libpython3.14.so.1.0\", at +0x203513 [0x7f8e3bc03513]\n    Binary file \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/fd7dcdb10166ebd4db98__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_pytokens___Token+0x3b [0x7f8e336275db]\n    Binary file \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/fd7dcdb10166ebd4db98__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_pytokens___TokenIterator___make_token+0x478 [0x7f8e3362a248]\n    Binary file \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/fd7dcdb10166ebd4db98__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_pytokens___TokenIterator_____next__+0x38cb [0x7f8e3363b0ab]\n    Binary file \"/opt/hostedtoolcache/Python/3.14.3/x64/lib/libpython3.14.so.1.0\", at PyIter_Next+0x14 [0x7f8e3bbb9924]\n    Binary file \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/30fcd23745efe32ce681__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_tokenize___tokenize_gen_____mypyc_generator_helper__+0x119f [0x7f8e334d452f]\n    Binary file \"/opt/hostedtoolcache/Python/3.14.3/x64/lib/libpython3.14.so.1.0\", at +0x227c48 [0x7f8e3bc27c48]\n    Binary file \"/opt/hostedtoolcache/Python/3.14.3/x64/lib/libpython3.14.so.1.0\", at PyObject_Vectorcall+0x53 [0x7f8e3bbc5743]\n    Binary file \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/30fcd23745efe32ce681__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_driver___TokenProxy_____next__+0x427 [0x7f8e334954d7]\n    Binary file \"/opt/hostedtoolcache/Python/3.14.3/x64/lib/libpython3.14.so.1.0\", at PyIter_Next+0x14 [0x7f8e3bbb9924]\n    Binary file \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/30fcd23745efe32ce681__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_driver___Driver___parse_tokens+0x180b [0x7f8e334974cb]\n    Binary file \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/30fcd23745efe32ce681__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_driver___Driver___parse_string+0x4e [0x7f8e333f560e]\n    Binary file \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/30fcd23745efe32ce681__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_parsing___lib2to3_parse+0x534 [0x7f8e332ca524]\n    Binary file \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/30fcd23745efe32ce681__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_black____format_str_once+0x212 [0x7f8e332c7152]\n    Binary file \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/30fcd23745efe32ce681__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_black___format_str+0x9f [0x7f8e332c2d3f]\n    Binary file \"/home/runner/work/schema_salad/schema_salad/.tox/py314-mypy/lib/python3.14/site-packages/30fcd23745efe32ce681__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyPy_black___format_str+0x72 [0x7f8e332c9f92]\n    Binary file \"/opt/hostedtoolcache/Python/3.14.3/x64/lib/libpython3.14.so.1.0\", at PyObject_Vectorcall+0x53 [0x7f8e3bbc5743]\n    Binary file \"/home/runner/work/schema_salad/schema_salad/5df31530eea7292b5dae__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_python_codegen___fmt+0x249 [0x7f8e382cb559]\n    Binary file \"/home/runner/work/schema_salad/schema_salad/5df31530eea7292b5dae__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_python_codegen___PythonCodeGen___end_class+0x443 [0x7f8e382ed253]\n    Binary file \"/home/runner/work/schema_salad/schema_salad/5df31530eea7292b5dae__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_codegen___codegen+0xc43c [0x7f8e383abd8c]\n    Binary file \"/home/runner/work/schema_salad/schema_salad/5df31530eea7292b5dae__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyPy_codegen___codegen+0x2aa [0x7f8e383ae95a]\n    Binary file \"/opt/hostedtoolcache/Python/3.14.3/x64/lib/libpython3.14.so.1.0\", at PyObject_Vectorcall+0x53 [0x7f8e3bbc5743]\n    \u003ctruncated rest of calls>\n  \n  Extension modules: schema_salad, schema_salad.utils, charset_normalizer.md, charset_normalizer.cd, requests.packages.charset_normalizer.md, requests.packages.chardet.md, requests.packages.charset_normalizer.cd, requests.packages.chardet.cd, schema_salad.jsonld_context, schema_salad.sourceline, schema_salad.ref_resolver, msgpack._cmsgpack, schema_salad.validate, schema_salad.avro, schema_salad.avro.schema, schema_salad.schema, schema_salad.codegen, schema_salad.codegen_base, schema_salad.cpp_codegen, schema_salad.dlang_codegen, schema_salad.dotnet_codegen, schema_salad.java_codegen, schema_salad.python_codegen, black.const, black.mode, black.cache, black._width_table, blib2to3.pgen2.token, blib2to3.pgen2.grammar, blib2to3.pytree, black.strings, pytokens, blib2to3.pgen2.tokenize, blib2to3.pgen2.parse, blib2to3.pgen2.pgen, blib2to3.pgen2.driver, blib2to3.pygram, black.nodes, black.comments, black.handle_ipynb_magics, black.brackets, black.lines, black.numerics, black.rusty, black.trans, black.linegen, black.parsing, black.ranges, black, schema_salad.typescript_codegen, schema_salad.makedoc, schema_salad.main (total: 52)\n```\n\n\u003c/p>\n\u003c/details> \n\n\u003chttps://github.com/common-workflow-language/schema_salad/actions/runs/23838170994/job/69486866159#step:6:607>\n\n\u003cdetails>\u003csummary>I've also seen it from a mypy 1.19.x compiled package, on Debian's CI\u003c/summary>\n\u003cp>\n\n```\nFatal Python error: Segmentation fault\n116s \n116s Thread 0x00007f428ac5d6c0 [python3.14] (most recent call first):\n116s   File \"/usr/lib/python3/dist-packages/execnet/gateway_base.py\", line 534 in read\n116s   File \"/usr/lib/python3/dist-packages/execnet/gateway_base.py\", line 567 in from_io\n116s   File \"/usr/lib/python3/dist-packages/execnet/gateway_base.py\", line 1160 in _thread_receiver\n116s   File \"/usr/lib/python3/dist-packages/execnet/gateway_base.py\", line 341 in run\n116s   File \"/usr/lib/python3/dist-packages/execnet/gateway_base.py\", line 411 in _perform_spawn\n116s \n116s Current thread 0x00007f428bc59200 [python3.14] (most recent call first):\n116s   Garbage-collecting\n116s   File \"\u003cstring>\", line 2 in __init__\n116s   File \"/usr/lib/python3/dist-packages/schema_salad/tests/test_python_codegen.py\", line 68 in python_codegen\n116s   File \"/usr/lib/python3/dist-packages/schema_salad/tests/test_python_codegen.py\", line 81 in test_default_parser_info\n116s   File \"/usr/lib/python3/dist-packages/_pytest/python.py\", line 166 in pytest_pyfunc_call\n116s   File \"/usr/lib/python3/dist-packages/pluggy/_callers.py\", line 121 in _multicall\n116s   File \"/usr/lib/python3/dist-packages/pluggy/_manager.py\", line 120 in _hookexec\n116s   File \"/usr/lib/python3/dist-packages/pluggy/_hooks.py\", line 512 in __call__\n116s   File \"/usr/lib/python3/dist-packages/_pytest/python.py\", line 1720 in runtest\n116s   File \"/usr/lib/python3/dist-packages/_pytest/runner.py\", line 179 in pytest_runtest_call\n116s   File \"/usr/lib/python3/dist-packages/pluggy/_callers.py\", line 121 in _multicall\n116s   File \"/usr/lib/python3/dist-packages/pluggy/_manager.py\", line 120 in _hookexec\n116s   File \"/usr/lib/python3/dist-packages/pluggy/_hooks.py\", line 512 in __call__\n116s   File \"/usr/lib/python3/dist-packages/_pytest/runner.py\", line 245 in \u003clambda>\n116s   File \"/usr/lib/python3/dist-packages/_pytest/runner.py\", line 353 in from_call\n116s   File \"/usr/lib/python3/dist-packages/_pytest/runner.py\", line 244 in call_and_report\n116s   File \"/usr/lib/python3/dist-packages/_pytest/runner.py\", line 137 in runtestprotocol\n116s   File \"/usr/lib/python3/dist-packages/_pytest/runner.py\", line 118 in pytest_runtest_protocol\n116s   File \"/usr/lib/python3/dist-packages/pluggy/_callers.py\", line 121 in _multicall\n116s   File \"/usr/lib/python3/dist-packages/pluggy/_manager.py\", line 120 in _hookexec\n116s   File \"/usr/lib/python3/dist-packages/pluggy/_hooks.py\", line 512 in __call__\n116s   File \"/usr/lib/python3/dist-packages/xdist/remote.py\", line 227 in run_one_test\n116s   File \"/usr/lib/python3/dist-packages/xdist/remote.py\", line 206 in pytest_runtestloop\n116s   File \"/usr/lib/python3/dist-packages/pluggy/_callers.py\", line 121 in _multicall\n116s   File \"/usr/lib/python3/dist-packages/pluggy/_manager.py\", line 120 in _hookexec\n116s   File \"/usr/lib/python3/dist-packages/pluggy/_hooks.py\", line 512 in __call__\n116s   File \"/usr/lib/python3/dist-packages/_pytest/main.py\", line 372 in _main\n116s   File \"/usr/lib/python3/dist-packages/_pytest/main.py\", line 318 in wrap_session\n116s   File \"/usr/lib/python3/dist-packages/_pytest/main.py\", line 365 in pytest_cmdline_main\n116s   File \"/usr/lib/python3/dist-packages/pluggy/_callers.py\", line 121 in _multicall\n116s   File \"/usr/lib/python3/dist-packages/pluggy/_manager.py\", line 120 in _hookexec\n116s   File \"/usr/lib/python3/dist-packages/pluggy/_hooks.py\", line 512 in __call__\n116s   File \"/usr/lib/python3/dist-packages/xdist/remote.py\", line 427 in \u003cmodule>\n116s   File \"/usr/lib/python3/dist-packages/execnet/gateway_base.py\", line 1291 in executetask\n116s   File \"/usr/lib/python3/dist-packages/execnet/gateway_base.py\", line 341 in run\n116s   File \"/usr/lib/python3/dist-packages/execnet/gateway_base.py\", line 411 in _perform_spawn\n116s   File \"/usr/lib/python3/dist-packages/execnet/gateway_base.py\", line 389 in integrate_as_primary_thread\n116s   File \"/usr/lib/python3/dist-packages/execnet/gateway_base.py\", line 1273 in serve\n116s   File \"/usr/lib/python3/dist-packages/execnet/gateway_base.py\", line 1806 in serve\n116s   File \"\u003cstring>\", line 8 in \u003cmodule>\n116s   File \"\u003cstring>\", line 1 in \u003cmodule>\n116s \n116s Current thread's C stack trace (most recent call first):\n116s   Binary file \"/usr/bin/python3.14\", at _Py_DumpStack+0x4a [0x471b87]\n116s   Binary file \"/usr/bin/python3.14\" [0x4f935c]\n116s   Binary file \"/usr/lib/x86_64-linux-gnu/libc.so.6\", at +0x40a70 [0x7f428bc9aa70]\n116s   Binary file \"/usr/bin/python3.14\" [0x5f881c]\n116s   Binary file \"/usr/bin/python3.14\" [0x613b66]\n116s   Binary file \"/usr/bin/python3.14\" [0x612b6a]\n116s   Binary file \"/usr/bin/python3.14\" [0x557bb0]\n116s   Binary file \"/usr/bin/python3.14\", at _Py_HandlePending+0x3b [0x67baab]\n116s   Binary file \"/usr/bin/python3.14\", at _PyEval_EvalFrameDefault+0xeab2 [0x551732]\n116s   Binary file \"/usr/bin/python3.14\" [0x581384]\n116s   Binary file \"/usr/bin/python3.14\" [0x52cbbe]\n116s   Binary file \"/usr/bin/python3.14\" [0x589d9c]\n116s   Binary file \"/usr/lib/python3/dist-packages/fd7dcdb10166ebd4db98__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_pytokens___Token+0x3f [0x7f428827b54f]\n116s   Binary file \"/usr/lib/python3/dist-packages/fd7dcdb10166ebd4db98__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_pytokens___TokenIterator___make_token+0x4ea [0x7f428827e57a]\n116s   Binary file \"/usr/lib/python3/dist-packages/fd7dcdb10166ebd4db98__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_pytokens___TokenIterator_____next__+0x3467 [0x7f428828f307]\n116s   Binary file \"/usr/bin/python3.14\", at PyIter_Next+0x12 [0x521db2]\n116s   Binary file \"/usr/lib/python3/dist-packages/fec286f4eda846987175__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_tokenize___tokenize_gen_____mypyc_generator_helper__+0x420 [0x7f4283f082d0]\n116s   Binary file \"/usr/bin/python3.14\" [0x60e1bd]\n116s   Binary file \"/usr/bin/python3.14\", at PyObject_Vectorcall+0x32 [0x52b902]\n116s   Binary file \"/usr/lib/python3/dist-packages/fec286f4eda846987175__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_driver___TokenProxy_____next__+0x1d2 [0x7f4283d39492]\n116s   Binary file \"/usr/bin/python3.14\", at PyIter_Next+0x12 [0x521db2]\n116s   Binary file \"/usr/lib/python3/dist-packages/fec286f4eda846987175__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_driver___Driver___parse_tokens+0xb60 [0x7f4283ef3290]\n116s   Binary file \"/usr/lib/python3/dist-packages/fec286f4eda846987175__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_driver___Driver___parse_string+0x4d [0x7f4283f0e20d]\n116s   Binary file \"/usr/lib/python3/dist-packages/fec286f4eda846987175__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_parsing___lib2to3_parse+0x1c6 [0x7f4283f0e476]\n116s   Binary file \"/usr/lib/python3/dist-packages/fec286f4eda846987175__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_black____format_str_once+0xe3 [0x7f4283f10a53]\n116s   Binary file \"/usr/lib/python3/dist-packages/fec286f4eda846987175__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_black___format_str+0x50 [0x7f4283f12850]\n116s   Binary file \"/usr/lib/python3/dist-packages/fec286f4eda846987175__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyPy_black___format_str+0x7c [0x7f4283f12cac]\n116s   Binary file \"/usr/bin/python3.14\", at PyObject_Vectorcall+0x32 [0x52b902]\n116s   Binary file \"/usr/lib/python3/dist-packages/5df31530eea7292b5dae__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_python_codegen___fmt+0x24c [0x7f428912f66c]\n116s   Binary file \"/usr/lib/python3/dist-packages/5df31530eea7292b5dae__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_python_codegen___PythonCodeGen___begin_class+0x117 [0x7f428914e647]\n116s   Binary file \"/usr/lib/python3/dist-packages/5df31530eea7292b5dae__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyDef_codegen___codegen+0xdc76 [0x7f428920ece6]\n116s   Binary file \"/usr/lib/python3/dist-packages/5df31530eea7292b5dae__mypyc.cpython-314-x86_64-linux-gnu.so\", at CPyPy_codegen___codegen+0x2ca [0x7f428920f78a]\n116s   \u003ctruncated rest of calls>\n116s \n117s Extension modules: schema_salad, _ruamel_yaml, charset_normalizer.md, schema_salad.utils, schema_salad.sourceline, schema_salad.jsonld_context, msgpack._cmsgpack, schema_salad.ref_resolver, schema_salad.avro., schema_salad.avro.schema, schema_salad.validate, schema_salad.schema, schema_salad.codegen_base, schema_salad.cpp_codegen, schema_salad.dlang_codegen, schema_salad.java_codegen, schema_salad.dotnet_codegen, _black_version, black.const, black.mode, black.cache, black._width_table, blib2to3.pgen2.token, blib2to3.pgen2.grammar, blib2to3.pytree, black.strings, pytokens, blib2to3.pgen2.tokenize, blib2to3.pgen2.parse, blib2to3.pgen2.pgen, blib2to3.pgen2.driver, blib2to3.pygram, black.nodes, black.comments, black.handle_ipynb_magics, black.brackets, black.lines, black.numerics, black.rusty, black.trans, black.linegen, black.parsing, black.ranges, black, schema_salad.python_codegen, schema_salad.typescript_codegen, schema_salad.codegen, schema_salad.makedoc, schema_salad.main (total: 49)\n\n```\n\n\u003c/p>\n\u003c/details> \n\n\u003chttps://ci.debian.net/packages/p/python-schema-salad/unstable/amd64/69657169/>\n\nNever an issue with Python 3.13.x\n","author":{"url":"https://github.com/mr-c","@type":"Person","name":"mr-c"},"datePublished":"2026-04-01T08:58:27Z","url":"https://github.com/python/mypy/issues/21133"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4c6a7b15-d59e-e043-ec16-7954036b1909
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD2F4:1BCD46:3C30CF:50F5E9:6B002ABC
html-safe-noncee020b39f74e4140a78e0925da3aeb0eb7d5a4680a53827cae3e36200a57d4d7d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkY0OjFCQ0Q0NjozQzMwQ0Y6NTBGNUU5OjZCMDAyQUJDIiwidmlzaXRvcl9pZCI6IjE1MjI1NzU5MzI2ODA4NDE5MTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5150bb7fa43f29e19f4a7448beaac845c77fc0e61d4b3097207a62db74a2853c
hovercard-subject-tagissue:4185309327
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/mypy/21133/issue_layout
twitter:imagehttps://opengraph.githubassets.com/53864316ed74f82613ac0012c85e2c9c9545fcb6ea328c89579d6160b6611fbf/python/mypy/issues/21133
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/53864316ed74f82613ac0012c85e2c9c9545fcb6ea328c89579d6160b6611fbf/python/mypy/issues/21133
og:image:altBug Report mypyc compiled modules sometimes segfault Here's one log (compiled using mypy 1.20.0) Fatal Python error: Segmentation fault Thread 0x00007f8e3a5ff6c0 [python] (most recent call first): ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemr-c
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
turbo-cache-controlno-preview
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/mypy/issues/21133#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fissues%2F21133
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fissues%2F21133
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fmypy
Reloadhttps://github.com/python/mypy/issues/21133
Reloadhttps://github.com/python/mypy/issues/21133
Reloadhttps://github.com/python/mypy/issues/21133
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests547 (547)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/21133
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/21133
#21290https://github.com/python/mypy/pull/21290
python3.14: occasional crashes with mypyc compiled codehttps://github.com/python/mypy/issues/21133#top
#21290https://github.com/python/mypy/pull/21290
https://github.com/p-sawicki
bugmypy got something wronghttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22bug%22
priority-0-highhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22priority-0-high%22
topic-mypycmypyc bugshttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-mypyc%22
https://github.com/mr-c
mr-chttps://github.com/mr-c
on Apr 1, 2026https://github.com/python/mypy/issues/21133#issue-4185309327
https://github.com/common-workflow-language/schema_salad/actions/runs/23838170994/job/69486866159#step:6:607https://github.com/common-workflow-language/schema_salad/actions/runs/23838170994/job/69486866159#step:6:607
https://ci.debian.net/packages/p/python-schema-salad/unstable/amd64/69657169/https://ci.debian.net/packages/p/python-schema-salad/unstable/amd64/69657169/
mr-chttps://github.com/mr-c
bugmypy got something wronghttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22bug%22
on Apr 1, 2026https://github.com/python/mypy/issues/21133#event-24104235332
mr-chttps://github.com/mr-c
on Apr 1, 2026https://github.com/python/mypy/issues/21133#event-24121596811
hauntsaninjahttps://github.com/hauntsaninja
priority-0-highhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22priority-0-high%22
on Apr 1, 2026https://github.com/python/mypy/issues/21133#event-24124389869
https://github.com/bjorndbuilder
bjorndbuilderhttps://github.com/bjorndbuilder
on Apr 3, 2026https://github.com/python/mypy/issues/21133#issuecomment-4182049588
https://github.com/mr-c
mr-chttps://github.com/mr-c
on Apr 3, 2026https://github.com/python/mypy/issues/21133#issuecomment-4183208660
@hauntsaninjahttps://github.com/hauntsaninja
https://github.com/mr-c
mr-chttps://github.com/mr-c
on Apr 3, 2026https://github.com/python/mypy/issues/21133#issuecomment-4183220687
@bjorndbuilderhttps://github.com/bjorndbuilder
#21136https://github.com/python/mypy/issues/21136
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
on Apr 3, 2026https://github.com/python/mypy/issues/21133#issuecomment-4184563928
https://github.com/mr-c
mr-chttps://github.com/mr-c
on Apr 4, 2026https://github.com/python/mypy/issues/21133#issuecomment-4186882256
@hauntsaninjahttps://github.com/hauntsaninja
https://github.com/mr-c
mr-chttps://github.com/mr-c
on Apr 6, 2026https://github.com/python/mypy/issues/21133#issuecomment-4191996952
@hauntsaninjahttps://github.com/hauntsaninja
https://github.com/mr-c
mr-chttps://github.com/mr-c
on Apr 14, 2026https://github.com/python/mypy/issues/21133#issuecomment-4242596682
mr-chttps://github.com/mr-c
on Apr 16, 2026https://github.com/python/mypy/issues/21133#event-24571151063
turn off mypyc until python/mypy#21133 is fixedhttps://github.com/regro-cf-autotick-bot/schema-salad-feedstock/commit/586f3d0db9c48395905f3740cfd9cc782b404bc3
python/mypy#21133https://github.com/python/mypy/issues/21133
586f3d0https://github.com/regro-cf-autotick-bot/schema-salad-feedstock/commit/586f3d0db9c48395905f3740cfd9cc782b404bc3
https://github.com/mr-c
mr-chttps://github.com/mr-c
on Apr 16, 2026https://github.com/python/mypy/issues/21133#issuecomment-4260984018
psf/black#5071https://github.com/psf/black/pull/5071
p-sawickihttps://github.com/p-sawicki
on Apr 16, 2026https://github.com/python/mypy/issues/21133#event-24573547061
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
on Apr 16, 2026https://github.com/python/mypy/issues/21133#issuecomment-4262792780
ModuleNotFoundError: No module named 'black.output'; 'black' is not a packagehttps://github.com/psf/black/actions/runs/23933086642/job/69803937853?pr=5071
#21101https://github.com/python/mypy/pull/21101
@JukkaLhttps://github.com/JukkaL
ilevkivskyihttps://github.com/ilevkivskyi
topic-mypycmypyc bugshttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-mypyc%22
on Apr 20, 2026https://github.com/python/mypy/issues/21133#event-24690667354
https://github.com/p-sawicki
p-sawickihttps://github.com/p-sawicki
on Apr 21, 2026https://github.com/python/mypy/issues/21133#issuecomment-4289780560
@mr-chttps://github.com/mr-c
https://github.com/mr-c
mr-chttps://github.com/mr-c
on Apr 21, 2026https://github.com/python/mypy/issues/21133#issuecomment-4290848266
@p-sawickihttps://github.com/p-sawicki
#21133 (comment)https://github.com/python/mypy/issues/21133#issuecomment-4186882256
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
on Apr 21, 2026https://github.com/python/mypy/issues/21133#issuecomment-4291540142
https://github.com/mr-c
mr-chttps://github.com/mr-c
on Apr 22, 2026https://github.com/python/mypy/issues/21133#issuecomment-4294500770
@hauntsaninjahttps://github.com/hauntsaninja
https://github.com/mr-c
mr-chttps://github.com/mr-c
on Apr 22, 2026https://github.com/python/mypy/issues/21133#issuecomment-4294616463
https://github.com/p-sawicki
p-sawickihttps://github.com/p-sawicki
on Apr 22, 2026https://github.com/python/mypy/issues/21133#issuecomment-4295680033
p-sawickihttps://github.com/p-sawicki
completedhttps://github.com/python/mypy/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#21290https://github.com/python/mypy/pull/21290
on Apr 23, 2026https://github.com/python/mypy/issues/21133#event-24799382548
p-sawickihttps://github.com/p-sawicki
on Apr 23, 2026https://github.com/python/mypy/issues/21133#event-24799382561
[mypyc] Generate more type methods for types with managed dicts (#21290)https://github.com/python/mypy/commit/c56ab5857047edac41db0826b2f83c5a3d476bc0
#21290https://github.com/python/mypy/pull/21290
https://docs.github.com/articles/closing-issues-via-commit-messages
c56ab58https://github.com/python/mypy/commit/c56ab5857047edac41db0826b2f83c5a3d476bc0
https://github.com/mr-c
mr-chttps://github.com/mr-c
on Apr 23, 2026https://github.com/python/mypy/issues/21133#issuecomment-4305329878
c56ab58https://github.com/python/mypy/commit/c56ab5857047edac41db0826b2f83c5a3d476bc0
@p-sawickihttps://github.com/p-sawicki
mr-chttps://github.com/mr-c
on Apr 25, 2026https://github.com/python/mypy/issues/21133#event-24864323159
re-enable mypyc on Python << 3.14 due to python/mypy#21133https://github.com/common-workflow-language/schema_salad/commit/5e48af8c048608cebf67f45af758b6597902b8a4
python/mypy#21133https://github.com/python/mypy/issues/21133
5e48af8https://github.com/common-workflow-language/schema_salad/commit/5e48af8c048608cebf67f45af758b6597902b8a4
re-enable mypyc on Python << 3.14 due to python/mypy#21133https://github.com/common-workflow-language/schema_salad/commit/727c05963bcaf32109164cd934d275969be298c4
python/mypy#21133https://github.com/python/mypy/issues/21133
727c059https://github.com/common-workflow-language/schema_salad/commit/727c05963bcaf32109164cd934d275969be298c4
re-enable mypyc on Python << 3.14 due to python/mypy#21133https://github.com/common-workflow-language/schema_salad/commit/b0ce83a2a55fc7d1d43d307000f91071b15c0e4c
python/mypy#21133https://github.com/python/mypy/issues/21133
b0ce83ahttps://github.com/common-workflow-language/schema_salad/commit/b0ce83a2a55fc7d1d43d307000f91071b15c0e4c
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/mypy/issues/21133
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/mypy/issues/21133
p-sawickihttps://github.com/p-sawicki
bugmypy got something wronghttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22bug%22
priority-0-highhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22priority-0-high%22
topic-mypycmypyc bugshttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-mypyc%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.