#13211: Upgrade GAP to 4.5.6
-----------------------------------------------------------+----------------
Reporter: kini | Owner:
tbd
Type: enhancement | Status:
needs_info
Priority: major | Milestone:
sage-5.5
Component: packages | Resolution:
Keywords: | Work issues:
Report Upstream: Completely fixed; Fix reported upstream | Reviewers:
Dmitrii Pasechnik
Authors: Volker Braun | Merged in:
Dependencies: #13123, #13579 | Stopgaps:
-----------------------------------------------------------+----------------
Comment (by vbraun):
There is apparently an overflow in gap's argument parsing at `6*10^30`:
{{{
(sage-sh) vbraun@localhost:~$
/home/vbraun/opt/sage-5.4.rc4/local/gap/latest/bin/x86_64-unknown-linux-
gnu-gcc-default64/gap -l /home/vbraun/opt/sage-5.4.rc4/local/gap/latest -o
6442450943
┌───────┐ GAP, Version 4.5.6 of 16-Sep-2012 (free software, GPL)
│ GAP │ http://www.gap-system.org
└───────┘ Architecture: x86_64-unknown-linux-gnu-gcc-default64
Libs used: gmp, readline
Loading the library and packages ...
Packages: GAPDoc 1.5.1
Try '?help' for help. See also '?copyright' and '?authors'
gap>
(sage-sh) vbraun@localhost:~$
/home/vbraun/opt/sage-5.4.rc4/local/gap/latest/bin/x86_64-unknown-linux-
gnu-gcc-default64/gap -l /home/vbraun/opt/sage-5.4.rc4/local/gap/latest -o
6442450944
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
gap: halving pool size.
┌───────┐ GAP, Version 4.5.6 of 16-Sep-2012 (free software, GPL)
│ GAP │ http://www.gap-system.org
└───────┘ Architecture: x86_64-unknown-linux-gnu-gcc-default64
Libs used: gmp, readline
Loading the library and packages ...
Packages: GAPDoc 1.5.1
Try '?help' for help. See also '?copyright' and '?authors'
}}}
That explains why you get the ENOMEMs. But gap tries smaller and smaller
mmaps until it succeeds, so this is not a real problem. It will eat the
available swap space and put much more pressure on the virtual memory
system, though. I'll report this issue upstream.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13211#comment:140>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.