mpz_probab_prime_p crashes?

Torbjörn Granlund tg at gmplib.org
Fri Jun 9 00:20:16 CEST 2023


Philip Riebold <philip.riebold at gmail.com> writes:

  The test program below, pt3.c is the simplest I could produce to demonstrate
  the problem.

If that simple program would trigger a genuine GMP bug, that would be
astonishing indeed.

I have no idea why your computer gets a segfault.  Perhaps the malloc
implementation is completely broken?  Perhaps you hit bad RAM cells?

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-bugs mailing list