could someone please try this integral? segmentation fault generated

asked 2018-06-22 22:25:30 +0200

Nasser gravatar image

updated 2023-01-09 23:59:48 +0200

tmonteil gravatar image

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 23:22:00 +0200 )edit

I confirm the bug.

tmonteil gravatar imagetmonteil ( 2018-06-24 12:30:42 +0200 )edit