Opened 5 years ago

Last modified 15 months ago

#16788 needs_work defect

segfault in numerical_integral() — at Version 5

Reported by: rws Owned by:
Priority: major Milestone: sage-8.4
Component: calculus Keywords: integral, numerics, crash
Cc: kcrisman Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by rws)

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/ in sage.gsl.integration.numerical_integral (build/cythonized/sage/gsl/integration.c:2626)()

/home/ralf/sage/local/lib/python2.7/site-packages/sage/ext/ 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 122.3 but not on Mac OS X 10.7

Change History (5)

comment:1 Changed 5 years ago by rws

  • Description modified (diff)

comment:2 Changed 5 years ago by rws

  • Priority changed from major to critical

Segfaults are always critical.

comment:3 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4

comment:4 Changed 5 years ago by kcrisman

  • Cc kcrisman added

What platform is this on? On Mac OS X 10.7 I get (0.285725372660691, 7.519910599701474e-05) for both Sage 5.12 and 6.2.

comment:5 Changed 5 years ago by rws

  • Description modified (diff)
Note: See TracTickets for help on using tickets.