On Mon, Nov 02, 2020 at 08:54:02AM +0100, Julien Puydt wrote:
> Package: libpari-dev
> Version: 2.13.0-2
> Severity: grave
> 
> The last pari upload broke giac on amd64, arm64 and mipsel :

Hello Julien,

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

To clarify, it seems it works on mipsel but not on mips64el ?
It seems only 64bit architecture are affected ?

> 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 ;

The test fails with

  ***   the thread stack overflows !
  current stack size: 512000 (0.488 Mbytes)
  [hint] set 'threadsizemax' to a nonzero value in your GPRC

This means 512000 is not sufficient. This is a fatal error.
The test cannot pass.

Probably PARI 2.13 needs a bit more memory than PARI 2.11.
512000 is still a very low value.
We never test PARI with less than 8MB on 64bit system.
64bit systems use a bit more memory than 32bit system, so
it is possible that 512000 is sufficient on 32bit but not
on 64bit.

The segfault is incidental. It is probably caused by giac not recovering
properly from such fatal errors. Do you have a backtrace of the
segfault ?

Cheers,
Bill

Reply via email to