Sage Crash Report

74 views
Skip to first unread message

Erik Wallace

unread,
Apr 23, 2019, 6:28:03 AM4/23/19
to sage-s...@googlegroups.com
Hello,
   I am submitting this crash report. I downloaded sage from the Ubuntu repo. Please let me know, how I can fix this. Thanks.
Sincerely,

Erik
Sage_crash_report.txt

Vincent Delecroix

unread,
Apr 27, 2019, 9:08:05 PM4/27/19
to sage-s...@googlegroups.com
Hello,

What did you downloaded exactly? You meant that you installed
Sage from via the package manager (apt)?

Best
Vincent

Erik Wallace

unread,
Apr 28, 2019, 7:05:46 PM4/28/19
to sage-s...@googlegroups.com
Yes, I downloaded via apt. The supporting python packages were also downloaded via apt.

--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
To post to this group, send email to sage-s...@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Vincent Delecroix

unread,
Apr 28, 2019, 8:46:45 PM4/28/19
to sage-s...@googlegroups.com
I do not see anything obvious in the crash report that explains the
problem. For each thing below could you copy paste the full output
of what appears in the console.

1. The list of sagemath packages installed

$ apt list --installed | grep sagemath

2. Files in /usr/lib/python2.7/dist-packages/sage/structure via

$ ls -l /usr/lib/python2.7/dist-packages/sage/structure/

Erik Wallace

unread,
May 1, 2019, 12:36:05 PM5/1/19
to sage-s...@googlegroups.com
Here is the output:

$ apt list --installed | grep sagemath

sagemath-common/bionic,bionic,now 8.1-7ubuntu1 all [installed]

$ ls -l /usr/lib/python2.7/dist-packages/sage/structure/

total 808
-rw-r--r-- 1 root root   641 Dec  7  2017 all.py
-rw-r--r-- 1 root root  1114 Apr 15 21:51 all.pyc
-rw-r--r-- 1 root root   986 Dec  7  2017 category_object.pxd
-rw-r--r-- 1 root root   376 Dec  7  2017 coerce_actions.pxd
-rw-r--r-- 1 root root   851 Dec  7  2017 coerce_dict.pxd
-rw-r--r-- 1 root root   953 Dec  7  2017 coerce_exceptions.py
-rw-r--r-- 1 root root   868 Apr 15 21:51 coerce_exceptions.pyc
-rw-r--r-- 1 root root   463 Dec  7  2017 coerce_maps.pxd
-rw-r--r-- 1 root root  1086 Dec  7  2017 coerce.pxd
-rw-r--r-- 1 root root   154 Dec  7  2017 debug_options.pxd
-rw-r--r-- 1 root root 19675 Dec  7  2017 dynamic_class.py
-rw-r--r-- 1 root root 18719 Apr 15 21:51 dynamic_class.pyc
-rw-r--r-- 1 root root  7836 Dec  7  2017 element.pxd
-rw-r--r-- 1 root root   265 Dec  7  2017 element_wrapper.pxd
-rw-r--r-- 1 root root  3780 Dec  7  2017 factorization_integer.py
-rw-r--r-- 1 root root  4282 Apr 15 21:51 factorization_integer.pyc
-rw-r--r-- 1 root root 39922 Dec  7  2017 factorization.py
-rw-r--r-- 1 root root 41925 Apr 15 21:51 factorization.pyc
-rw-r--r-- 1 root root 15267 Dec  7  2017 formal_sum.py
-rw-r--r-- 1 root root 16707 Apr 15 21:51 formal_sum.pyc
-rw-r--r-- 1 root root  2035 Dec  7  2017 gens_py.py
-rw-r--r-- 1 root root  1795 Apr 15 21:51 gens_py.pyc
-rw-r--r-- 1 root root 66908 Dec  7  2017 global_options.py
-rw-r--r-- 1 root root 63304 Apr 15 21:51 global_options.pyc
-rw-r--r-- 1 root root  7908 Dec  7  2017 graphics_file.py
-rw-r--r-- 1 root root  9747 Apr 15 21:51 graphics_file.pyc
-rw-r--r-- 1 root root 26183 Dec  7  2017 indexed_generators.py
-rw-r--r-- 1 root root 24447 Apr 15 21:51 indexed_generators.pyc
-rw-r--r-- 1 root root     0 Dec  7  2017 __init__.py
-rw-r--r-- 1 root root   146 Apr 15 21:51 __init__.pyc
-rw-r--r-- 1 root root  2043 Dec  7  2017 list_clone.pxd
-rw-r--r-- 1 root root  6718 Dec  7  2017 list_clone_timings.py
-rw-r--r-- 1 root root  7534 Apr 15 21:51 list_clone_timings.pyc
-rw-r--r-- 1 root root   532 Dec  7  2017 mutability.pxd
-rw-r--r-- 1 root root   646 Dec  7  2017 nonexact.py
-rw-r--r-- 1 root root  1343 Apr 15 21:51 nonexact.pyc
-rw-r--r-- 1 root root   538 Dec  7  2017 parent_base.pxd
-rw-r--r-- 1 root root   743 Dec  7  2017 parent_gens.pxd
-rw-r--r-- 1 root root  1314 Dec  7  2017 parent_old.pxd
-rw-r--r-- 1 root root  4142 Dec  7  2017 parent.pxd
drwxr-xr-x 2 root root  4096 Apr 15 21:51 proof
-rw-r--r-- 1 root root  4892 Dec  7  2017 richcmp.pxd
-rw-r--r-- 1 root root    32 Dec  7  2017 sage_object.pxd
-rw-r--r-- 1 root root 26596 Dec  7  2017 sequence.py
-rw-r--r-- 1 root root 27439 Apr 15 21:51 sequence.pyc
-rw-r--r-- 1 root root 17209 Dec  7  2017 set_factories_example.py
-rw-r--r-- 1 root root 20559 Apr 15 21:51 set_factories_example.pyc
-rw-r--r-- 1 root root 41168 Dec  7  2017 set_factories.py
-rw-r--r-- 1 root root 43362 Apr 15 21:51 set_factories.pyc
-rw-r--r-- 1 root root  1751 Dec  7  2017 test_factory.py
-rw-r--r-- 1 root root  1871 Apr 15 21:51 test_factory.pyc
-rw-r--r-- 1 root root 50516 Dec  7  2017 unique_representation.py
-rw-r--r-- 1 root root 51060 Apr 15 21:51 unique_representation.pyc

Clemens

unread,
May 11, 2019, 3:14:16 AM5/11/19
to sage-s...@googlegroups.com
OS: macOS 10.14
Installed from: sage-8.7-OSX_10.13.6-x86_64.dmg (Extracted to ~/SageMath)

How to reproduce:
I wanted to use zeta_zeros(). The help documents the dependency "database_odlyzko_zeta", which I then tried to install as follows:
./sage -i database_odlyzko_zeta

However, this failed with the following error:

ImportError: dlopen(/Users/clemens/SageMath/local/lib/python2.7/site-packages/sage/symbolic/ring.so, 2): Symbol not found: __ZNSt3__16vectorIN5GiNaC2exENS_9allocatorIS2_EEE11__vallocateEm
Referenced from: /Users/clemens/SageMath/local/lib/python2.7/site-packages/sage/symbolic/ring.so
Expected in: flat namespace
in /Users/clemens/SageMath/local/lib/python2.7/site-packages/sage/symbolic/ring.so

See crash report attached to this mail for more details.

Thanks and best regards,
Clemens

Sage_crash_report.txt

Dima Pasechnik

unread,
May 11, 2019, 6:42:51 AM5/11/19
to sage-support
It would be good to know whether your Sage installation is working at all.
In case, can you try some simple computations at Sage prompt?
> --
> You received this message because you are subscribed to the Google Groups "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
> To post to this group, send email to sage-s...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/EE213D24-09A8-42DB-AAE2-22B7FF8F1D63%40gmail.com.

Clemens

unread,
May 11, 2019, 12:41:06 PM5/11/19
to sage-support
Hi,

I am sorry I double posted but I though my post did not get through (I did not find it because it was added to an existing topic/post, probably due to the subject?)

Yes, the sage installation works. The error also occurs if I download the source tarball and try to install from source.

Thanks,
Clemens

On Saturday, May 11, 2019 at 8:42:51 AM UTC+2, Dima Pasechnik wrote:
It would be good to know whether your Sage installation is working at all.
In case, can you try some simple computations at Sage prompt?

On Sat, May 11, 2019 at 4:14 AM Clemens <cleme...@gmail.com> wrote:
>
> OS: macOS 10.14
> Installed from: sage-8.7-OSX_10.13.6-x86_64.dmg (Extracted to ~/SageMath)
>
> How to reproduce:
> I wanted to use zeta_zeros(). The help documents the dependency "database_odlyzko_zeta", which I then tried to install as follows:
> ./sage -i database_odlyzko_zeta
>
> However, this failed with the following error:
>
> ImportError: dlopen(/Users/clemens/SageMath/local/lib/python2.7/site-packages/sage/symbolic/ring.so, 2): Symbol not found: __ZNSt3__16vectorIN5GiNaC2exENS_9allocatorIS2_EEE11__vallocateEm
>  Referenced from: /Users/clemens/SageMath/local/lib/python2.7/site-packages/sage/symbolic/ring.so
>  Expected in: flat namespace
> in /Users/clemens/SageMath/local/lib/python2.7/site-packages/sage/symbolic/ring.so
>
> See crash report attached to this mail for more details.
>
> Thanks and best regards,
> Clemens
>
> --
> You received this message because you are subscribed to the Google Groups "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-s...@googlegroups.com.

Erik Wallace

unread,
May 14, 2019, 11:40:46 PM5/14/19
to sage-s...@googlegroups.com
I still have not received an answer to this. Is the information I provided helpful or do you need more?

Vincent Delecroix

unread,
May 15, 2019, 5:48:09 AM5/15/19
to sage-s...@googlegroups.com
Why is the package named "sagemath" not installed? Did you
intentionally install only "sagemath-common"? To have a
fully working SageMath installation you need the
three packages

sagemath sagemath-doc-en sagemath-jupyter

The package "sagemath-common" is a dependency of the first one of
these.

Note that this is documented at

http://doc.sagemath.org/html/en/installation/linux.html#sec-gnu-linux

Vincent
Reply all
Reply to author
Forward
0 new messages