Skip to content

array(1,ndmin=33) -> segmentation fault (Trac #1301) #1899

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

Closed
thouis opened this issue Oct 19, 2012 · 1 comment
Closed

array(1,ndmin=33) -> segmentation fault (Trac #1301) #1899

thouis opened this issue Oct 19, 2012 · 1 comment

Comments

@thouis
Copy link
Contributor

thouis commented Oct 19, 2012

Original ticket http://projects.scipy.org/numpy/ticket/1301 on 2009-11-21 by @endolith, assigned to unknown.

Obviously 33 dimensions is unrealistic, but shouldn't it create an exception rather than crashing?

Job 1, “ipython -pylab” terminated by signal SIGSEGV (Address boundary error)

@thouis
Copy link
Contributor Author

thouis commented Oct 19, 2012

@pv wrote on 2009-11-21

Does not occur in 1.3.0:

>>> np.__version__
'1.3.0'
>>> np.array(1, ndmin=33)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: ndmin bigger than allowable number of dimensions NPY_MAXDIMS (=32)

Reopen if you see this with a recent version of Numpy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant