Opened 4 years ago

Last modified 4 years ago

#20467 new defect

stackoverflow in Maxima integral

Reported by: kcrisman Owned by:
Priority: major Milestone: sage-7.2
Component: calculus Keywords:
Cc: nbruin Merged in:
Authors: Reviewers:
Report Upstream: Fixed upstream, but not in a stable release. Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by kcrisman)

sage: k=var('k')
sage: integral(sin(k*x)/x*erf(x^2), x, 0, oo)
RuntimeError: ECL says: C-STACK overflow at size 4259840. Stack can probably be resized.

This is related to this ask.sagemath question though I couldn't reproduce this behavior.

Upstream: https://sourceforge.net/p/maxima/bugs/3144/

Change History (3)

comment:1 Changed 4 years ago by nbruin

As far as I can see, this happens in vanilla maxima on SBCL too:

Maxima 5.36.1 http://maxima.sourceforge.net
using Lisp SBCL 1.2.11-1.fc22
(%i1) integrate(sin(k*x)/x*erf(x^2),x,0,inf);
Maxima encountered a Lisp error:
Control stack exhausted (no more space for function call frames).

This is not the latest version, but it's the kind of bug that, unless it's been specifically addressed, it's probably still there. Might want to report it (why is there no online maxima calculator with an up-to-date maxima? maximacell or something like that?)

comment:2 Changed 4 years ago by kcrisman

  • Description modified (diff)
  • Report Upstream changed from N/A to Reported upstream. No feedback yet.

comment:3 Changed 4 years ago by kcrisman

  • Report Upstream changed from Reported upstream. No feedback yet. to Fixed upstream, but not in a stable release.
Note: See TracTickets for help on using tickets.