PARI/GP Bug report logs -
#1374
isprime fails with Bus Error
Toggle useless messages
Report forwarded to bug-submit-list@pari.math.u-bordeaux.fr, Karim.Belabas@math.u-bordeaux.fr
:
Bug#1374
; Package pari
.
(full text, mbox, link).
Acknowledgement sent to Charles Greathouse <charles.greathouse@case.edu>
:
New Bug report received and forwarded. Copy sent to Karim.Belabas@math.u-bordeaux.fr
.
(full text, mbox, link).
Message #5 received at submit@pari.math.u-bordeaux.fr (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: pari
Version: 2.6.0 git-460e83a
> N = 4309513411435775833571;
> ispseudoprime(N)
%1 = 1
> isprime(N)
*** at top-level: isprime(N)
*** ^----------
*** isprime: bug in PARI/GP (Bus Error), please report.
*** Break loop: type 'break' to go back to GP prompt
Charles Greathouse
Analyst/Programmer
Case Western Reserve University
[Message part 2 (text/html, inline)]
Reply sent to Karim Belabas <Karim.Belabas@math.u-bordeaux1.fr>
:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Charles Greathouse <charles.greathouse@case.edu>
:
Bug acknowledged by developer.
(full text, mbox, link).
Message #10 received at 1374-close@pari.math.u-bordeaux.fr (full text, mbox, reply):
* Charles Greathouse [2012-11-14 00:41]:
> > N = 4309513411435775833571;
> > ispseudoprime(N)
> %1 = 1
> > isprime(N)
> *** at top-level: isprime(N)
> *** ^----------
> *** isprime: bug in PARI/GP (Bus Error), please report.
> *** Break loop: type 'break' to go back to GP prompt
Obscure bug introduced in 28e1f18b. Fixed in master:
commit b6eefc625299e25f7d4feb1f95e43cf8bc1a4e9f
Author: Karim Belabas <Karim.Belabas@math.u-bordeaux1.fr>
Date: Wed Nov 14 02:04:12 2012 +0100
pass around pC length instead of abusing lg() [#1374]
introduced in 28e1f18b: isprime(4309513411435775833571) -> SEGV
Thanks for your report !
K.B.
--
Karim Belabas, IMB (UMR 5251) Tel: (+33) (0)5 40 00 26 17
Universite Bordeaux 1 Fax: (+33) (0)5 40 00 69 50
351, cours de la Liberation http://www.math.u-bordeaux1.fr/~belabas/
F-33405 Talence (France) http://pari.math.u-bordeaux1.fr/ [PARI/GP]
`
Send a report that this bug log contains spam.
Bill Allombert <allomber@math.u-bordeaux.fr>.
Last modified:
Fri Mar 29 08:42:29 2024;
Machine Name:
pari
PARI/GP Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.