could someone please try this integral? segmentation fault generated

asked 2018-06-22 15:25:30 -0500

Nasser gravatar image

updated 2018-06-22 15:36:37 -0500

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.

│ 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

Thank you


edit retag flag offensive close merge delete


Definitely a bug, probably in what Maxima is doing, see the ticket for further discussion - thanks for creating it!

kcrisman gravatar imagekcrisman ( 2018-06-22 16:22:00 -0500 )edit

I confirm the bug.

tmonteil gravatar imagetmonteil ( 2018-06-24 05:30:42 -0500 )edit