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.br...@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
>
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to