Michael Somos on Tue, 15 Oct 2002 22:51:49 -0400

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

gp: segfault in quit


I just tried the following and it took a while to quit and then :

? #
   timer = 1 (on)
? u(n)=un[n];
time = 0 ms.
? oo=65 000;un=vector(oo);for(n=1,oo,un[n]=if(n<5,n,u(n-1)+u(n-2)+u(n-3)+u(n-4)));
time = 21,370 ms.
? quit
  ***   user interrupt after 190 ms.
? quit
  ***   bug in GP (Segmentation Fault), please report
? quit
  ***   bug in GP (Segmentation Fault), please report
? \v
             GP/PARI CALCULATOR Version 2.2.5 (development CHANGES-1.554)
             i686 running linux (ix86 kernel) 32-bit version -- debugging
                 (readline v4.2 enabled, extended help not available)

However, for values of oo<65K it worked so it is size sensitive.
Shalom, Michael