could someone please try this integral? segmentation fault generated
Could someone please try this integral on their PC? I am getting sage core dump from it.
Wanted to see if it just my sage or if it happens to others. Make sure to save your sage work before trying this.
>sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 8.3.beta6, Release Date: 2018-06-17 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Warning: this is a prerelease version, and it may be unstable. ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
sage: var('x m a b')
(x, m, a, b)
sage: integrate(x^m/sqrt(a + b*x^(2 - m)),x)
;;;
;;; Detected access to protected memory, also kwown as 'bus or segmentation fault'.
;;; Jumping to the outermost toplevel prompt
;;;
When I use other algorithm, no core dump
sage: integrate(x^m/sqrt(a + b*x^(2 - m)),x,algorithm="giac")
integrate(x^m/sqrt(b*x^(-m + 2) + a), x)
I am on Linux Manjaro 17.1. Intel PC. Installed sage, compiled from sources, using Manjaro package manager pacman.
And just in case, I also posted bug report here https://trac.sagemath.org/ticket/25636
Thank you
--Nasser
Definitely a bug, probably in what Maxima is doing, see the ticket for further discussion - thanks for creating it!
I confirm the bug.