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

72×131 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

72×131 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! (M49 related) 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 01:14.


Sat Jul 17 01:14:11 UTC 2021 up 49 days, 23:01, 1 user, load averages: 1.27, 1.09, 1.28

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.