6.0.0 crash at high precision mul?

Torbjörn Granlund tg at gmplib.org
Thu Jun 5 12:10:29 UTC 2014


Marc Glisse <marc.glisse at inria.fr> writes:

  Yes, better replace 65536 with something smaller in gmp-impl.h.

That's 65536 bytes, or 8192 limbs on a 64-bit machine.  It is not clear
to me that this is a too high limit, not even for a system with tiny
stack size defaults.

Perhaps mpfr allocates some larger amount of stack before dropping into
GMP?


Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-discuss mailing list