realroots hangs in Maxima 5.31.1-1



On 1/10/2013 4:51 AM, Wilhelm Haager wrote:
> Hi,
>
> I think, a new bug has been introduced in Maxima 5.31.1-1:
> realroots hangs when trying to calculate the real roots
> even of a simple polynomial:
>
> (%i1) p:x^3+2*x^2-2*x-1;
> (%o1) x^3+2*x^2-2*x-1
> (%i2) realroots(p); .... HANGUP!
>
> Still in Maxima 5.30 it worked fine:
>
> (%i1) p:x^3+2*x^2-2*x-1;
> (%o1) x^3+2*x^2-2*x-1
> (%i2) realroots(p);
> (%o2) [x=-87846643/33554432,x=-12816653/33554432,x=1]
>
> Any ideas?
>
> Wilhelm Haager
>
I can confirm this bug is also present with the maxima-5.31.0 release on 
windows.

It works with head compiled with SBCL 1.1.8 on windows, so it may be a 
lisp problem.