Thread: yafu bugs
View Single Post
Old 2019-11-13, 11:53   #473
unconnected
 
unconnected's Avatar
 
May 2009
Russia, Moscow

5·7·73 Posts
Default

While use YAFU v.1.35-beta for batch factoring it always crashes after factoring ~400 numbers.


Used options: ./yafu "factor(@)" -batchfile list -pretest 25 -of out.txt -ou uf.txt -op pr.txt -threads 4


Output:
Code:
=== Starting work on batchfile expression ===
factor(5021087590407124764178007739509945482906763851099037519643121525646762264313367379245411902455705415)
=============================================
fac: factoring 5021087590407124764178007739509945482906763851099037519643121525646762264313367379245411902455705415
fac: using pretesting plan: normal
fac: custom pretesting limit is: 25
fac: using tune info for qs/gnfs crossover
div: primes less than 10000
fmt: 1000000 iterations
rho: x^2 + 3, starting 1000 iterations on C99 
rho: x^2 + 2, starting 1000 iterations on C99 
rho: x^2 + 1, starting 1000 iterations on C99 
pm1: starting B1 = 150K, B2 = gmp-ecm default on C99
ecm: 30/30 curves on C99, B1=2K, B2=gmp-ecm default
ecm: 74/74 curves on C99, B1=11K, B2=gmp-ecm default
fopen error: Too many open files
could not open factor.log for appending
11/13/19 14:37:36 v1.35-beta @ supercomp, current ECM pretesting depth: 15.18
11/13/19 14:37:36 v1.35-beta @ supercomp, scheduled 74 curves at B1=11000 toward target pretesting depth of 25.00
Segmentation fault (core dumped)
$dmesg | tail
Code:
[65250.281298] yafu[17356]: segfault at 0 ip 00000000005eb0e4 sp 00007ffdbdb86320 error 4 in yafu[400000+38d000]
[65250.281309] Code: 33 0c 25 28 00 00 00 89 f0 75 0a 48 81 c4 d8 00 00 00 5b 5d c3 e8 fc 11 05 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 41 54 55 53 <8b> 07 48 89 fb f6 c4 20 0f 85 a6 00 00 00 89 c2 81 e2 00 80 00 00
YAFU version:
Code:
$ ./yafu


11/13/19 14:39:39 v1.35-beta @ supercomp, System/Build Info: 
Using GMP-ECM 7.0.4, Powered by GMP 6.1.2
detected Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
detected L1 = 32768 bytes, L2 = 8388608 bytes, CL = 64 bytes
measured cpu frequency ~= 2111.997520
@bsquared, let me know if you need any additional info on this. And please review previous message. I'd like to use YAFU in 'fire-and-forget' mode rather than interactive but it didn't works anymore.

Last fiddled with by unconnected on 2019-11-13 at 11:54
unconnected is online now   Reply With Quote