Igor Schein on Tue, 9 Nov 1999 15:06:52 -0500


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

nfgaloisconj() bug


Hi,

                GP/PARI CALCULATOR Version 2.0.18 (development)
                       Alpha running linux 64-bit version
                (readline v2.2 enabled, extended help available)

? nfgaloisconj(Pol([1,-6,-15,130,-98,-454,599,404,-749,2,262,-76,4]))
  ***   segmentation fault: bug in GP (please report).

This bug is compiler-independent and optimization independent,
but it's 64bit-specific.

Thanks 

Igor

P.S.

Here's a gdb trace:

#0  addiispec (x=0x12038af68, y=0x12038b130, nx=2, ny=2) at ../src/kernel/none/mp.c:85
#1  0x120016078 in addii (x=0x12038af58, y=0x12038b120) at ../src/kernel/none/mp.c:455
#2  0x1200dfa80 in gadd (x=0x12038af58, y=0x12038b120) at ../src/basemath/gen1.c:324
#3  0x1200d8a90 in a4galoisgen (T=0x2000135ce28, td=0x11ffff5e8) at ../src/basemath/galconj.c:1678
#4  0x1200dbac0 in galoisgen (T=0x2000135ce28, L=0x2000135c400, M=0x2000135bf78, den=0x2000135cc70, gb=0x11ffff728, 
    ga=0x11ffff758) at ../src/basemath/galconj.c:2352
#5  0x1200dd440 in galoisconj4 (T=0x2000135ce28, den=0x2000135cc70, flag=0) at ../src/basemath/galconj.c:2691
#6  0x1200ddcb4 in galoisconj0 (nf=0x2000135ce28, flag=0, d=0x0, prec=4) at ../src/basemath/galconj.c:2811
#7  0x1201ad018 in identifier () at ../src/language/anal.c:1421
#8  0x1201aa5c4 in truc () at ../src/language/anal.c:717
#9  0x1201aa0fc in facteur () at ../src/language/anal.c:655
#10 0x1201a9418 in expr () at ../src/language/anal.c:434
#11 0x1201a91f0 in seq () at ../src/language/anal.c:405
#12 0x1201a8784 in lisseq0 (t=0x12037eb70 "nfgaloisconj(Pol([1,-6,-15,130,-98,-454,599,404,-749,2,262,-76,4]))", 
    f=0x1201a9130 <seq>) at ../src/language/anal.c:162
#13 0x1201a883c in lisseq (t=0x12037eb70 "nfgaloisconj(Pol([1,-6,-15,130,-98,-454,599,404,-749,2,262,-76,4]))")
    at ../src/language/anal.c:176
#14 0x1201a8938 in readseq (c=0x12037eb70 "nfgaloisconj(Pol([1,-6,-15,130,-98,-454,599,404,-749,2,262,-76,4]))", strict=1)
    at ../src/language/anal.c:202
#15 0x1201cf2e8 in gp_main_loop () at ../src/gp/gp.c:2033
#16 0x1201d0294 in main (argc=3, argv=0x11ffffc08) at ../src/gp/gp.c:2269
#17 0x200007a9fb0 in __libc_start_main (main=0x1201cffe8 <main>, argc=3, argv=0x11ffffc08, init=0x1200144a0 <_init>, 
    fini=0x1201dab60 <_fini>, rtld_fini=0x12037eb70, stack_end=0x11ffffbf0) at ../sysdeps/generic/libc-start.c:78