Macaulay2 / Macaulay2/M2

check(1, "EnumerationCurves") running out of memory on 32-bit systems

Open
#4,413 2 comments 0 reactions 0 assignees Claimed by @d-torrance View on GitHub
build issue
Dominant language
Macaulay2
Stars
435
Forks
297
Avg merge
4d 20h
Merged PRs (30d)
11

Description

I think this was likely a test that was added in Atlanta by the testing group, as I haven't seen this one before. All the PPA builds are failing on i386 and armhf with errors similar to the following:

```m2
<>/M2/usr-dist/arm-Linux-Ubuntu-26.04/bin/M2 -q --no-preload --stop --silent -e "needsPackage(\"EnumerationCurves\",LoadDocumentation=>true,DebuggingMode=>true)" -e "debug Core; argumentMode = defaultMode - SetUlimit" -e "check(EnumerationCurves,UserMode=>false,Verbose=>true); exit 0"
-- capturing check(0, "EnumerationCurves") -- 7.3006s elapsed
-- capturing check(1, "EnumerationCurves")

*** out of memory trying to allocate 24 bytes, exiting ***
make[4]: *** [Makefile:50: check-EnumerationCurves] Error 1
```

Full log: https://launchpadlibrarian.net/863857264/buildlog_ubuntu-resolute-armhf.macaulay2_1.26.05+git202606040019-0ppa202606040419~ubuntu26.04.1_BUILDING.txt.gz

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the check(1, "EnumerationCurves") command in the issue and compare the armhf/i386 failure log with the linked pull request #4423. Trace the EnumerationCurves check and its 32-bit memory behavior. Done means the affected 32-bit PPA checks complete without the out-of-memory failure.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, operating-systems, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.