[issue43664] Long computations in pdb.run() lead to segfault

Ronald Oussoren report at bugs.python.org
Fri Apr 2 06:24:09 EDT 2021


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

```pdb.run(...)``` is ends up in ```bdb.Bdb.run```, which uses compile and exec to run the code.

And indeed:

>>> compile("1+2" * 1000000, "-", "exec")
zsh: segmentation fault  python3.9

----------
components: +Interpreter Core
nosy: +ronaldoussoren

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


More information about the Python-bugs-list mailing list