Package: pari-gp
Version: 2.11.2-1

When starting with a big parisize on armel (and armhf, mipsel and
powerpc, if I remember well), gp can get stuck on simple computations :

parisize = 1000000000, primelimit = 500000, nbthreads = 4
? isprime(293911884200387681576093)
  *** isprime: Warning: not enough memory, new thread stack 500002816
  *** isprime: Warning: not enough memory, new thread stack 250003456
  *** isprime: Warning: not enough memory, new thread stack 125001728
  *** isprime: Warning: not enough memory, new thread stack 500002816
  *** isprime: Warning: not enough memory, new thread stack 250003456
  *** isprime: Warning: not enough memory, new thread stack 125001728
  *** isprime: Warning: not enough memory, new thread stack 62500864
  *** isprime: Warning: not enough memory, new thread stack 31252480
  *** isprime: Warning: not enough memory, new thread stack 15626240
(and there you have to kill gp or it never ends)

where the default gives :

parisize = 4000000, primelimit = 500000, nbthreads = 4
? isprime(293911884200387681576093)
%1 = 1

Of course, the problem arised in eclib and that's where it will be
patched, but the fact that pari broke on some arches is - as far as I
can tell - still an indication something isn't correct in the code : it
used to work, and doesn't anymore.

Happy new year,

JP

Reply via email to