Ticket #12377 (new defect)

Opened 16 months ago

Last modified 14 months ago

Stack overflow in definite integral

Reported by: mjo Owned by: burcin
Priority: major Milestone: sage-5.10
Component: calculus Keywords:
Cc: Work issues:
Report Upstream: N/A Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description (last modified by mjo) (diff)

This was reported by William in #11591. It still occurs with maxima-5.26:

sage: y=(x^2)*exp(x)/(1+exp(x))^2
sage: integrate(y,(x,-1000,1000))
...
;;;
;;; Stack overflow.
;;; Jumping to the outermost toplevel prompt
;;;
...
/home/mjo/src/sage-5.0.beta1/spkg/bin/sage: line 304:   863 Segmentation fault      sage-ipython "$@" -i

Change History

comment:1 Changed 14 months ago by mjo

  • Description modified (diff)

comment:2 Changed 14 months ago by nbruin

This bug also occurs in Maxima (on at least SBCL and ECL):

(%i1) y: (x^2)*exp(x)/(1+exp(x))^2$
(%i2) integrate(y,x,-1000,1000);
Maxima encountered a Lisp error:

 Control stack exhausted (no more space for function call frames).

so this looks like a straightforward bug in maxima.

comment:3 Changed 14 months ago by nbruin

More news on  Maxima bugtracker

(I'm not setting this to "Reported Upstream - little or no feedback" because, while technically correct, I think it's offensive to the Maxima devs, who are generally very diligent and helpful. They haven't had time to give feedback yet)

Note: See TracTickets for help on using tickets.