Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

bus or segmentation fault calling integrate

Why does sagemath crash on this integrate? Running this inside Linux Manjaro in a VBox.

>sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 8.9, Release Date: 2019-09-29                     │
│ Using Python 2.7.16. Type "help()" for help.                       │
└────────────────────────────────────────────────────────────────────┘
sage: var('a b c d e f m n p x ')
(a, b, c, d, e, f, m, n, p, x)
sage: integrate((c*cos(b*x+a)^m)^(3/2),x)

And after about 20-30 seconds sagemath crashes

;;;
;;; Detected access to protected memory, also kwown as 'bus or segmentation fault'.
;;; Jumping to the outermost toplevel prompt
;;;


;;;
;;; Detected access to protected memory, also kwown as 'bus or segmentation fault'.
;;; Jumping to the outermost toplevel prompt
;;;

Strange thing is it crashes when exponent is 3/2 but not on exponent is 5/2

I remember seeing such crashes in sagemath before, but I thought this was fixed.

Is this known bug or something new?

Thanks --Nasser

bus or segmentation fault calling integrate

Why does sagemath crash on this integrate? Running this inside Linux Manjaro in a VBox.

>sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 8.9, Release Date: 2019-09-29                     │
│ Using Python 2.7.16. Type "help()" for help.                       │
└────────────────────────────────────────────────────────────────────┘
sage: var('a b c d e f m n p x ')
(a, b, c, d, e, f, m, n, p, x)
sage: integrate((c*cos(b*x+a)^m)^(3/2),x)

And after about 20-30 seconds sagemath crashes

;;;
;;; Detected access to protected memory, also kwown as 'bus or segmentation fault'.
;;; Jumping to the outermost toplevel prompt
;;;


;;;
;;; Detected access to protected memory, also kwown as 'bus or segmentation fault'.
;;; Jumping to the outermost toplevel prompt
;;;

Strange thing is it crashes when exponent is 3/2 but not on when exponent is 5/2

I remember seeing such crashes in sagemath before, but I thought this was fixed.

Is this a known bug or something new?

Thanks --Nasser