Ask Your Question
1

Sage 9.5 fails to start just after an installation

asked 2 years ago

michal gravatar image

updated 2 years ago

slelievre gravatar image

I have operating system Linux Lite 6.2 based on Ubuntu. I installed Sage from windows package manager Synaptic available through Xfce menu.

When at the terminal prompt I run sage, Sage starts with info

SageMath version 9.5, Release Date: 2022-01-30
Using Python 3.10.6. Type "help()" for help.

But suddenly follows some Python warnings, like

/usr/bin/python3(+0x23d9fd)[0x55b08278a9fd]
/usr/bin/python3(+0x15cdc9)[0x55b0826a9dc9]
/usr/bin/python3(_PyEval_EvalFrameDefault+0x289f)[0x55b08269484f]
/usr/bin/python3(_PyFunction_Vectorcall+0x7c)[0x55b0826a9b6c]

Plenty of similar stuff and Sage start crashes with text:

#248 0x00007fda0c267dc0 in __libc_start_main_impl () at ./csu/../csu/libc-start.c:392
#249 0x000055b082777a90 in _start ()

[Inferior 1 (process 3907) detached]
30  ../sysdeps/unix/sysv/linux/wait4.c: Adresár alebo súbor neexistuje.
Saved trace to /home/michal/.sage/crash_logs/crash_ikxir8ce.log
------------------------------------------------------------------------
Unhandled SIGILL: An illegal instruction occurred.
This probably occurred because a *compiled* module has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Python will now terminate.

I use Slovak localization, and "adresár alebo súbor neexistuje" translates as "no file or folder" or as "file or directory does not exist".

I do not know where the problem is and what to do to make Sage work. I cannot upload here the above mentioned file crash_ikxir8ce.log because I need more than 60 points to be allowed to do so.

Preview: (hide)

Comments

You can use https://pastebin.com/ to share your logs.

Max Alekseyev gravatar imageMax Alekseyev ( 2 years ago )

3 Answers

Sort by » oldest newest most voted
1

answered 2 years ago

michal gravatar image

I followed instructions from page https://sagemanifolds.obspm.fr/install_ubuntu.html and I built sage from sources and it works. A compilation lasted several hours but at last all works.

Preview: (hide)
link

Comments

Congratulations! I turned your comment into an answer. You can accept it if you visit Ask Sage again. This will mark the question as solved.

slelievre gravatar imageslelievre ( 1 year ago )
0

answered 1 year ago

Conda solves too !

Preview: (hide)
link
0

answered 2 years ago

slelievre gravatar image

updated 2 years ago

As a workaround, you could install Sage via Conda.

For that, follow the instructions at

That installation method will get you a newer version of Sage: currently (2022-11-26) this gets you Sage 9.7 rather than Sage 9.5.

Preview: (hide)
link

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2 years ago

Seen: 238 times

Last updated: Nov 26 '22