Hoi Jaap,

it's interesting to dig more into these segfaults, they might be due
to Rasberry Pi CPU being ARM,
and we didn't test Sage on ARM for the last 4-5 years.

Dima

On Mon, Dec 30, 2019 at 11:17 PM Jaap Spies <jaapsp...@gmail.com> wrote:
>
> Why? Because it is possible. And the OS Raspbian is distributed with a 
> version of Mathematica 12.0
>
> First attempt was building sage-8.9. Just did a 'make' after downloading. The 
> RPi 4 showed unstable.
> The little computer stalled a few times. Power off and power on. After 12 
> hours there was a running sage.
> Building the docs failed consistently. I ran a few tests.
>
> Secondly I did a "MAKE='make -j4' make". After a few hick-ups I changed to 
> 'make -j3' and got sage running, but building the docs
> failed on the same spot.
>
> Third was a try to build sage-9.0.beta9 with 'make -j3'. Again a few freezes, 
> but the building of the docs succeeded!
> The same with sage-9.0.beta10. Testing with 'make ptestlong' lasted long. It 
> was good my RPi 4 had active cooling with temperatures
> up to 75 degrees Celcius. There were 60 failures, some segmentation faults 
> some Time Outs.
> Most of the errors were resolved by running a bash script to test files 
> individually.
>
> The building of sage-9.0.rc0 ended in problems with building scipy. My idea 
> of computers being deterministic is chocked.
> I started with a clean source. And to my surprise only a few hick-ups and 
> after 'make ptestlong' 56 failed tests.
> Most of them were resolved. See above.
>
> As we speak now sage-9.0.rc1 is doing a 'make ptestlong'. Probably will 
> finish in a few hours.
>
> My conclusion so far: Sage can be built on a Rarpberry Pi 4, but certainly 
> not unattended.
>
> Most remarkable:
> Saved trace to /home/pi/.sage/crash_logs/crash_s8ljau3w.log
> ------------------------------------------------------------------------
> Unhandled SIGSEGV: A segmentation fault 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.
> ------------------------------------------------------------------------
>
> **********************************************************************
>
> sage -t --long --warn-long 248.7 
> src/sage/rings/function_field/function_field.py  # Timed out
> sage -t --long --warn-long 248.7 
> src/sage/schemes/elliptic_curves/ell_rational_field.py  # Timed out
> sage -t --long --warn-long 248.7 
> src/sage/schemes/elliptic_curves/isogeny_class.py  # Killed due to 
> segmentation fault
> sage -t --long --warn-long 248.7 src/sage/modular/pollack_stevens/modsym.py  
> # Timed out
> sage -t --long --warn-long 248.7 
> src/sage/rings/function_field/function_field_valuation.py  # Timed out
> sage -t --long --warn-long 248.7 src/sage/rings/padics/padic_base_leaves.py  
> # Timed out
> sage -t --long --warn-long 248.7 src/sage/combinat/tableau.py  # Killed due 
> to segmentation fault
> sage -t --long --warn-long 248.7 
> src/sage/rings/valuation/augmented_valuation.py  # Timed out
> sage -t --long --warn-long 248.7 
> src/sage/schemes/hyperelliptic_curves/hyperelliptic_padic_field.py  # Timed 
> out
> sage -t --long --warn-long 248.7 
> src/sage/combinat/root_system/root_lattice_realization_algebras.py  # Killed 
> due to segmentation fault
> sage -t --long --warn-long 248.7 
> src/sage/modular/modform_hecketriangle/readme.py  # Killed due to 
> segmentation fault
> sage -t --long --warn-long 248.7 src/sage/structure/coerce_dict.pyx  # 1 
> doctest failed
> sage -t --long --warn-long 248.7 
> src/sage/schemes/elliptic_curves/constructor.py  # Timed out
> sage -t --long --warn-long 248.7 
> src/sage/combinat/crystals/kirillov_reshetikhin.py  # Timed out
> sage -t --long --warn-long 248.7 src/sage/combinat/shifted_primed_tableau.py  
> # Killed due to segmentation fault
> sage -t --long --warn-long 248.7 src/sage/categories/finite_monoids.py  # 
> Timed out
> sage -t --long --warn-long 248.7 
> src/sage/combinat/root_system/integrable_representations.py  # Timed out
> sage -t --long --warn-long 248.7 
> src/sage/combinat/crystals/littelmann_path.py  # Timed out
> sage -t --long --warn-long 248.7 src/sage/rings/tests.py  # Killed due to 
> segmentation fault
> sage -t --long --warn-long 248.7 src/doc/ca/intro/index.rst  # Timed out
> sage -t --long --warn-long 248.7 src/sage/modular/abvar/homspace.py  # Timed 
> out
> sage -t --long --warn-long 248.7 src/sage/groups/libgap_morphism.py  # Timed 
> out
> sage -t --long --warn-long 248.7 
> src/sage/rings/function_field/differential.py  # Killed due to segmentation 
> fault
> sage -t --long --warn-long 248.7 src/sage/combinat/posets/poset_examples.py  
> # Timed out
> sage -t --long --warn-long 248.7 
> src/sage/tests/books/computational-mathematics-with-sagemath/mpoly_doctest.py 
>  # Timed out
> sage -t --long --warn-long 248.7 
> src/sage/algebras/lie_algebras/verma_module.py  # Timed out
> sage -t --long --warn-long 248.7 src/sage/rings/padics/padic_valuation.py  # 
> Killed due to segmentation fault
> sage -t --long --warn-long 248.7 src/sage/rings/complex_number.pyx  # Killed 
> due to segmentation fault
> sage -t --long --warn-long 248.7 src/sage/geometry/fan.py  # Timed out
> sage -t --long --warn-long 248.7 src/sage/rings/function_field/element.pyx  # 
> Timed out
> sage -t --long --warn-long 248.7 
> src/sage/schemes/elliptic_curves/descent_two_isogeny.pyx  # Timed out
> sage -t --long --warn-long 248.7 src/sage/geometry/fan_morphism.py  # Timed 
> out
> sage -t --long --warn-long 248.7 
> src/sage/schemes/elliptic_curves/cardinality.py  # Timed out
> sage -t --long --warn-long 248.7 src/sage/combinat/plane_partition.py  # 
> Killed due to segmentation fault
> sage -t --long --warn-long 248.7 src/sage/schemes/toric/toric_subscheme.py  # 
> Timed out
> sage -t --long --warn-long 248.7 src/sage/libs/pari/tests.py  # Killed due to 
> segmentation fault
> sage -t --long --warn-long 248.7 src/sage/graphs/bipartite_graph.py  # Timed 
> out
> sage -t --long --warn-long 248.7 src/sage/rings/polynomial/polynomial_ring.py 
>  # Timed out
> sage -t --long --warn-long 248.7 src/sage/combinat/matrices/latin.py  # Timed 
> out
> sage -t --long --warn-long 248.7 
> src/sage/rings/number_field/number_field_base.pyx  # Timed out
> sage -t --long --warn-long 248.7 src/sage/groups/abelian_gps/abelian_aut.py  
> # Timed out
> sage -t --long --warn-long 248.7 src/sage/geometry/fan_isomorphism.py  # 
> Timed out
> sage -t --long --warn-long 248.7 src/sage/structure/factorization.py  # 
> Killed due to segmentation fault
> sage -t --long --warn-long 248.7 
> src/sage/categories/finite_permutation_groups.py  # Killed due to 
> segmentation fault
> sage -t --long --warn-long 248.7 
> src/sage/combinat/designs/difference_matrices.py  # Killed due to 
> segmentation fault
> sage -t --long --warn-long 248.7 src/sage/schemes/toric/homset.py  # Timed out
> sage -t --long --warn-long 248.7 src/sage/misc/weak_dict.pyx  # 11 doctests 
> failed
> sage -t --long --warn-long 248.7 
> src/sage/rings/polynomial/polynomial_quotient_ring_element.py  # Timed out
> sage -t --long --warn-long 248.7 
> src/sage/rings/number_field/small_primes_of_degree_one.py  # Timed out
> sage -t --long --warn-long 248.7 src/sage/modules/quotient_module.py  # Timed 
> out
> sage -t --long --warn-long 248.7 src/sage/cpython/dict_del_by_value.pyx  # 1 
> doctest failed
> sage -t --long --warn-long 248.7 src/sage/rings/valuation/scaled_valuation.py 
>  # Timed out
> sage -t --long --warn-long 248.7 src/sage/arith/rational_reconstruction.pyx  
> # Killed due to segmentation fault
> sage -t --long --warn-long 248.7 
> src/sage/rings/padics/padic_capped_relative_element.pyx  # Timed out
> sage -t --long --warn-long 248.7 src/sage/rings/padics/misc.py  # Timed out
> sage -t --long --warn-long 248.7 src/sage/structure/parent.pyx  # Timed out
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/87d0dc7c-817b-4229-b4b7-b373769d5961%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq2N4hdax0fKpTvK2XzCCLhJXgs2Gy%3DEcEUZOng%3DbW44og%40mail.gmail.com.

Reply via email to