[NumPy-Tickets] [NumPy] #2084: Issue with concatenating structured arrays
NumPy Trac
numpy-tickets@scipy....
Mon Sep 24 11:59:49 CDT 2012
#2084: Issue with concatenating structured arrays
------------------------+---------------------------------------------------
Reporter: robitaille | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: numpy.core | Version: 1.6.1
Keywords: |
------------------------+---------------------------------------------------
Changes (by lcampagn):
* cc: lcampagn@… (added)
* component: Other => numpy.core
Comment:
I can confirm this bug and reproduce the segmentation fault:
{{{
>>> import numpy as np
>>> a = np.empty(1, dtype=[('x', object)])
>>> b = np.empty(1, dtype=[('x', float)])
>>> np.concatenate([a,b])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: invalid type promotion
>>> np.concatenate([a,b])
Segmentation fault (core dumped)
}}}
I've run into this crash in a few different instances.
I can cause this crash in both Linux (1.6.1-6ubuntu1) and on Windows.
I have not been able to generate useful stack traces--it would appear this
bug causes some stack corruption.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/2084#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list