New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash on tab completion #189
Comments
This is not an ipython bug, but likely a bug in the readline/libedit library in your system. IPython has no C code at all in it, so it can't really cause directly this kind of C-level error. But we've seen in the past bugs in readline, especially with respect to threads, that causes these. Unfortunately you'll have to track it down with Python/readline directly, I'm afraid... |
Closing this, as it's not an issue we can address from the IPython side. |
while it might not be an issue that can be fixed in python code, it is an issue that ipython sometimes ends up linking itself to libraries that crash... I just did a pip install ipython on a new machine, and it worked fine until I tried to tab complete - then it explodes every time. perhaps someone could give me a little guidance on how to identify the offending readline (actually "Leopard libedit detected.") library, and perhaps how to induce ipython into linking itself against something that works, would be stellar... thanks :-) |
@evilrob666 have you tried "pip install readline"? That usually removes the "Leopard libedit detected" message for me on Mac. You may also need to "pip install pyreadline" but I can't remember exactly. Try the first one and then the second if it's still not working...HTH |
Added standard IPy header to globalconfig
The following makes ipython crash on my computer:
In [1]: import numpy
In [2]: numpy.s <press TAB>
right next to the last text ("numpy.s") I get:
python(53854,0x7fff70cb7c20) malloc: *** error for object 0x10195f8e0: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
Abort trap
I'm running ipython v0.10.1 with python v2.6.1 on a MacBook with OS X .6.4 (Snow Leopard)
The text was updated successfully, but these errors were encountered: