[Ipython-tickets] [IPython] #143: Segmentation fault in iteritems() loop
IPython
ipython-tickets@scipy....
Tue Apr 24 10:44:43 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):
I'm running IPython on GNU/Linux.
I think this issue happens in every '''for''' loop. Tryied with IPython
0.8.0 on Python 2.5.1:
{{{
[nf 0 /tmp] $ ipython
**********************************************************************
Welcome to IPython. I will try to create a personal configuration
directory
where you can customize many aspects of IPython's functionality in:
/home/nf/.ipython
Successful installation!
Please read the sections 'Initial Configuration' and 'Quick Tips' in the
IPython manual (there are both HTML and PDF versions supplied with the
distribution) to make sure that your system environment is properly
configured
to take advantage of IPython's features.
Important note: the configuration system has changed! The old system is
still in place, but its setting may be partly overridden by the settings
in
"~/.ipython/ipy_user_conf.py" config file. Please take a look at the file
if some of the new settings bother you.
Please press <RETURN> to start IPython.
**********************************************************************
Python 2.5.1 (r251:54863, Apr 24 2007, 12:21:41)
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]: for i in range(0,10):
...: pass
*** glibc detected *** /usr/bin/python: free(): invalid pointer:
0xb7c52c40 ***
Aborted
}}}
But in Python interpreter, it works:
{{{
[nf 134 /tmp] $ python
Python 2.5.1 (r251:54863, Apr 24 2007, 12:21:41)
[GCC 4.1.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> for i in range(0,10):
... pass
...
>>>
}}}
well... I'll try debug the interpreter coredump...
[]s, Narcelio Filho
--
Ticket URL: <http://projects.scipy.org/ipython/ipython/ticket/143#comment:2>
IPython <http://ipython.scipy.org>
The IPython interactive Python system
More information about the Ipython-tickets
mailing list