Changes between Version 4 and Version 6 of Ticket #9837


Ignore:
Timestamp:
Aug 29, 2010, 3:24:04 PM (12 years ago)
Author:
Jeroen Demeyer
Comment:

It's actually an MPIR issue, I will report it to the MPIR people. The following MPIR program gives a Segmentation Fault:

#include <mpir.h>
int main()
{
    mpz_t Z, R;
    mpz_init(Z);
    mpz_init(R);
    mpz_ui_pow_ui(Z, 10, 100000);
    mpz_divexact(R, Z, Z);
    return 0;
}

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9837 – Description

    v4 v6  
    11Combining #9343 (new PARI) and #8664 (MPIR 2.1.1) gives Segmentation Faults.  This problem is not limited to Sage.
    22
    3 It is due to PARI 2.4.3.svn-12577 using undocumented features of the original GMP that aren't supported by MPIR.
     3It is probably due to bug in MPIR.
    44
    55Test gp script: [http://sage.math.washington.edu/home/jdemeyer/pari-mpir-bug.gp]