View Single Post
2020-03-24, 20:33   #73
bsquared

"Ben"
Feb 2007

CC116 Posts

Quote:
 Originally Posted by RedGolpe 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.