Open
Description
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
Better error messages would be needed here, as well.
The segfault happens on OpenSuSE 12.3 (both 6.2 and 6.3) and SMC (Ubuntu) but not on Mac OS X 10.7
CC: @kcrisman
Component: calculus
Keywords: integral, numerics, crash
Author: Ralf Stephan
Branch/Commit: u/chapoton/16788 @ 87332f3
Reviewer: Marc Mezzarobba
Issue created by migration from https://trac.sagemath.org/ticket/16788