Hi All,

   I was doing some bug hunting and noticed that scipy's pytests crashed 
pretty early.  I tracked down exactly what was causing the problem and 
noticed it can be reproduced by the following sequence of commands:

sage: import numpy as np
sage: x = np.random.randn(1000000,2)
sage: y = np.random.randn(2,2)
sage: x.dot(y)

produces:

------------------------------------------------------------------------
0   signals.cpython-38-darwin.so        0x00000001088bc62a print_backtrace 
+ 58
1   signals.cpython-38-darwin.so        0x00000001088c0277 sigdie + 39
2   signals.cpython-38-darwin.so        0x00000001088c0212 sigdie_for_sig + 
290
3   libsystem_platform.dylib            0x00007fff6c88e5fd _sigtramp + 29
------------------------------------------------------------------------
Unhandled SIGBUS: A bus error occurred.
This probably occurred because a *compiled* module has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Python will now terminate.
------------------------------------------------------------------------
/Users/zscherr/sage/src/bin/sage-python: line 2: 78812 Bus error: 10       
    sage -python "$@"

I haven't tested on any other platforms, but for what it's worth I have 
Catalina 10.15.7 with Xcode 12.

Thanks,
Zach

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/28f58136-d3c7-40b7-9a46-36fc347acc2en%40googlegroups.com.

Reply via email to