Package: libpari-dev
Version: 2.13.0-2
Severity: grave

The last pari upload broke giac on amd64, arm64 and mipsel :

https://buildd.debian.org/status/fetch.php?pkg=giac&arch=amd64&ver=1.6.0.25%2Bdfsg1-2%2Bb1&stamp=1604135053&raw=0


The failing test on amd64 is a segfault. I could check that running the
failing test by hand while exporting PARI_SIZE=1024000 makes the
problem disappear, and PARI_SIZE=512000 or nothing makes it come back ;
here is an abstract from giac's pari.cc:

  static struct pari_constants_initialization {

    pari_constants_initialization () {

      if (getenv("PARI_SIZE")){
        string pari_size_s(getenv("PARI_SIZE"));
        pari_mem_size= atoi(pari_size_s.c_str());
      }
      entree * ptr=functions_basic;
      for (;ptr->name;++ptr){
        pari_function_table[ptr->name]=ptr;
      }
    }
  } pari_constants_initialization_singleton;

  static void call_pari_init()
  {
    // do not initialize INIT_JMP so that PARI error do not exit
    pari_init_opts(pari_mem_size,pari_maxprime,INIT_SIGm | INIT_DFTm);
    paristack_setsize(pari_mem_size, (1<<30));
    // initialize variable ordering x,y,z
    gp_read_str("[x,y,z,t]");
  }

Since it worked with pari 2.11 and breaks with pari 2.13, I guess the
problem is on pari's side.

Setting severity to grave because it breaks another package.

I hope it helps,

JP

Reply via email to