[Numpy-discussion] Bus error for Debian / SPARC on current trunk

Mark Wiebe mwwiebe@gmail....
Mon Mar 5 22:04:02 CST 2012


I've pushed a bugfix to github, can you confirm that the crash goes away on
your test box? Thanks for tracking that down, the stack trace was very
helpful. Since x86 machines don't have as strict alignment requirements,
bugs like this one will generally remain undetected until someone tests on
an architecture like sparc.

Cheers,
Mark

On Mon, Mar 5, 2012 at 6:39 PM, Matthew Brett <matthew.brett@gmail.com>wrote:

> And simplifying:
>
> In [1]: import numpy as np
>
> In [2]: control = np.array([(1, 2, 3), (0, 5, 6)], dtype=[('f0',
> bool), ('f1', bool), ('f2', int)])
>
> In [3]: control == control
> Out[3]: array([ True,  True], dtype=bool)
>
> In [4]: from numpy import ma
>
> In [5]: control = ma.array([(1, 2, 3), (0, 5, 6)], dtype=[('f0',
> bool), ('f1', bool), ('f2', int)])
>
> In [6]: control == control
> Bus error
>
> Cheers,
>
> Matthew
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120305/22acf97c/attachment.html 


More information about the NumPy-Discussion mailing list