Ask Your Question
1

Unhandled SIGILL by using floats (such as 1.1)

asked 2015-04-25 11:03:27 +0100

ye gravatar image

updated 2015-04-25 11:04:40 +0100

I made a fresh install of SAGE 6.6 and with a first test I run in the following problem:

1.1+1.0

Unhandled SIGILL: An illegal instruction occurred in Sage. This probably occurred because a compiled component of Sage has a bug in it and is not properly wrapped with sig_on(), sig_off(). Sage will now terminate.

Whereas

1.0+1.0

2.00000000000000

works.

I use a Macbook Pro 13" (2009) with OS 10.9.5 and sage-6.6-x86_64-Darwin-OSX_10.7_x86_64-app

Any Ideas what is going wrong?

edit retag flag offensive close merge delete

Comments

My gut says this is because of using the 10.7 app with 10.9, though in general this should work. Can you do some experiments to see what other things work and don't? If possible, try to run the doctests (this will take a while) and that will help us diagnose it.

kcrisman gravatar imagekcrisman ( 2015-04-25 16:05:06 +0100 )edit

There is no 10.9 version, and I read somewhere that for system below 10.10 the 10.7 version should be used. This is also logical, a 10.10 version assumes features available that are not there in older systems. Moreover there is not (yet) an app-version for 10.10. I run the doctest - tons of errors - and about half a million lines in the shel, I see no possibility to attach the output here, is there anything special that could help? I also installed the same sage on a MacPro with 10.9, initially to do the doctest faster. Launching the app results in "500 server error". I can run the doctests in shell but also get errors over errors.

ye gravatar imageye ( 2015-04-28 21:56:59 +0100 )edit

Yes, it should work but we don't have automated testing of this. Just saying tons of errors is helpful in saying that probably you should compile from source. Luckily this should work okay for you on 10.9 (the very latest version of Xcode has some issues on 10.10).

kcrisman gravatar imagekcrisman ( 2015-04-29 04:16:16 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-04-30 09:01:15 +0100

ye gravatar image

Compiling from the source works. The doctest run without error. However you get not the .app version but have to launch via terminal ... well but that is only a question of convenience.

edit flag offensive delete link more

Comments

1

If you like the ap (which I hope you do), you can use the app from the downloaded version and just point it to your version of sagemath (in Preferences). You can also build the app yourself, but that's likely more work.

Ivan Andrus gravatar imageIvan Andrus ( 2015-09-24 05:36:07 +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

2 followers

Stats

Asked: 2015-04-25 11:03:27 +0100

Seen: 994 times

Last updated: Apr 30 '15