STINNER Victor <vstin...@redhat.com> added the comment: Attached bug.py reproduces the bug with a daemonic thread but without fork():
$ ./python bug.py ls coredpython: Python/pystate.c:589: PyThreadState_Clear: Assertion `tstate->exc_info->previous_item == NULL' failed. Aborted (core dumped) (You might have to run the script a few times to get the crash, it's not deterministic.) ---------- Added file: https://bugs.python.org/file47611/bug.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33613> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com