Ask Your Question
2

Limit computation causes Sage to crash

asked 2013-06-02 23:42:57 -0500

Pascal Ortiz gravatar image

updated 2013-06-03 00:20:49 -0500

tmonteil gravatar image

The following code :

f(x)=(x^x-sin(x)^sin(x))/(x^3*log(x))
show(f)
f(x).limit(x=0)

causes Sage to crash [the expected output is 1/6].

My desktop Sage installation gives the following error message :

;;;
;;; Detected access to protected memory, also kwown as 'bus or segmentation fault'.
;;; Jumping to the outermost toplevel prompt
;;;

The online Sage notebook tells me :

;;;
;;; Binding stack overflow.
;;; Jumping to the outermost top

What is wrong ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-06-02 23:59:30 -0500

tmonteil gravatar image

updated 2013-06-03 00:10:33 -0500

This is a bug. I can reproduce this on sage-5.10.beta5 on a GNU/Linux x86_64. On another machine, i can reproduce it on sage-5.0 but not on sage-4.8. This has been reported at trac ticket 14677.

edit flag offensive delete link more

Comments

thanks for the bug report.

Pascal Ortiz gravatar imagePascal Ortiz ( 2013-06-03 01:22:37 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-06-02 23:42:57 -0500

Seen: 302 times

Last updated: Jun 03 '13