You are not logged in.

#1 2018-05-30 12:20:25

geo909
Member
Registered: 2008-09-07
Posts: 309

[SOLVED] Sage crashes on startup

Hi all,

I have installed sagemath from the official repos. When I try to run it from the terminal, it crashes as follows:

> sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 8.2, Release Date: 2018-05-05                     │
│ Type "notebook()" for the browser-based notebook interface.        │
│ Type "help()" for help.                                            │
└────────────────────────────────────────────────────────────────────┘

**********************************************************************

Oops, Sage crashed. We do our best to make it stable, but...

A crash report was automatically generated with the following information:
  - A verbatim copy of the crash traceback.
  - A copy of your input history during this session.
  - Data on your current Sage configuration.

It was left in the file named:
	'/home/jorge/.sage/ipython-5.0.0/Sage_crash_report.txt'
If you can email this file to the developers, the information in it will help
them in understanding and correcting the problem.

You can mail it to: sage-support at sage-support@googlegroups.com
with the subject 'Sage Crash Report'.

If you want to do it now, the following command will work (under Unix):
mail -s 'Sage Crash Report' sage-support@googlegroups.com < /home/jorge/.sage/ipython-5.0.0/Sage_crash_report.txt

In your email, please also include information about:
- The operating system under which the crash happened: Linux, macOS, Windows,
  other, and which exact version (for example: Ubuntu 16.04.3, macOS 10.13.2,
  Windows 10 Pro), and whether it is 32-bit or 64-bit;
- How Sage was installed: using pip or conda, from GitHub, as part of
  a Docker container, or other, providing more detail if possible;
- How to reproduce the crash: what exact sequence of instructions can one
  input to get the same crash? Ideally, find a minimal yet complete sequence
  of instructions that yields the crash.

To ensure accurate tracking of this issue, please file a report about it at:
http://trac.sagemath.org

Hit <Enter> to quit (your terminal may close):

Here is '/home/jorge/.sage/ipython-5.0.0/Sage_crash_report.txt':
https://pastebin.com/9RhUpPzq

Any ideas?

Note that a similar question was posted before, but that person had installed Sage from other sources, I installed mine as the official arch package. Moreover, I tried uninstalling it, reinstalling it and reboot.

Thanks a lot.

Last edited by geo909 (2018-05-30 20:20:26)

Offline

#2 2018-05-30 12:32:52

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,313

Re: [SOLVED] Sage crashes on startup

You're most likely using an unsupported package that claims to provide cblas but really doesn't.

Offline

#3 2018-05-30 17:35:06

geo909
Member
Registered: 2008-09-07
Posts: 309

Re: [SOLVED] Sage crashes on startup

arojas wrote:

You're most likely using an unsupported package that claims to provide cblas but really doesn't.

Thanks a lot. Any ideas about how I could figure out what that package would be?

The only thing I could come up with was

> pacman -Q cblas
atlas-lapack-base 3.10.3-1

and

> sudo pacman -R atlas-lapack-base
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: arpack: removing atlas-lapack-base breaks dependency 'lapack'
:: fflas-ffpack: removing atlas-lapack-base breaks dependency 'cblas'
:: fflas-ffpack: removing atlas-lapack-base breaks dependency 'lapack'
:: iml: removing atlas-lapack-base breaks dependency 'cblas'
:: libgiac: removing atlas-lapack-base breaks dependency 'lapack'
:: opencv: removing atlas-lapack-base breaks dependency 'cblas'
:: opencv: removing atlas-lapack-base breaks dependency 'lapack'
:: python2-numpy: removing atlas-lapack-base breaks dependency 'lapack'
:: python2-numpy: removing atlas-lapack-base breaks dependency 'cblas'
:: r: removing atlas-lapack-base breaks dependency 'blas'
:: r: removing atlas-lapack-base breaks dependency 'lapack'
:: suitesparse: removing atlas-lapack-base breaks dependency 'lapack'

Not sure what to do with this..

EDIT:

Also,

> sudo pacman -S cblas
resolving dependencies...
looking for conflicting packages...
:: cblas and atlas-lapack-base are in conflict. Remove atlas-lapack-base? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'blas' required by cblas
:: removing atlas-lapack-base breaks dependency 'lapack' required by arpack
:: removing atlas-lapack-base breaks dependency 'lapack' required by fflas-ffpack
:: removing atlas-lapack-base breaks dependency 'lapack' required by libgiac
:: removing atlas-lapack-base breaks dependency 'lapack' required by opencv
:: removing atlas-lapack-base breaks dependency 'lapack' required by python2-numpy
:: removing atlas-lapack-base breaks dependency 'blas' required by r
:: removing atlas-lapack-base breaks dependency 'lapack' required by r
:: removing atlas-lapack-base breaks dependency 'lapack' required by suitesparse

Last edited by geo909 (2018-05-30 17:36:56)

Offline

#4 2018-05-30 19:42:06

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,313

Re: [SOLVED] Sage crashes on startup

pacman -S blas cblas lapack

Offline

#5 2018-05-30 20:19:54

geo909
Member
Registered: 2008-09-07
Posts: 309

Re: [SOLVED] Sage crashes on startup

arojas wrote:
pacman -S blas cblas lapack

That it did, thank you very much!

Offline

Board footer

Powered by FluxBB