#17468: Strange integration error/hang with log(abs(sin(x)))
-------------------------------------------------+-------------------------
       Reporter:  kcrisman                       |        Owner:
           Type:  defect                         |       Status:  new
       Priority:  major                          |    Milestone:  sage-6.5
      Component:  calculus                       |   Resolution:
       Keywords:                                 |    Merged in:
        Authors:                                 |    Reviewers:
Report Upstream:  Fixed upstream, but not in a   |  Work issues:
  stable release.                                |       Commit:
         Branch:                                 |     Stopgaps:
   Dependencies:                                 |
-------------------------------------------------+-------------------------

Comment (by pbruin):

 Replying to [comment:6 kcrisman]:
 > > For the first example, with Maxima 5.35.1 (see #17514), I get the
 following error after a very long time (maybe 20 minutes):
 >
 > This might be https://sourceforge.net/p/maxima/bugs/2860/, see also
 https://sourceforge.net/p/maxima/bugs/2859/
 At first sight it seems to be a different error; the ones in the Maxima
 bug tracker occur sooner (the second one after a few seconds, the others
 almost immediately) and look different.
 {{{
 Maxima branch_5_35_base_16_gfc3f8b9_dirty http://maxima.sourceforge.net
 using Lisp GNU Common Lisp (GCL) GCL 2.6.12 (a.k.a. GCL)
 Distributed under the GNU Public License. See the file COPYING.
 Dedicated to the memory of William Schelter.
 The function bug_report() provides bug reporting information.
 (%i1) load(abs_integrate);
 (%o1) /home/bruinpj/src/maxima/share/contrib/integration/abs_integrate.mac
 (%i2)
 taylor(x^3*(cos(x)*abs(sin(x))/sin(x)-2*cos(x)*sin(x)/abs(sin(x)))/6,x,0,1);

 Maxima encountered a Lisp error:

  Condition in MACSYMA-TOP-LEVEL [or a callee]: INTERNAL-SIMPLE-ERROR: Bind
 stack overflow.

 Automatically continuing.
 To enable the Lisp debugger set *debugger-hook* to nil.
 (%i3) integrate(abs(cos(x)),x,0,%pi);

 log: encountered log(0).
 log: encountered log(0).
 log: encountered log(0).
 log: encountered log(0).
 log: encountered log(0).
 log: encountered log(0).
 log: encountered log(0).
 log: encountered log(0).
 log: encountered log(0).
 log: encountered log(0).
 log: encountered log(0).
 log: encountered log(0).
 log: encountered log(0).
 log: encountered log(0).
 log: encountered log(0).
 log: encountered log(0).
 log: encountered log(0).
 log: encountered log(0).
 (%o3)                                 - 1
 (%i4) integrate(abs(sin(x)),x,0,%pi);

 Unrecoverable error: bind stack overflow.
 Aborted
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/17468#comment:8>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to