[issue18356] help(numpy) causes segfault on exit

2018-02-22 Thread Cheryl Sabella
Cheryl Sabella added the comment: It appears that the suggested change from SO was implemented under issue23374 and issue23792. I cannot recreate this on Ubuntu 16.04, so closing as resolved. -- assignee: docs@python -> nosy: +csabella resolution: -> fixed stage:

[issue18356] help(numpy) causes segfault on exit

2013-07-15 Thread Torim
Torim added the comment: I would add even the linked solution from StackOverflow.com does not work reliably for me. Try to get at the end of numpy document - text vanishes and possibly lose chars displaying in terminal. Need to reset it. Modified pydoc's pipepager method this way: def

[issue18356] help(numpy) causes segfault on exit

2013-07-08 Thread Michelle Arzul
Michelle Arzul added the comment: This is what I get from gdb: marzul@Leeward:~$ gdb --args python test.py GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free

[issue18356] help(numpy) causes segfault on exit

2013-07-05 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18356 ___ ___ Python-bugs-list

[issue18356] help(numpy) causes segfault on exit

2013-07-05 Thread STINNER Victor
STINNER Victor added the comment: For a full trackdown and workaround of the problem see http://stackoverflow.com/questions/17344974/python-helpnumpy-causes-segfault-on-exit The gdb trace is not interesting because it stopped at SIGPIPE, which is not an error. Please rerun your program in

[issue18356] help(numpy) causes segfault on exit

2013-07-04 Thread Michelle Arzul
New submission from Michelle Arzul: As far as we could tell this bug is only consistently reproducible on Ubuntu 13.04. A line in pydoc.py causes a segfault when help(numpy) (no other libraries that I know of) exits. The offending method is pipepager(). For a full trackdown and workaround of

[issue18356] help(numpy) causes segfault on exit

2013-07-04 Thread Christian Heimes
Christian Heimes added the comment: Please provide more information about your setup. Not everybody has access to a Ubuntu 13.04 box * exact Python version * NumPy version * platform (X86, X86_64, ARM) * Kernel, libc and compiler version are useful, too * terminal application * environment

[issue18356] help(numpy) causes segfault on exit

2013-07-04 Thread Michelle Arzul
Michelle Arzul added the comment: I'm no expert, I just found the bug... but I'll try my best. * exact Python version: 2.7.4 (GCC 4.7.3) * NumPy version: 1.7.1 * platform (X86, X86_64, ARM): i686 * Kernel: Linux 3.8.0-25-generic #37-Ubuntu SMP Thu Jun 6 20:47:30 UTC 2013 i686 i686 i686

[issue18356] help(numpy) causes segfault on exit

2013-07-04 Thread R. David Murray
R. David Murray added the comment: pydoc doesn't do anything special other than import the module. Well, there's some special code in linecache for getting docstrings from C modules, I think, so that could be something to check. Does Ubuntu have local patches to numpy? -- nosy:

[issue18356] help(numpy) causes segfault on exit

2013-07-04 Thread Michelle Arzul
Michelle Arzul added the comment: Apparently it only occurs with the Ubuntu packaged versions of Python and numpy. Somebody who was able to reproduce my problem had it with python-2.7.4-0ubuntu1-amd64 and python-numpy-1:1.7.1-1ubuntu1-amd64 which exhibited the same behaviour. Apparently