Macaulay2 / Macaulay2/M2

check(30, "AssociativeAlgebras") segfaulting on armhf

Open
#1,903 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

arm build issue Engine
Dominant language
Macaulay2
Stars
435
Forks
297
Avg merge
4d 20h
Merged PRs (30d)
11

Description

From a PPA build of the development branch in Ubuntu 21.04 on armhf:

-- running   check(30, "AssociativeAlgebras")                              
 ulimit -c unlimited; ulimit -t 700; ulimit -m 850000; ulimit -s 8192; ulimit -n 512;  cd /tmp/M2-17198-0/39-rundir/; GC_MAXIMUM_HEAP_SIZE=400M "/<<BUILDDIR>>/macaulay2-1.17.2.1+git202101300204/M2/usr-dist/arm-Linux-Ubuntu-21.04/bin/M2-binary" -q --int --no-randomize --no-readline --silent --stop --print-width 129 -e 'needsPackage("AssociativeAlgebras",Reload=>true,FileName=>"/<<BUILDDIR>>/macaulay2-1.17.2.1+git202101300204/M2/Macaulay2/packages/AssociativeAlgebras.m2")' <"/tmp/M2-17198-0/38.m2" >>"/tmp/M2-17198-0/38.tmp" 2>&1
/tmp/M2-17198-0/38.tmp:0:1: (output file) error: Macaulay2 exited with status code 1
/tmp/M2-17198-0/38.m2:0:1: (input file)
M2: *** Error 1
 -- 1.68003 seconds elapsed
 -- running   check(31, "AssociativeAlgebras")                               -- 1.05338 seconds elapsed
 -- running   check(32, "AssociativeAlgebras")                               -- 3.35071 seconds elapsed
 -- running   check(33, "AssociativeAlgebras")                               -- 1.01143 seconds elapsed
AssociativeAlgebras/tests.m2:1073:1: error:
 -- o23 : RingMap S <--- kk <|z , z , z , y , y , y |>
 --                            1   2   3   1   2   3
 -- 
 -- i24 : assert(alpha(preim) == alpha(z_1^2*z_2^3*z_3))
 -- -- SIGSEGV
 -- -* stack trace, pid: 17507
 --  0# stack_trace(std::ostream&, bool) at ./M2/Macaulay2/d/main.cpp:124
 --  1# segv_handler at ./M2/Macaulay2/d/main.cpp:240
 --  2# 0xF69881B0 in /lib/arm-linux-gnueabihf/libc.so.6
 -- -- end stack trace *-
 -- 
../m2/debugging.m2:20:6:(1):[9]: error: test(s) #30 of package AssociativeAlgebras failed.
../m2/testing.m2:97:9:(1):[8]: --back trace--

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with AssociativeAlgebras/tests.m2 at line 1073 and reproduce check(30, "AssociativeAlgebras") on armhf using the reported development-branch build. Read the nearby test setup and the referenced debugging.m2 and testing.m2 helpers; done means the assertion no longer segfaults and the package test completes successfully on the affected architecture.

Written by the indexing model from the issue text.

Assessment

Domain
operating-systems, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.