Karim BELABAS on Tue, 28 Oct 2003 12:52:57 +0100


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

Re: bug report


On Tue, 28 Oct 2003, Olivier Wittenberg wrote:
> 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.

All fixed in CVS. The latter two since 5 minutes ago :-)

Thanks !

    Karim.
-- 
Karim Belabas                     Tel: (+33) (0)1 69 15 57 48
Dép. de Mathématiques, Bât. 425   Fax: (+33) (0)1 69 15 60 19
Université Paris-Sud              http://www.math.u-psud.fr/~belabas/
F-91405 Orsay (France)            http://pari.math.u-bordeaux.fr/  [PARI/GP]