[New-bugs-announce] [issue42923] Py_FatalError(): dump the list of extension modules

STINNER Victor report at bugs.python.org
Wed Jan 13 05:50:13 EST 2021


New submission from STINNER Victor <vstinner at python.org>:

When Python cannot report an error and its is not possible to recover from the error, Py_FatalError() displays an error message and exit immediately Python.

It's common that Python crashes are coming from third party extension modules, rather than Python itself. Recent example: bpo-42891 crash reported in Python, but it was a bug in lsm-db third party extension module.

I propose to enhance Py_FatalError() to attempt to dump the list of extension modules, to ease debugging.

I'm working on a PR.

----------
components: Interpreter Core
messages: 385013
nosy: vstinner
priority: normal
severity: normal
status: open
title: Py_FatalError(): dump the list of extension modules
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42923>
_______________________________________


More information about the New-bugs-announce mailing list