prime_pi() fails in Sage 9.5 on my MacBook Pro M1, MacOs 11.3.1.

I am using the macOS app available at: 
https://github.com/3manifolds/Sage_macOS/releases 
<https://github.com/3-manifolds/Sage_macOS/releases>.

prime_pi() apparently causes a segmentation fault for any argument less 
than or equal to 15359. For whatever it's worth, 15359 is the 1794th prime 
number.

This problem does NOT occur with version 9.4 of the same app, nor does it 
occur in CoCalc 9.5.

Here is the output I get from running prime_pi(*15359*):

│ SageMath version 9.5, Release Date: 2022-01-30                     │

│ Using Python 3.9.9. Type "help()" for help.                        │

sage: prime_pi(*15359*)                                                    
       

------------------------------------------------------------------------

(no backtrace available)

------------------------------------------------------------------------

Unhandled SIGSEGV: A segmentation fault 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.

------------------------------------------------------------------------

zsh: segmentation fault  

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.


[Process completed]

-- 
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/e5e8317e-a099-4373-920d-4172be8cd357n%40googlegroups.com.

Reply via email to