#20463: Pari segfault on Sage startup in Cygwin (2)
-------------------------------------+-------------------------------------
Reporter: embray | Owner:
Type: defect | Status: needs_work
Priority: major | Milestone: sage-7.3
Component: porting: Cygwin | Resolution:
Keywords: cygwin windows | Merged in:
Authors: Erik Bray | Reviewers:
Report Upstream: Fixed upstream, | Work issues:
in a later stable release. |
Branch: u/embray/pari- | Commit:
mmap-cygwin | e06dd9513ff729b4e0f8baff35550512ca08f388
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by jdemeyer):
* status: needs_review => needs_work
Comment:
I would prefer something along the lines of
{{{
sizemax = mem.virtual_memory_limit() // 4
if USING_BROKEN_VERSION_OF_CYGWIN and sizemax > KNOWN_WORKING_SIZE:
# Cygwin's mmap is broken for large mmaps (>~ 4GB):
# * https://trac.sagemath.org/ticket/20463
# * https://cygwin.com/ml/cygwin/2016-05/msg00140.html
#
# The underlying issue is fixed in Cygwin v2.5.2
sizemax = KNOWN_WORKING_SIZE
paristack_setsize(size, sizemax)
}}}
--
Ticket URL: <https://trac.sagemath.org/ticket/20463#comment:18>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.