First time here? Check out the FAQ!

Ask Your Question
2

Limit computation causes Sage to crash

asked 11 years ago

Pascal Ortiz gravatar image

updated 2 years ago

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 ?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 11 years ago

tmonteil gravatar image

updated 11 years ago

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.

Preview: (hide)
link

Comments

thanks for the bug report.

Pascal Ortiz gravatar imagePascal Ortiz ( 11 years ago )

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: 11 years ago

Seen: 698 times

Last updated: Jun 03 '13