[New-bugs-announce] [issue18447] Pydoc crashes on large contents

Torim report at bugs.python.org
Sun Jul 14 10:04:20 CEST 2013


New submission from Torim:

If invoking pydoc either from a system shell or as a help() method in an interactive Python interpreter, it crashes with SIGSEGV signal at exit.
It crashes only with larger documentation contents, smaller do work as expected.

Example with numpy module docs:
1. launch Python interactive interpreter with `python'
2. type `import numpy'
3. type `help(numpy)' # large help, displayed by PAGER environment variable or `more' if missing
4. press `q' to quit the help
5. SIGSEGV "Segmentation  fault" received, python interpreter crashes

Note: if you move in a documentation at the end (last line), you can then escape (quit) anywhere without a crash

----------
components: Library (Lib)
messages: 193037
nosy: torim
priority: normal
severity: normal
status: open
title: Pydoc crashes on large contents
type: crash
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18447>
_______________________________________


More information about the New-bugs-announce mailing list