-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
Closed as duplicate of#133932
Labels
topic-free-threadingtype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump
Description
Crash report
What happened?
import trio
async def main() -> None:
task = trio.lowlevel.current_task()
task._schedule_points = "hello!" # type: ignore
await trio.lowlevel.checkpoint()
trio.run(main)I reproduced using trio from source, but the version from PyPI (tested with v0.32.0) will work as well.
Note that using non-free-threading builds does not cause segfaults. This same reproducer used to segfault in #133932 but this new version doesn't even need GC to do so.
CPython versions tested on:
3.14
Operating systems tested on:
macOS
Output from running 'python -VV' on the command line:
Python 3.14.2 free-threading build (main, Dec 5 2025, 21:11:07) [Clang 21.1.4 ]
Metadata
Metadata
Assignees
Labels
topic-free-threadingtype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump