-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
Closed
wolfi-dev/advisories
#8607Labels
topic-asynciotype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump
Description
First appeared in a474e04, where given function was introduced.
Repro:
import _asyncio
class DummyLoop:
pass
class DummyTask:
pass
l = DummyLoop()
_asyncio._swap_current_task(l, DummyTask())
t = _asyncio._swap_current_task(l, None)
Output:
Modules/gcmodule.c:461: visit_decref: Assertion "!_PyObject_IsFreed(op)" failed
Enable tracemalloc to get the memory block allocation traceback
object address : 0x7fedad081130
object refcount : 1
object type : 0x55f665a81fe0
object type name: dict
object repr : Segmentation fault (core dumped)
I'm working on a fix.
Linked PRs
Metadata
Metadata
Assignees
Labels
topic-asynciotype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump
Projects
Status
Done