-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Python segfaults when printing array in IPython #3962
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
Comments
6d6dc6d ; only in master, not in 1.8.x |
Works here:
Python 2.7, Fedora 19 x86_64. |
My guess is that it has something to do with newer Ipython versions (under certain settings) calling some own ufuncs for printing. Maybe @juliantaylor has a quick idea whats going on, I bet it just a missing NULL check. |
if one disables setting the default errobj (or somehow manages to set it to NULL?) it crashes, |
As I said before, it does the same thing with the debian packaged IPython 0.13.2-2 |
I just checked out master and built from source, installed... I get the same segfault in ipython using pandas. |
whats the output of:
|
'1.9.0.dev-54d3559' |
thats a commit before this issue was fixed, please update to the latest head and try again. |
That commit looks like just before the fix was merged. |
I have 'git pull origin master' on the master branch from https://github.com/numpy/numpy.git What other mechanism is there to get to the latest commit? |
What does |
That looks good. Hmm... have you reinstalled after the pull? |
The pull did nothing, I already had the latest. I'll try reinstalling again... still get version '1.9.0.dev-54d3559' |
And what is the first commit shown by |
It is |
How are you installing? |
It is '0ddb6d19cbddee3fae6a0dc8ba5e1151a0d5f553' python setup.py build I don't see the commit looking at the numpy home page. Do you? |
I think it is this one
I wonder if you have done an inplace install at some point? Might try |
I get
I'm pretty sure you are just loading numpy from the wrong path. |
Is there a way for me to figure out whats wrong/where the stale numpy is? Weird that it is a dev version, and I only coulda installed that via the checkout, which is at HEAD? |
|
print numpy.version Thanks, I had like 5 numpy's installed. Deleted them all, reinstalled, now I get this :) And the issue is fixed! |
how can i specifically pull the 1.9.0.dev-0ddb6d1 branch? |
Either |
Then you'll need to uninstall numpy (do this first, and make sure import On Mon, Nov 4, 2013 at 3:43 PM, Charles Harris [email protected]:
Russell Jurney twitter.com/rjurney [email protected] datasyndrome.com |
I like to do |
thanks, solved. it seems like the numpy that's in the scipy superpack is plagued with the error. blowing that copy away and pulling from the numpy repo fixes the pandas.read_csv(). |
Scipy or Numpy superpack? What version and where did you get it? |
Believe he means this thing http://fonnesbeck.github.io/ScipySuperpack/ On Mon, Nov 4, 2013 at 8:29 PM, Charles Harris [email protected]:
Russell Jurney twitter.com/rjurney [email protected] datasyndrome.com |
The code
causes a segfault when run in IPython.
This appears to be caused by numpy/core/src/umath/ufunc_object.c line 272:
where _extract_pyvals begins
specifically, the *errobj line causes the segfault
The text was updated successfully, but these errors were encountered: