View Single Post
Old 2020-03-24, 20:33   #73
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

62568 Posts
Default

Quote:
Originally Posted by RedGolpe View Post
I tried factor(p) on primes of various size on my almost-working build. It apparently segfaults for all primes below 10000 and succeeds for all primes above. It also seems to segfault for all factorizations whose input factors in such small primes, and not otherwise. That would explain why "tune" succeeds, that being focused on products of two large primes. This hypothesis is also consistent with my previous segfaults, including the C89 divisible by 5.
Thank you, this is extremely helpful! It seems to isolate the problem to when trial division succeeds.
bsquared is offline   Reply With Quote