Message402412
We have embedded Python in our application and we deinitialize/initialize the interpreter at some point of time. If a simple script with a thread that sleeps with asyncio.sleep is loaded before and after the re-initialization, then we get the following assertion in the second run of the python module:
"Assertion failed: Py_IS_TYPE(rl, &PyRunningLoopHolder_Type), file D:\a\1\s\Modules_asynciomodule.c, line 261"
Example to reproduce this crash: https://github.com/benjamin-sch/asyncio_crash_in_second_run |
|
Date |
User |
Action |
Args |
2021-09-22 08:32:26 | benjamin-sch | set | recipients:
+ benjamin-sch, asvetlov, yselivanov |
2021-09-22 08:32:26 | benjamin-sch | set | messageid: <1632299546.72.0.498896278525.issue45262@roundup.psfhosted.org> |
2021-09-22 08:32:26 | benjamin-sch | link | issue45262 messages |
2021-09-22 08:32:26 | benjamin-sch | create | |
|