Package: pari
Version: 2.7.1 release
isprime() is causing a seg fault with a certain number.
====================================================================
./gp
GP/PARI CALCULATOR Version 2.7.1 (released)
amd64 running linux (x86-64/GMP-5.0.4 kernel) 64-bit version
compiled: Aug 21 2014, gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
threading engine: single
(readline not compiled in, extended help enabled)
Copyright (C) 2000-2014 The PARI Group
PARI/GP is free software, covered by the GNU General Public License, and comes WITHOUT ANY WARRANTY WHATSOEVER.
Type ? for help, \q to quit.
Type ?12 for how to get moral (and possibly technical) support.
parisize = 8000000, primelimit = 500000
? isprime( 2030967737887612953751815611955778057721609672149695775998900201419048774375002716065557720510887824952942799737911826638068045234238082640629966597954851668852106621828704531597859470496362810381251800973022824003330423370127762722630493369197869948901862977534730314352222720177713223750671181797 )
*** at top-level: isprime(203096773788
*** ^--------------------
*** isprime: bug in PARI/GP (Segmentation Fault), please report.
*** Break loop: type 'break' to go back to GP prompt
=======================================================================
This was on Ubuntu 14.04 LTS
=======================================================================
uname -a
Linux Hexacore 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:45:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
=======================================================================
On pari 2.5.3 it returns correctly.
Thanks,
Jonathan