[Ipython-tickets] [IPython] #143: Segmentation fault in iteritems() loop
IPython
ipython-tickets@scipy....
Tue Apr 24 23:13:05 CDT 2007
#143: Segmentation fault in iteritems() loop
---------------------+------------------------------------------------------
Reporter: nf | Owner: fperez
Type: defect | Status: new
Priority: normal | Milestone:
Component: ipython | Version:
Severity: normal | Resolution:
Keywords: |
---------------------+------------------------------------------------------
Comment (by nf):
Yeah, it looks like it is a python or readline bug:
{{{
[nf 0 /tmp] $ gdb /usr/bin/python
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db
library "/lib/libthread_db.so.1".
(gdb) run /usr/bin/ipython
Starting program: /usr/bin/python /usr/bin/ipython
[Thread debugging using libthread_db enabled]
[New Thread -1212139856 (LWP 10827)]
Python 2.5.1 (r251:54863, Apr 24 2007, 14:01:16)
Type "copyright", "credits" or "license" for more information.
IPython 0.8.0 -- An enhanced Interactive Python.
? -> Introduction to IPython's features.
%magic -> Information about IPython's 'magic' % functions.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]: def x():
...: pass
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1212139856 (LWP 10827)]
0xb7c721b7 in free () from /lib/libc.so.6
(gdb) bt
#0 0xb7c721b7 in free () from /lib/libc.so.6
#1 0xb7d40140 in __after_morecore_hook () from /lib/libc.so.6
#2 0x081a53f0 in ?? ()
#3 0xb78a3f98 in ?? () from /usr/lib/python2.5/lib-dynload/readline.so
#4 0xbfbf9790 in ?? ()
#5 0x00000000 in ?? ()
(gdb)
}}}
--
Ticket URL: <http://projects.scipy.org/ipython/ipython/ticket/143#comment:4>
IPython <http://ipython.scipy.org>
The IPython interactive Python system
More information about the Ipython-tickets
mailing list