Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bus or segmentation fault in integral computation #15747

Open
sagetrac-tmonteil mannequin opened this issue Jan 27, 2014 · 5 comments
Open

bus or segmentation fault in integral computation #15747

sagetrac-tmonteil mannequin opened this issue Jan 27, 2014 · 5 comments

Comments

@sagetrac-tmonteil
Copy link
Mannequin

sagetrac-tmonteil mannequin commented Jan 27, 2014

From this ask question:

sage: ys=0.06+2*(x-0.0275)
sage: xs=ys/1.516
sage: i=1/(xs/(1+xs)-x/(1+x))
sage: integral(i,x)
250/121*x^2 + 423541/58564*x + 86958139/28344976*log(484*x + 5)

But, the same integral with boundaries:

sage: integral(i,x,0,0.275)

leads to a series of lines of the form:

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

Component: symbolics

Keywords: integral, symbolic

Reviewer: Dima Pasechnik

Issue created by migration from https://trac.sagemath.org/ticket/15747

@sagetrac-tmonteil sagetrac-tmonteil mannequin added this to the sage-6.1 milestone Jan 27, 2014
@kcrisman
Copy link
Member

comment:1

I can confirm that this problem also occurs with the integral to 11/40.

That said,

sage: i
1/((1.31926121372032*x + 0.00329815303430079)/(1.31926121372032*x + 1.00329815303430) - x/(x + 1))

and usually Maxima does not particularly like integrating floating point things exactly, because it sort of doesn't make sense.

sage: numerical_integral(i,0,0.275)
(12.325862793647284, 4.191806193893343e-11)

@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@rwst rwst modified the milestones: sage-6.4, sage-6.5 Jan 31, 2015
@sagetrac-jakobkroeker
Copy link
Mannequin

sagetrac-jakobkroeker mannequin commented Mar 3, 2017

comment:6

Still an issue

@dimpase
Copy link
Member

dimpase commented Aug 27, 2021

comment:7

appears to be fixed in Sage 9.4

@dimpase
Copy link
Member

dimpase commented Aug 27, 2021

Reviewer: Dima Pasechnik

@sagetrac-tmonteil
Copy link
Mannequin Author

sagetrac-tmonteil mannequin commented Aug 27, 2021

comment:9

It is still broken on my computer (running 9.4) :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants