[docs] [issue18356] help(numpy) causes segfault on exit

Michelle Arzul report at bugs.python.org
Mon Jul 8 10:50:22 CEST 2013


Michelle Arzul added the comment:

This is what I get from gdb:

marzul at 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 software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python2.7...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/python2.7 test.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".

Program received signal SIGPIPE, Broken pipe.
0xb7fdd424 in __kernel_vsyscall ()
(gdb) cont
Continuing.

Program received signal SIGPIPE, Broken pipe.
0xb7fdd424 in __kernel_vsyscall ()
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0xb7e518fc in ?? () from /lib/i386-linux-gnu/libc.so.6
(gdb) cont
Continuing.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) run
Starting program: /usr/bin/python2.7 test.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".

Program received signal SIGPIPE, Broken pipe.
0xb7fdd424 in __kernel_vsyscall ()
(gdb) cont
Continuing.

Program received signal SIGPIPE, Broken pipe.
0xb7fdd424 in __kernel_vsyscall ()
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0xb7e518fc in ?? () from /lib/i386-linux-gnu/libc.so.6
(gdb) where
#0  0xb7e518fc in ?? () from /lib/i386-linux-gnu/libc.so.6
#1  0xb7e45e7c in _IO_default_xsputn () from /lib/i386-linux-gnu/libc.so.6
#2  0xb7e443a1 in _IO_file_xsputn () from /lib/i386-linux-gnu/libc.so.6
#3  0xb7e39025 in fwrite () from /lib/i386-linux-gnu/libc.so.6
#4  0x080ac05b in ?? ()
#5  0x080b6bde in PyEval_EvalFrameEx ()
#6  0x080b71c0 in PyEval_EvalFrameEx ()
#7  0x0811f939 in PyEval_EvalCodeEx ()
#8  0x080b80d4 in PyEval_EvalFrameEx ()
#9  0x080b71c0 in PyEval_EvalFrameEx ()
#10 0x0811f939 in PyEval_EvalCodeEx ()
#11 0x080b7265 in PyEval_EvalFrameEx ()
#12 0x080b71c0 in PyEval_EvalFrameEx ()
#13 0x0811f939 in PyEval_EvalCodeEx ()
#14 0x081203ee in ?? ()
#15 0x080e11f9 in ?? ()
#16 0x080e3daf in PyObject_Call ()
#17 0x08129483 in ?? ()
#18 0x080b8a3e in PyEval_EvalFrameEx ()
#19 0x0811f939 in PyEval_EvalCodeEx ()
#20 0x0812029e in ?? ()
#21 0x080e11f9 in ?? ()
#22 0x080e3daf in PyObject_Call ()
---Type <return> to continue, or q <return> to quit---
#23 0x0816dd88 in ?? ()
#24 0x080b7615 in PyEval_EvalFrameEx ()
#25 0x0811f939 in PyEval_EvalCodeEx ()
#26 0x081836c7 in PyEval_EvalCode ()
#27 0x08183b7d in ?? ()
#28 0x080a6032 in PyRun_FileExFlags ()
#29 0x080a65f8 in PyRun_SimpleFileExFlags ()
#30 0x080a74af in Py_Main ()
#31 0x080a7581 in main ()
(gdb)

----------

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


More information about the docs mailing list