This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Pydoc crashes on large contents
Type: crash Stage: resolved
Components: Library (Lib) Versions: Python 2.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder: help(numpy) causes segfault on exit
View: 18356
Assigned To: Nosy List: ned.deily, torim
Priority: normal Keywords:

Created on 2013-07-14 08:04 by torim, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg193037 - (view) Author: Torim (torim) Date: 2013-07-14 08:04
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
msg193039 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2013-07-14 08:29
What platform and what versions of python and numpy are you using?  I'm not able to reproduce a crash.  But there is another report (Issue18356) about such a crash using Ubuntu 13.04. If that's what you are using, we will mark this as a duplicate.
msg193043 - (view) Author: Torim (torim) Date: 2013-07-14 09:48
Python 2.7.5
numpy 1.7.1
platform: Linux x86_64
msg193044 - (view) Author: Torim (torim) Date: 2013-07-14 09:57
I'd agree, it looks like a duplicate of <a href=http://bugs.python.org/issue18356>Issue18356</a> .
History
Date User Action Args
2022-04-11 14:57:48adminsetgithub: 62647
2013-07-14 19:17:54ned.deilysetstatus: open -> closed
superseder: help(numpy) causes segfault on exit
resolution: duplicate
stage: resolved
2013-07-14 09:57:49torimsetmessages: + msg193044
2013-07-14 09:48:08torimsetmessages: + msg193043
2013-07-14 08:29:19ned.deilysetnosy: + ned.deily
messages: + msg193039
2013-07-14 08:04:20torimcreate