Igor Schein on Wed, 4 Dec 2002 03:11:55 -0500


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

memory management bug


Hi,

? ff(n)=local(v=[],w=[]);n
? f(n)=n
? ff(f(n))=n
  ***   bug in GP (Segmentation Fault), please report

I am able to reproduce it only on Linux.  FreeBSD gives a helpful
warning, indicating the nature of the problem:

? ff(n)=local(v=[],w=[]);n
? f(n)=n
? ff(f(n))=n
gp in free(): warning: chunk is already free
gp in free(): warning: chunk is already free
  ***   unknown function or error in formal parameters: ff(f(n))=n
 
Thanks

Igor