Phil Carmody on Fri, 14 Nov 2003 20:07:18 +0100


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

Re: nffactor() bug


--- Igor Schein <igor@txc.com> wrote:
> Hi,
> 
>                  GP/PARI CALCULATOR Version 2.2.7 (development)
>                Itanium running linux (ia64 kernel) 64-bit version
>                         compiled: Nov 14 2003, gcc-3.2.2
>                 (readline v4.2 enabled, extended help available)
> 
> ?
>
nffactor(nfinit(y^4+7^2),x^28-14*x^24+20321*x^20+166992*x^16+1171296*x^12+1342208*x^8-5005056*x^4+3211264);
>     
>   ***   bug in GP (Segmentation Fault), please report

Last night's nightly build on Alpha using GMP does the same thing:
<<<
paricvs@megaspaz:~/pari$ Oalpha-gmp-gcc/gp-sta 
Reading GPRC: /etc/gprc ...Done.

GP/PARI CALCULATOR Version 2.2.7 (development CHANGES-1.854)
Alpha running linux (Alpha/GMP-4.1.2 kernel) 64-bit version
compiled: Nov 14 2003, gcc-3.3.2 (Debian)
(readline v4.3 enabled, extended help not available)
...
   realprecision = 38 significant digits
   seriesprecision = 16 significant terms
   format = g0.38

parisize = 8000000, primelimit = 500000
?
nffactor(nfinit(y^4+7^2),x^28-14*x^24+20321*x^20+166992*x^16+1171296*x^12+1342208*x^8-5005056*x^4+3211264);
  ***   bug in GP (Segmentation Fault), please report

>>>

basic bt from gdb:
<<<
?
nffactor(nfinit(y^4+7^2),x^28-14*x^24+20321*x^20+166992*x^16+1171296*x^12+1342208*x^8-5005056*x^4+3211264);

Program received signal SIGSEGV, Segmentation fault.
0x0000000120299b78 in bestlift_init ()
(gdb) bt
#0  0x0000000120299b78 in bestlift_init ()
#1  0x0000000120297928 in nfsqff ()
#2  0x0000000120296bcc in nffactor ()
#3  0x00000001202c8e90 in identifier ()
#4  0x00000001202c82c4 in truc ()
#5  0x00000001202c7498 in facteur ()
#6  0x00000001202c6b04 in expr ()
#7  0x00000001202c69a8 in seq ()
#8  0x00000001202d4f5c in lisseq0 ()
#9  0x00000001202c5e2c in readseq ()
#10 0x000000012030b01c in gp_main_loop ()
#11 0x0000000120304624 in main ()
#12 0x0000020000214e98 in __libc_start_main () from /lib/libc.so.6.1
>>>

Phil

=====
When inserting a CD, hold down shift to stop the AutoRun feature
In the Device Manager, disable the SbcpHid device.
http://www.cs.princeton.edu/~jhalderm/cd3/

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree