Olivier Wittenberg on Tue, 28 Oct 2003 09:55:42 +0100


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

bug report


Hi,

Here are two bugs I've stumbled upon one year ago. This report
applies to 2.1.4 as well as 2.1.5.

1) The following program makes GP segfault:

subst("a", a, b)

2) The following program makes the stack overflow:

x
y
valuation(Mod(x, x^2 + 1), y)

3) A variant on the previous bug:

t
w
a = nfroots(nfinit(w^2 + 1), t - 1)[1];
\\a = eval(Set(a))[1];
valuation(a, z);

It produces a stack overflow, but uncommenting the fourth line
solves the problem.

--Olivier Wittenberg