Jeroen Demeyer on Fri, 13 May 2016 11:18:04 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Segfault on Cygwin64 when parisizemax > 4GB


Dear PARI developers,

While trying Sage on 64-bit Cygwin, we got a segfault in a cgetr() call during Sage startup. It turns out that the bug is actually in the mmap() implementation of Cygwin and it happens whenever parisizemax is larger than 4GB. The Cygwin bug is reported at
https://cygwin.com/ml/cygwin/2016-05/msg00140.html

Perhaps PARI should add a workaround for this bug, for example putting a cap on parisizemax on Cygwin?


Cheers,
Jeroen.