Subject: Re: bug#25135: Infinite loop in factor
From: Pádraig Brady <[email-masked]>
To: Niels Möller <[email-masked]>, [email-masked]
Cc: "Eggen, Bernd" <[email-masked]>, Torbjorn Granlund <[email-masked]>
Date: Thu, 8 Dec 2016 10:23:01 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

On 08/12/16 07:50, Niels Möller wrote:
> Hi,
> 
> I've got an interesting bug report saying that 
> 
>   factor 158909489063877810457
> 
> is very slow (actually, I don't think it ever terminates).

Fixes pushed at:

http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.26-3-gc44da11
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.26-4-gca52f3b

The factor tests you looked at are a bit special.
I updated a separate test and tested like:

  make TESTS=tests/misc/factor.pl SUBDIRS=. check

To run that particular test you were looking at, it's:

  make TESTS=tests/factor/t00.sh RUN_VERY_EXPENSIVE_TESTS=yes SUBDIRS=. check

thanks!
Pádraig