Bill Allombert on Tue, 28 Jun 2016 23:56:23 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Seg fault in polrootsmod

On Wed, Jun 29, 2016 at 07:37:24AM +1000, Kevin Acres wrote:
> I'm attempting polrootsmod(x^3-1, 2^991-1) and getting a seg fault. 
> The error text requests that this be reported. 
> I'm using 2.7.2 64 bit under Linux x86-64 with gmp 6.0.0 and gcc 4.5.5. 

The root of the issue is that 2^991-1 is not prime, which is assumed by
polrootsmod. We will add a proper error message.

Thanks for your report!