The following simple expression crashes Sage 8.0 on Arch Linux:

tavianator@cosmicray $ sage 
> ┌────────────────────────────────────────────────────────────────────┐ 
> │ SageMath version 8.0, Release Date: 2017-07-21                     │ 
> │ Type "notebook()" for the browser-based notebook interface.        │ 
> │ Type "help()" for help.                                            │ 
> └────────────────────────────────────────────────────────────────────┘ 
> sage: version() 
> 'SageMath version 8.0, Release Date: 2017-07-21' 
> sage: sage: (2*sqrt(x))^Rational(2) 
> --------------------------------------------------------------------------- 
> MemoryError                               Traceback (most recent call 
> last) 
> sage/rings/integer.pyx in sage.rings.integer.Integer.__repr__ 
> (/build/sagemath/src/sage-8.0/src/src/build/cythonized/sage/rings/integer.c:7976)
> () 
>
> sage/rings/integer.pyx in sage.rings.integer.Integer.str 
> (/build/sagemath/src/sage-8.0/src/src/build/cythonized/sage/rings/integer.c:8429)
> () 
>
> memory.pxd in cysignals.memory.check_malloc 
> (/build/sagemath/src/sage-8.0/src/src/build/cythonized/sage/rings/integer.c:45920)
> () 
>
> MemoryError: failed to allocate 1292913990 bytes 
> Exception MemoryError: MemoryError('failed to allocate 1292913990 bytes',) 
> in 'sage.libs.pynac.pynac.py_repr' ignored 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to