Report forwarded
to bug-submit-list@pari.math.u-bordeaux.fr, Aurel Page <aurel.page@normalesup.org>: Bug#2469; Package pari-stable.
(Tue, 28 Mar 2023 14:48:01 GMT) (full text, mbox, link).
Acknowledgement sent
to dima.pasechnik@cs.ox.ac.uk:
New Bug report received and forwarded. Copy sent to Aurel Page <aurel.page@normalesup.org>.
(Tue, 28 Mar 2023 14:48:01 GMT) (full text, mbox, link).
Package: pari-stable
Version: 2.15.3
Calling factor() on a large prime leads to a hang. With 2.13.4, the
following completes almost instantly:
$ echo "factor(2^2203-1)" | gp -qf
[... output omitted ...]
With pari 2.15.3 and 2.15.2, it keeps running seemingly forever, >10
minutes for sure.
This is apparently fixed as a by-product of
> From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
> Date: Wed, 16 Nov 2022 13:33:21 +0100
> Subject: [PATCH] Keep product of prime numbers to use in Z_factor_limit
but this is not a good idea to simply apply this, as Bill says.
---
Best,
Dima
Information forwarded
to bug-submit-list@pari.math.u-bordeaux.fr, Aurel Page <aurel.page@normalesup.org>: Bug#2469; Package pari-stable.
(Wed, 29 Mar 2023 11:03:01 GMT) (full text, mbox, link).
Acknowledgement sent
to Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>:
Extra info received and forwarded to list. Copy sent to Aurel Page <aurel.page@normalesup.org>.
(Wed, 29 Mar 2023 11:03:01 GMT) (full text, mbox, link).
From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
To: dima.pasechnik@cs.ox.ac.uk
Cc: 2694@pari.math.u-bordeaux.fr, Lorenz Panny <lorenz@yx7.cc>
Subject: Re: regression in factor() in pari 2.15.3
Date: Wed, 29 Mar 2023 12:00:37 +0200
On Tue, Mar 28, 2023 at 03:36:03PM +0100, dima.pasechnik@cs.ox.ac.uk wrote:
> Package: pari-stable
> Version: 2.15.3
>
> Calling factor() on a large prime leads to a hang. With 2.13.4, the
> following completes almost instantly:
>
> $ echo "factor(2^2203-1)" | gp -qf
>
> [... output omitted ...]
>
> With pari 2.15.3 and 2.15.2, it keeps running seemingly forever, >10
> minutes for sure.
>
> This is apparently fixed as a by-product of
> > From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
> > Date: Wed, 16 Nov 2022 13:33:21 +0100
> > Subject: [PATCH] Keep product of prime numbers to use in Z_factor_limit
Also the first bad commit is
commit 22373e45d14f6e4848567569f559f2c6f39913f2 (HEAD, refs/bisect/bad)
Author: Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>
Date: Sun Jun 13 18:56:36 2021 +0200
ifactor_sign: fix tuning parameters for avoiding ispsp test
so what happens is probably that ifactor_sign does not detect that the number is prime.
Cheers,
Bill.
Information forwarded
to bug-submit-list@pari.math.u-bordeaux.fr, Aurel Page <aurel.page@normalesup.org>: Bug#2469; Package pari-stable.
(Mon, 03 Apr 2023 12:18:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>:
Extra info received and forwarded to list. Copy sent to Aurel Page <aurel.page@normalesup.org>.
(Mon, 03 Apr 2023 12:18:02 GMT) (full text, mbox, link).
On Wed, Mar 29, 2023 at 12:00:37PM +0200, Bill Allombert wrote:
> On Tue, Mar 28, 2023 at 03:36:03PM +0100, dima.pasechnik@cs.ox.ac.uk wrote:
> > Package: pari-stable
> > Version: 2.15.3
> >
> > Calling factor() on a large prime leads to a hang. With 2.13.4, the
> > following completes almost instantly:
> >
> > $ echo "factor(2^2203-1)" | gp -qf
> >
> > [... output omitted ...]
> >
> > With pari 2.15.3 and 2.15.2, it keeps running seemingly forever, >10
> > minutes for sure.
> >
> > This is apparently fixed as a by-product of
> > > From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
> > > Date: Wed, 16 Nov 2022 13:33:21 +0100
> > > Subject: [PATCH] Keep product of prime numbers to use in Z_factor_limit
>
> Also the first bad commit is
>
> commit 22373e45d14f6e4848567569f559f2c6f39913f2 (HEAD, refs/bisect/bad)
> Author: Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>
> Date: Sun Jun 13 18:56:36 2021 +0200
>
> ifactor_sign: fix tuning parameters for avoiding ispsp test
>
> so what happens is probably that ifactor_sign does not detect that the number is prime.
I join a patch, which I hope is correct. This is difficult to test.
Cheers,
Bill.
Information forwarded
to bug-submit-list@pari.math.u-bordeaux.fr, Aurel Page <aurel.page@normalesup.org>: Bug#2469; Package pari-stable.
(Tue, 27 Jun 2023 19:33:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>:
Extra info received and forwarded to list. Copy sent to Aurel Page <aurel.page@normalesup.org>.
(Tue, 27 Jun 2023 19:33:02 GMT) (full text, mbox, link).
From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
To: 2469@pari.math.u-bordeaux.fr
Cc: dima.pasechnik@cs.ox.ac.uk, Lorenz Panny <lorenz@yx7.cc>
Subject: Re: Bug#2469: regression in factor() in pari 2.15.3
Date: Tue, 27 Jun 2023 21:16:26 +0200
On Mon, Apr 03, 2023 at 02:13:23PM +0200, Bill Allombert wrote:
> I join a patch, which I hope is correct. This is difficult to test.
Dear Dima,
I have made a snapshot of pari 2.15.4 available that should be released in two
weeks:
https://pari.math.u-bordeaux.fr/pub/pari/snapshots/pari-2.15.4-pre1.tar.gz
Could you test that it works with sagemath ?
Cheers,
Bill
Reply sent
to Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>:
You have taken responsibility.
(Mon, 10 Jul 2023 10:03:01 GMT) (full text, mbox, link).
Notification sent
to dima.pasechnik@cs.ox.ac.uk:
Bug acknowledged by developer.
(Mon, 10 Jul 2023 10:03:01 GMT) (full text, mbox, link).
From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
To: 2469-done@pari.math.u-bordeaux.fr
Cc: dima.pasechnik@cs.ox.ac.uk, Lorenz Panny <lorenz@yx7.cc>
Subject: Re: Bug#2469: regression in factor() in pari 2.15.3
Date: Mon, 10 Jul 2023 11:42:35 +0200
On Tue, Jun 27, 2023 at 09:16:26PM +0200, Bill Allombert wrote:
> On Mon, Apr 03, 2023 at 02:13:23PM +0200, Bill Allombert wrote:
> > I join a patch, which I hope is correct. This is difficult to test.
>
> Dear Dima,
>
> I have made a snapshot of pari 2.15.4 available that should be released in two
> weeks:
> https://pari.math.u-bordeaux.fr/pub/pari/snapshots/pari-2.15.4-pre1.tar.gz
>
> Could you test that it works with sagemath ?
I have released 2.15.4 so I close this bug report.
Thanks for reporting this bug!
Cheers,
Bill
Bug archived.
Request was from Debbugs Internal Request <allomber@math.u-bordeaux.fr>
to internal_control@pari.math.u-bordeaux.fr.
(Tue, 08 Aug 2023 05:24:02 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.