Igor Schein on Tue, 18 Jan 2000 18:56:38 -0500


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

ideallist() bug


Hi,

this one falls under bad input category:

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
? ideallist(nfinit(x^2-2),-1)
[]
? ideallist(nfinit(x^2-2),-2)
  ***   the PARI stack overflows !
  current stack size: 4.0 Mbytes
  [hint] you can increase GP stack with allocatemem()
 
? allocatemem()
  ***   Warning: doubling stack size; new stack = 8.0 MBytes.
? ideallist(nfinit(x^2-2),-2)
  ***   bug in GP (Bus Error), please report
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

This particular behavior is on Solaris 32bit, and may vary on other
platforms.  But it always eventually corrupts the stack on any
platform.

Thanks

Igor