Problems with installation of sage-9.3-Ubuntu_20.04-x86_64

asked 2021-05-17 17:43:15 +0200

richardquint gravatar image

updated 2021-05-19 17:08:15 +0200

I downloaded and installed sage from sage-9.3-Ubuntu_20.04-x86_64 on a Ubuntu 20.04 installation. However I believe this version is broken. A simple example is the basic arrow in the documentation.

arrow3d((0,0,0), (1,1,1), 1).show()

The binary for Ubuntu 18.04 has the same problem.

After building from source on a Raspberry Pi4, 9.3 works without any problems. I know I can build from source on my PC, but this can be off-putting for new and inexperienced users.

edit retag flag offensive close merge delete


Could you be a little more specific? What is the issue with the arrow?

eric_g gravatar imageeric_g ( 2021-05-17 22:47:16 +0200 )edit

Sage crashes, it spews out some messages and ends with "attaching gdb to process id ... . I ran ./sage --testall and a couple hours later I had a 200MB file with 948 lines containing "# Killed due to illegal instruction". To satisfy my curiosity I downloaded sage-9.3-Debian_GNU_Linux_10-i686 and installed it and it worked (although it coughed out a few warnings).

richardquint gravatar imagerichardquint ( 2021-05-18 23:02:41 +0200 )edit

I cannot reproduce your issue: SageMath installed from sage-9.3-Ubuntu_20.04-x86_64.tar.bz2 works well on my Ubuntu 20.04 computer. Which command makes it crash in your case?

eric_g gravatar imageeric_g ( 2021-05-19 11:19:28 +0200 )edit

I've edited the original question to include the specific command. To check if it was a quirk of my hardware I built Sage from source and everything seems to run correctly.

richardquint gravatar imagerichardquint ( 2021-05-19 17:08:18 +0200 )edit

Thanks. I still cannot reproduce your issue with my install of sage-9.3-Ubuntu_20.04-x86_64.tar.bz2: the command arrow3d((0,0,0), (1,1,1), 1).show() works for me, both in the console and in the Jupyter notebook.

eric_g gravatar imageeric_g ( 2021-05-19 21:01:19 +0200 )edit