-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
numpy.ndarray.clip segfaults on big-endian dtype (Trac #1588) #2184
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
@fengy-research wrote on 2012-05-08 I am confirming this is still and issue with 1.6.1 with IPython, on python 2.7.3 won't seg fault: I made a gdb attaching to the ipython process and obtained a backtrace: 0x00002aaab026d5df in _update_descr_and_dimensions (subtype=0x2aaab050d040, descr=0x64, nd=2, dims=0x7fffea80d410, strides=0x0, data=0x12c98ea0, |
@fengy-research wrote on 2012-05-08
|
@fengy-research wrote on 2012-05-08
|
@charris wrote on 2012-05-11 Still present in 1.7.0.dev-bb162a2.
I'm guessing a reference counting bug. |
Milestone changed to |
trac user ocertik wrote on 2012-08-31 Here is the stacktrace as of master 5c944b9: https://gist.github.com/3548633 for the following code:
It fails on the line "y = str(x)". |
trac user ocertik wrote on 2012-08-31 When compiled using:
the full stacktrace is: |
trac user ocertik wrote on 2012-08-31 It segfaults on the line:
Where descr->f is ok, but descr->f->getitem points to a memory (not NULL) that cannot be accessed. A full output from valgrind: https://gist.github.com/3549063 |
trac user ocertik wrote on 2012-08-31 The following patch seems to fix it (now there are leaks):
So the problem is right here somewhere. |
trac user ocertik wrote on 2012-08-31 I am going to post the rest of the issues here: Due to trac unreliability. |
trac user ocertik wrote on 2012-08-31 This is fixed by: #405 |
trac user ocertik wrote on 2012-08-31 PR is merged. |
Original ticket http://projects.scipy.org/numpy/ticket/1588 on 2010-08-20 by trac user bdkern, assigned to unknown.
segfaults on three systems tried: Ubuntu / Python 2.5.2 / Numpy 1.1.1, Red Hat / py 2.6.4 / np 1.3.0, WinXP / py 2.5.4 / np 1.3.0. This same setup also segfaults for dtypes '>f4', '>f8', etc.
The text was updated successfully, but these errors were encountered: