Ask Your Question
2

Limit computation causes Sage to crash

asked 2013-06-03 06:42:57 +0100

Pascal Ortiz gravatar image

updated 2023-01-09 23:59:32 +0100

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-03 06:59:30 +0100

tmonteil gravatar image

updated 2013-06-03 07:10:33 +0100

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 08:22:37 +0100 )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-03 06:42:57 +0100

Seen: 665 times

Last updated: Jun 03 '13