realroots hangs in Maxima 5.31.1-1



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