#16788: segfault in numerical_integral()
------------------------+---------------------------------------------
   Reporter:  rws       |            Owner:
       Type:  defect    |           Status:  new
   Priority:  major     |        Milestone:  sage-6.3
  Component:  calculus  |         Keywords:  integral, numerics, crash
  Merged in:            |          Authors:
  Reviewers:            |  Report Upstream:  N/A
Work issues:            |           Branch:
     Commit:            |     Dependencies:
   Stopgaps:            |
------------------------+---------------------------------------------
 {{{
 sage: numerical_integral(sin(x^2)/(x^2), 1, infinity, max_points=10^10)
 ---------------------------------------------------------------------------
 SignalError                               Traceback (most recent call
 last)
 <ipython-input-7-a164db8ca706> in <module>()
 ----> 1 numerical_integral(sin(x**Integer(2))/(x**Integer(2)), Integer(1),
 infinity, max_points=Integer(10)**Integer(10))

 /home/ralf/sage/local/lib/python2.7/site-packages/sage/gsl/integration.so
 in sage.gsl.integration.numerical_integral
 (build/cythonized/sage/gsl/integration.c:2626)()

 /home/ralf/sage/local/lib/python2.7/site-packages/sage/ext/c_lib.so in
 sage.ext.c_lib.sig_raise_exception
 (build/cythonized/sage/ext/c_lib.c:1208)()

 SignalError: Segmentation fault
 }}}
 Has the impementer not tested some boundaries? Can we have better error
 messages please? That's exactly what's turning people off.

--
Ticket URL: <http://trac.sagemath.org/ticket/16788>
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