Loading...

sage-devel@googlegroups.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

[sage-devel] integration bug, segfault Jonathan Bober Tue Feb 21 18:00:37 2012

I didn't actually expect the following to work very well, but I definitely
did not expect the output that I did get:

sage: def IC9E(K, j, a, b, epsilon):
....:     g(t) = 2*pi*i * (a - i*a + 2*b*K + i*2*b*K)*(1+i)*t - (1+i)^2 *
2*i*b*t^2
....:     f(t) = t^j * exp(g(t))
....:     return integral(f, (t, 0, infinity))
sage: IC9E(112, 0, 0.00084696102822690023, 0.044171315635412135, exp(-20))
# suddenly I get a lot of advertisements for a popular question/answer
website...
[...]
;;;
;;; Binding stack overflow.
;;; Jumping to the outermost toplevel prompt
;;;
[...]
;;;
;;; Stack overflow.
;;; Jumping to the outermost toplevel prompt
;;;
[...]
/home/bober/sage-5.0.beta2/spkg/bin/sage: line 304:  3765 Segmentation
fault      sage-ipython "$@" -i

The [...] omits a lot of output (from maxima?). The above was on 5.0.beta2,
but it happens at sagenb.org as well.

I haven't opened a track ticket because I would prefer to put something
more specific than the subject of this email. I guess that there is some
sort of bug in maxima, maybe, but also maybe a bug in Sage, since (maybe)
Sage shouldn't crash when the maxima subprocess crashes.

-- 
To post to this group, send an email to [EMAIL PROTECTED]
To unsubscribe from this group, send an email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org