Igor Schein on Mon, 28 Jan 2002 12:18:58 -0500


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

Re: bug with factorpadic


On Mon, Jan 28, 2002 at 10:08:51AM -0700, John Jones wrote:
> 
> Below is a transcript producing a bug with factorpadic for p=2.
> 
>                   GP/PARI CALCULATOR Version 2.1.1 (released)
>                 i686 running linux (ix86 kernel) 32-bit version
> 
> ? allocatemem() to 128.0 MBytes
> 
> ? f=x^8 + 5792*x^7 + 14671168*x^6 + 21227212800*x^5 + 19188079298432*x^4 + 11096338830817280*x^3 + 4009004198849015808*x^2 + 827336168337500405760*x + 74667146396559795097600;
> 
> ? factorpadic(f,2,10)
> 
> ***   bug in GP (Segmentation Fault), please report
> 
> ------------------
> 
> I also get an error message from factorpadic, p=2, for
> 
> x^8 + 160*x^7 + 11072*x^6 + 434176*x^5 + 46976*x^4 + 653312*x^3 + 290816*x^2 + 131072*x + 856064
> 
> In this case, the error is
> 
>   ***   impossible inverse modulo: Mod(256, 512).

Try stable version 2.1.2 or higher.  It seems to be fixed there.

Igor