[NumPy-Tickets] [NumPy] #1724: new_iterator branch - bus error
NumPy Trac
numpy-tickets@scipy....
Sat Jan 29 19:47:38 CST 2011
#1724: new_iterator branch - bus error
-------------------------+--------------------------------------------------
Reporter: rgommers | Owner: somebody
Type: defect | Status: reopened
Priority: normal | Milestone: Unscheduled
Component: numpy.core | Version: none
Resolution: | Keywords: new_iterator, half-float
-------------------------+--------------------------------------------------
Changes (by rgommers):
* status: closed => reopened
* resolution: fixed =>
Comment:
Tested with scipy 0.9.0rc1 compiled against 1.5.1 as well. One issue in
ndimage related to types:
{{{
======================================================================
ERROR: gaussian gradient magnitude filter 1
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/nose-0.11.1-py2.6.egg/nose/case.py", line 183, in runTest
self.test(*self.arg)
File "/Users/rgommers/Code/scipy/scipy/ndimage/tests/test_ndimage.py",
line 668, in test_gaussian_gradient_magnitude01
tmp1 = ndimage.gaussian_filter(array, 1.0, [1, 0])
File "/Users/rgommers/Code/scipy/scipy/ndimage/filters.py", line 268, in
gaussian_filter
mode, cval)
File "/Users/rgommers/Code/scipy/scipy/ndimage/filters.py", line 220, in
gaussian_filter1d
return correlate1d(input, weights, axis, output, mode, cval, 0)
File "/Users/rgommers/Code/scipy/scipy/ndimage/filters.py", line 129, in
correlate1d
origin)
RuntimeError: array type 5 not supported
======================================================================
ERROR: gaussian gradient magnitude filter 2
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/nose-0.11.1-py2.6.egg/nose/case.py", line 183, in runTest
self.test(*self.arg)
File "/Users/rgommers/Code/scipy/scipy/ndimage/tests/test_ndimage.py",
line 682, in test_gaussian_gradient_magnitude02
tmp1 = ndimage.gaussian_filter(array, 1.0, [1, 0])
File "/Users/rgommers/Code/scipy/scipy/ndimage/filters.py", line 268, in
gaussian_filter
mode, cval)
File "/Users/rgommers/Code/scipy/scipy/ndimage/filters.py", line 220, in
gaussian_filter1d
return correlate1d(input, weights, axis, output, mode, cval, 0)
File "/Users/rgommers/Code/scipy/scipy/ndimage/filters.py", line 129, in
correlate1d
origin)
RuntimeError: array type 5 not supported
======================================================================
ERROR: gaussian laplace filter 1
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/nose-0.11.1-py2.6.egg/nose/case.py", line 183, in runTest
self.test(*self.arg)
File "/Users/rgommers/Code/scipy/scipy/ndimage/tests/test_ndimage.py",
line 625, in test_gaussian_laplace01
tmp1 = ndimage.gaussian_filter(array, 1.0, [2, 0])
File "/Users/rgommers/Code/scipy/scipy/ndimage/filters.py", line 268, in
gaussian_filter
mode, cval)
File "/Users/rgommers/Code/scipy/scipy/ndimage/filters.py", line 220, in
gaussian_filter1d
return correlate1d(input, weights, axis, output, mode, cval, 0)
File "/Users/rgommers/Code/scipy/scipy/ndimage/filters.py", line 129, in
correlate1d
origin)
RuntimeError: array type 5 not supported
======================================================================
ERROR: gaussian laplace filter 2
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/nose-0.11.1-py2.6.egg/nose/case.py", line 183, in runTest
self.test(*self.arg)
File "/Users/rgommers/Code/scipy/scipy/ndimage/tests/test_ndimage.py",
line 636, in test_gaussian_laplace02
tmp1 = ndimage.gaussian_filter(array, 1.0, [2, 0])
File "/Users/rgommers/Code/scipy/scipy/ndimage/filters.py", line 268, in
gaussian_filter
mode, cval)
File "/Users/rgommers/Code/scipy/scipy/ndimage/filters.py", line 220, in
gaussian_filter1d
return correlate1d(input, weights, axis, output, mode, cval, 0)
File "/Users/rgommers/Code/scipy/scipy/ndimage/filters.py", line 129, in
correlate1d
origin)
RuntimeError: array type 5 not supported
======================================================================
ERROR: laplace filter 1
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/nose-0.11.1-py2.6.egg/nose/case.py", line 183, in runTest
self.test(*self.arg)
File "/Users/rgommers/Code/scipy/scipy/ndimage/tests/test_ndimage.py",
line 602, in test_laplace01
tmp1 = ndimage.correlate1d(array, [1, -2, 1], 0)
File "/Users/rgommers/Code/scipy/scipy/ndimage/filters.py", line 129, in
correlate1d
origin)
RuntimeError: array type 5 not supported
======================================================================
ERROR: laplace filter 2
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/nose-0.11.1-py2.6.egg/nose/case.py", line 183, in runTest
self.test(*self.arg)
File "/Users/rgommers/Code/scipy/scipy/ndimage/tests/test_ndimage.py",
line 613, in test_laplace02
tmp1 = ndimage.correlate1d(array, [1, -2, 1], 0)
File "/Users/rgommers/Code/scipy/scipy/ndimage/filters.py", line 129, in
correlate1d
origin)
RuntimeError: array type 5 not supported
}}}
They're somehow failing with int32 now.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1724#comment:11>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list