id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
13097 integral of ln(1+4/5*sin(x)) from -3.1415 to 3.1415 crashes Maxima and Sage kcrisman burcin "See extensive discussion at [https://groups.google.com/forum/?fromgroups#!topic/sage-support/dZFPiWRWSoc this sage-support thread].
Reported by Ben Jones:
{{{
sage: integrate(ln(1+4/5*sin(x)), x, -3.1415, 3.1415)
;;;
;;; Binding stack overflow.
;;; Jumping to the outermost toplevel prompt
;;;
...
;;;
;;; Binding stack overflow.
;;; Jumping to the outermost toplevel prompt
;;;
/Users/jonesbe/sage/sage-5.1.beta2/spkg/bin/sage: line 335: 86594 Illegal instruction sage-ipython ""$@"" -i
}}}
There don't seem to be any problems with Maxima. Although it's been traced down (thanks to Dan Drake) to 5.0.beta3, the only obvious candidate for a change in our interface is when we added `abs_integrate`, which doesn't seem to impact things.
{{{
(%i2) load(abs_integrate);
(%o2) /Users/.../sage-5.0/local/share/maxima/5.26.0/s\
hare/contrib/integration/abs_integrate.mac
(%i4) keepfloat:true;
(%o4) true
(%i7) integrate(ln(1+4/5*sin(x)), x, -3.1415, 3.1415);
3.1415
/
[ 4 sin(x)
(%o7) I ln(-------- + 1) dx
] 5
/
- 3.1415
}}}
And we have
{{{
sage: maxima_calculus("" integrate(ln(1+4/5*sin(x)), x, -3.1415, 3.1415);"")
'integrate(ln(4*sin(x)/5+1),x,-3.1415,3.1415)
}}}
so something must indeed be wrong in how we're sending this to Maxima." enhancement closed minor sage-9.3 calculus fixed integral benjaminfjones dsm Dave Morris Karl-Dieter Crisman Fixed upstream, in a later stable release. 3f41b09a332040a3be9fb0376b03a9397b84eaff 3f41b09a332040a3be9fb0376b03a9397b84eaff