mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2017-11-30, 15:56   #1
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

24·5·79 Posts
Default Oops

If a relations file is corrupt in such a way that it contains '1' as a putative factor, current-SVN msieve goes into an infinite loop in mp_is_prime_1.

Changing line 133 to reject p==1 fixes this
fivemack is offline   Reply With Quote
Old 2017-11-30, 17:30   #2
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

24·5·79 Posts
Default

Sorry, misdiagnosis: the file has to contain a line starting '1,0:' to trigger the problem (infinite loop in mp_is_prime_1 called from gnfs/relation.c:133)

As far as I can see, with lpb=33, composite factors larger than 2^32 will not get rejected; I don't know if this has been an issue in actually existing jobs.
fivemack is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Oops - New Prime! Prime95 News 631 2017-11-10 20:35
Merging Computers OOPS petrw1 PrimeNet 2 2017-04-15 03:24
Oops (need help recovering factorization) Dubslow YAFU 6 2015-02-26 01:32
Oops i did it again. (Prime found) ltd Prime Sierpinski Project 21 2006-01-04 14:50
Oops! Xyzzy Lounge 4 2003-01-06 22:18

All times are UTC. The time now is 11:22.

Wed Oct 21 11:22:50 UTC 2020 up 41 days, 8:33, 0 users, load averages: 1.63, 1.55, 1.54

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.