Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There are some bugs in this avx ecm. #1

Closed
lyciumlee opened this issue Jan 18, 2022 · 8 comments
Closed

There are some bugs in this avx ecm. #1

lyciumlee opened this issue Jan 18, 2022 · 8 comments

Comments

@lyciumlee
Copy link

https://github.com/lyciumlee/yafu-2.0-with-avx512-and-sse4.1
I merge all dependences of yafu. When I want to factor this number. I will receive segment falut.

factor(4233133576589787911052873395725373610641079968802963985967)

Following text is the message from gdb.
`
[New Thread 0x7fffac4ce700 (LWP 1496680)]
[New Thread 0x7fffabccd700 (LWP 1496681)]
[New Thread 0x7fffab4cc700 (LWP 1496682)]
[New Thread 0x7fffaaccb700 (LWP 1496683)]
--Type for more, q to quit, c to continue without paging--

Thread 124 "yafu" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffad4d0700 (LWP 1496678)]
vecsqrmod52 (a=0xd6abde0, c=0xd6ab6e0, n=0xd6acbe0, s=0xd6ac4e0,
mdata=) at factor/avx-ecm/vecarith52.c:14433
14433 _mm512_store_epi64(s->data + (i * BLOCKWORDS + j) * VECLEN, a0);
(gdb)
`

@lyciumlee
Copy link
Author

It seem that it can work at most of time. But this number will crash it.

@bbuhrow
Copy link
Owner

bbuhrow commented Jan 18, 2022 via email

@lyciumlee
Copy link
Author

When I use following instructions to start yafu.
`./yafu -v -v

YAFU Version 2.07
Built with GCC 9
Using GMP-ECM 7.0.5-dev, Powered by GMP 6.2.1
Detected Intel Xeon Processor (Cascadelake)
Detected L1 = 32768 bytes, L2 = 16777216 bytes, CL = 64 bytes
Using 1 random witness for Rabin-Miller PRP checks
Cached 664579 primes; max prime is 9999991

===============================================================
======= Welcome to YAFU (Yet Another Factoring Utility) =======
======= bbuhrow@gmail.com =======
======= Type help at any time, or quit to quit =======

factor(4233133576589787911052873395725373610641079968802963985967)
fac: check tune params contained invalid parameter(s), ignoring tune info.
qs_mult = 0.000000e+00
qs_exp = 0.000000e+00
qs_freq = 0.000000e+00
nfs_mult = 0.000000e+00
nfs_exp = 0.000000e+00
nfs_freq = 0.000000e+00
fac: factoring 4233133576589787911052873395725373610641079968802963985967
fac: using pretesting plan: normal
fac: check tune params contained invalid parameter(s), ignoring tune info.
qs_mult = 0.000000e+00
qs_exp = 0.000000e+00
qs_freq = 0.000000e+00
nfs_mult = 0.000000e+00
nfs_exp = 0.000000e+00
nfs_freq = 0.000000e+00
fac: no tune info: using qs/gnfs crossover of 100 digits
fac: no tune info: using qs/snfs crossover of 75 digits
div: primes less than 10000
fmt: 10000000 iterations
99%fmt: performed 507 perfect square checks
rho: x^2 + 3, starting 500 iterations on C58
rho: x^2 + 2, starting 500 iterations on C58
rho: x^2 + 1, starting 500 iterations on C58
fac: check tune params contained invalid parameter(s), ignoring tune info.
qs_mult = 0.000000e+00
qs_exp = 0.000000e+00
qs_freq = 0.000000e+00
nfs_mult = 0.000000e+00
nfs_exp = 0.000000e+00
nfs_freq = 0.000000e+00
pm1: starting B1 = 150K, B2 = gmp-ecm default on C58
Using B1=1-150000, B2=65340396, polynomial x^1
Step 1 took 8ms
Step 2 took 19ms
pm1: Process took 0.0338 seconds.
fac: check tune params contained invalid parameter(s), ignoring tune info.
qs_mult = 0.000000e+00
qs_exp = 0.000000e+00
qs_freq = 0.000000e+00
nfs_mult = 0.000000e+00
nfs_exp = 0.000000e+00
nfs_freq = 0.000000e+00
fac: setting target pretesting digits to 17.85
fac: estimated sum of completed work is t0.00
fac: work done at B1=2000: 0 curves, max work = 30 curves
fac: 30 more curves at B1=2000 needed to get to t17.85
process id is 1648701
commencing parallel ecm on 4233133576589787911052873395725373610641079968802963985967 with 64 threads
ECM has been configured with DIGITBITS = 52, VECLEN = 8, GMP_LIMB_BITS = 64
Choosing MAXBITS = 208, NWORDS = 4, NBLOCKS = 1 based on input size 192
configuring avx-ecm with 64 threads
Input has 192 bits, using 64 threads (1 curves/thread)
Processing in batches of 100000000 primes
Initialization took 0.1724 seconds.
found 18061 primes in range [0 : 201000]
ecm: 512/64 curves on C58 @ B1=2000, B2=100*B1
Commencing curves 0-511 of 64
Building curves took 0.0183 seconds.
Commencing Stage 1 @ prime 2
Segmentation fault (core dumped)
`

@lyciumlee
Copy link
Author

when I use gdb to attach yafu.
`gdb ./yafu
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./yafu...
(gdb) set ar
architecture args
(gdb) set ar
architecture args
(gdb) set args -v -v
(gdb) r
rbreak restart reverse-search
rc restore reverse-step
record return reverse-stepi
refresh reverse-continue rni
remote reverse-finish rsi
remove-inferiors reverse-next run
remove-symbol-file reverse-nexti rwatch
(gdb) r
rbreak restart reverse-search
rc restore reverse-step
record return reverse-stepi
refresh reverse-continue rni
remote reverse-finish rsi
remove-inferiors reverse-next run
remove-symbol-file reverse-nexti rwatch
(gdb) run
Starting program: /home/lll/easy_compile_yafu_2_0/yafu/yafu -v -v
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

YAFU Version 2.07
Built with GCC 9
Using GMP-ECM 7.0.5-dev, Powered by GMP 6.2.1
Detected Intel Xeon Processor (Cascadelake)
Detected L1 = 32768 bytes, L2 = 16777216 bytes, CL = 64 bytes
Using 1 random witness for Rabin-Miller PRP checks
Cached 664579 primes; max prime is 9999991

===============================================================
======= Welcome to YAFU (Yet Another Factoring Utility) =======
======= bbuhrow@gmail.com =======
======= Type help at any time, or quit to quit =======

factor(4233133576589787911052873395725373610641079968802963985967)
fac: check tune params contained invalid parameter(s), ignoring tune info.
qs_mult = 0.000000e+00
qs_exp = 0.000000e+00
qs_freq = 0.000000e+00
nfs_mult = 0.000000e+00
nfs_exp = 0.000000e+00
nfs_freq = 0.000000e+00
fac: factoring 4233133576589787911052873395725373610641079968802963985967
fac: using pretesting plan: normal
fac: check tune params contained invalid parameter(s), ignoring tune info.
qs_mult = 0.000000e+00
qs_exp = 0.000000e+00
qs_freq = 0.000000e+00
nfs_mult = 0.000000e+00
nfs_exp = 0.000000e+00
nfs_freq = 0.000000e+00
fac: no tune info: using qs/gnfs crossover of 100 digits
fac: no tune info: using qs/snfs crossover of 75 digits
div: primes less than 10000
fmt: 10000000 iterations
99%fmt: performed 507 perfect square checks
rho: x^2 + 3, starting 500 iterations on C58
rho: x^2 + 2, starting 500 iterations on C58
rho: x^2 + 1, starting 500 iterations on C58
fac: check tune params contained invalid parameter(s), ignoring tune info.
qs_mult = 0.000000e+00
qs_exp = 0.000000e+00
qs_freq = 0.000000e+00
nfs_mult = 0.000000e+00
nfs_exp = 0.000000e+00
nfs_freq = 0.000000e+00
pm1: starting B1 = 150K, B2 = gmp-ecm default on C58
Using B1=1-150000, B2=65340396, polynomial x^1
Step 1 took 8ms
Step 2 took 19ms
pm1: Process took 0.0338 seconds.
fac: check tune params contained invalid parameter(s), ignoring tune info.
qs_mult = 0.000000e+00
qs_exp = 0.000000e+00
qs_freq = 0.000000e+00
nfs_mult = 0.000000e+00
nfs_exp = 0.000000e+00
nfs_freq = 0.000000e+00
fac: setting target pretesting digits to 17.85
fac: estimated sum of completed work is t0.00
fac: work done at B1=2000: 0 curves, max work = 30 curves
fac: 30 more curves at B1=2000 needed to get to t17.85
process id is 1648837
commencing parallel ecm on 4233133576589787911052873395725373610641079968802963985967 with 64 threads
ECM has been configured with DIGITBITS = 52, VECLEN = 8, GMP_LIMB_BITS = 64
Choosing MAXBITS = 208, NWORDS = 4, NBLOCKS = 1 based on input size 192
configuring avx-ecm with 64 threads
Input has 192 bits, using 64 threads (1 curves/thread)
Processing in batches of 100000000 primes
Initialization took 0.1714 seconds.
found 18061 primes in range [0 : 201000]
[New Thread 0x7fffc8506700 (LWP 1648843)]00*B1
[New Thread 0x7fffc7d05700 (LWP 1648844)]
[New Thread 0x7fffc7504700 (LWP 1648845)]
[New Thread 0x7fffc6d03700 (LWP 1648846)]
[New Thread 0x7fffc6502700 (LWP 1648847)]
[New Thread 0x7fffc5d01700 (LWP 1648848)]
[New Thread 0x7fffc5500700 (LWP 1648849)]
[New Thread 0x7fffc4cff700 (LWP 1648850)]
[New Thread 0x7fffc44fe700 (LWP 1648851)]
[New Thread 0x7fffc3cfd700 (LWP 1648852)]
[New Thread 0x7fffc34fc700 (LWP 1648853)]
[New Thread 0x7fffc2cfb700 (LWP 1648854)]
[New Thread 0x7fffc24fa700 (LWP 1648855)]
[New Thread 0x7fffc1cf9700 (LWP 1648856)]
[New Thread 0x7fffc14f8700 (LWP 1648857)]
[New Thread 0x7fffc0cf7700 (LWP 1648858)]
[New Thread 0x7fffc04f6700 (LWP 1648859)]
[New Thread 0x7fffbfcf5700 (LWP 1648860)]
[New Thread 0x7fffbf4f4700 (LWP 1648861)]
[New Thread 0x7fffbecf3700 (LWP 1648862)]
[New Thread 0x7fffbe4f2700 (LWP 1648863)]
[New Thread 0x7fffbdcf1700 (LWP 1648864)]
[New Thread 0x7fffbd4f0700 (LWP 1648865)]
[New Thread 0x7fffbccef700 (LWP 1648866)]
[New Thread 0x7fffbc4ee700 (LWP 1648867)]
[New Thread 0x7fffbbced700 (LWP 1648868)]
[New Thread 0x7fffbb4ec700 (LWP 1648869)]
[New Thread 0x7fffbaceb700 (LWP 1648870)]
[New Thread 0x7fffba4ea700 (LWP 1648871)]
[New Thread 0x7fffb9ce9700 (LWP 1648872)]
[New Thread 0x7fffb94e8700 (LWP 1648873)]
[New Thread 0x7fffb8ce7700 (LWP 1648874)]
[New Thread 0x7fffb84e6700 (LWP 1648875)]
[New Thread 0x7fffb7ce5700 (LWP 1648876)]
[New Thread 0x7fffb74e4700 (LWP 1648877)]
[New Thread 0x7fffb6ce3700 (LWP 1648878)]
[New Thread 0x7fffb64e2700 (LWP 1648879)]
[New Thread 0x7fffb5ce1700 (LWP 1648880)]
[New Thread 0x7fffb54e0700 (LWP 1648881)]
[New Thread 0x7fffb4cdf700 (LWP 1648882)]
[New Thread 0x7fffb44de700 (LWP 1648883)]
[New Thread 0x7fffb3cdd700 (LWP 1648884)]
[New Thread 0x7fffb34dc700 (LWP 1648885)]
[New Thread 0x7fffb2cdb700 (LWP 1648886)]
[New Thread 0x7fffb24da700 (LWP 1648887)]
[New Thread 0x7fffb1cd9700 (LWP 1648888)]
[New Thread 0x7fffb14d8700 (LWP 1648889)]
[New Thread 0x7fffb0cd7700 (LWP 1648890)]
[New Thread 0x7fffb04d6700 (LWP 1648891)]
[New Thread 0x7fffafcd5700 (LWP 1648892)]
[New Thread 0x7fffaf4d4700 (LWP 1648893)]
[New Thread 0x7fffaecd3700 (LWP 1648894)]
[New Thread 0x7fffae4d2700 (LWP 1648895)]
[New Thread 0x7fffadcd1700 (LWP 1648896)]
[New Thread 0x7fffad4d0700 (LWP 1648897)]
[New Thread 0x7fffacccf700 (LWP 1648898)]
[New Thread 0x7fffac4ce700 (LWP 1648899)]
[New Thread 0x7fffabccd700 (LWP 1648900)]
[New Thread 0x7fffab4cc700 (LWP 1648901)]
[New Thread 0x7fffaaccb700 (LWP 1648902)]
[New Thread 0x7fffaa4ca700 (LWP 1648903)]
[New Thread 0x7fffa9cc9700 (LWP 1648904)]
[New Thread 0x7fffa94c8700 (LWP 1648905)]
[New Thread 0x7fffa8cc7700 (LWP 1648906)]
[Thread 0x7fffc7d05700 (LWP 1648844) exited]
[Thread 0x7fffc7504700 (LWP 1648845) exited]
[Thread 0x7fffc8506700 (LWP 1648843) exited]
[Thread 0x7fffc6d03700 (LWP 1648846) exited]
[Thread 0x7fffc6502700 (LWP 1648847) exited]
[Thread 0x7fffc5d01700 (LWP 1648848) exited]
[Thread 0x7fffc5500700 (LWP 1648849) exited]
[Thread 0x7fffc4cff700 (LWP 1648850) exited]
[Thread 0x7fffc44fe700 (LWP 1648851) exited]
[Thread 0x7fffc3cfd700 (LWP 1648852) exited]
[Thread 0x7fffc34fc700 (LWP 1648853) exited]
[Thread 0x7fffc2cfb700 (LWP 1648854) exited]
[Thread 0x7fffc24fa700 (LWP 1648855) exited]
[Thread 0x7fffc1cf9700 (LWP 1648856) exited]
[Thread 0x7fffc14f8700 (LWP 1648857) exited]
[Thread 0x7fffc0cf7700 (LWP 1648858) exited]
[Thread 0x7fffc04f6700 (LWP 1648859) exited]
[Thread 0x7fffbfcf5700 (LWP 1648860) exited]
[Thread 0x7fffbf4f4700 (LWP 1648861) exited]
[Thread 0x7fffbecf3700 (LWP 1648862) exited]
[Thread 0x7fffbe4f2700 (LWP 1648863) exited]
[Thread 0x7fffbdcf1700 (LWP 1648864) exited]
[Thread 0x7fffbd4f0700 (LWP 1648865) exited]
[Thread 0x7fffbccef700 (LWP 1648866) exited]
[Thread 0x7fffbc4ee700 (LWP 1648867) exited]
[Thread 0x7fffbbced700 (LWP 1648868) exited]
[Thread 0x7fffbb4ec700 (LWP 1648869) exited]
[Thread 0x7fffbaceb700 (LWP 1648870) exited]
[Thread 0x7fffba4ea700 (LWP 1648871) exited]
[Thread 0x7fffb9ce9700 (LWP 1648872) exited]
[Thread 0x7fffb94e8700 (LWP 1648873) exited]
[Thread 0x7fffb8ce7700 (LWP 1648874) exited]
[Thread 0x7fffb84e6700 (LWP 1648875) exited]
[Thread 0x7fffb7ce5700 (LWP 1648876) exited]
[Thread 0x7fffb74e4700 (LWP 1648877) exited]
[Thread 0x7fffb6ce3700 (LWP 1648878) exited]
[Thread 0x7fffb64e2700 (LWP 1648879) exited]
[Thread 0x7fffb5ce1700 (LWP 1648880) exited]
[Thread 0x7fffb54e0700 (LWP 1648881) exited]
[Thread 0x7fffb4cdf700 (LWP 1648882) exited]
[Thread 0x7fffb44de700 (LWP 1648883) exited]
[Thread 0x7fffb3cdd700 (LWP 1648884) exited]
[Thread 0x7fffb34dc700 (LWP 1648885) exited]
[Thread 0x7fffb2cdb700 (LWP 1648886) exited]
[Thread 0x7fffb24da700 (LWP 1648887) exited]
[Thread 0x7fffb1cd9700 (LWP 1648888) exited]
[Thread 0x7fffb14d8700 (LWP 1648889) exited]
[Thread 0x7fffb0cd7700 (LWP 1648890) exited]
[Thread 0x7fffb04d6700 (LWP 1648891) exited]
[Thread 0x7fffafcd5700 (LWP 1648892) exited]
[Thread 0x7fffaf4d4700 (LWP 1648893) exited]
[Thread 0x7fffaecd3700 (LWP 1648894) exited]
[Thread 0x7fffae4d2700 (LWP 1648895) exited]
[Thread 0x7fffadcd1700 (LWP 1648896) exited]
[Thread 0x7fffad4d0700 (LWP 1648897) exited]
[Thread 0x7fffacccf700 (LWP 1648898) exited]
[Thread 0x7fffac4ce700 (LWP 1648899) exited]
[Thread 0x7fffabccd700 (LWP 1648900) exited]
[Thread 0x7fffab4cc700 (LWP 1648901) exited]
[Thread 0x7fffaaccb700 (LWP 1648902) exited]
[Thread 0x7fffaa4ca700 (LWP 1648903) exited]
[Thread 0x7fffa9cc9700 (LWP 1648904) exited]
[Thread 0x7fffa94c8700 (LWP 1648905) exited]
[Thread 0x7fffa8cc7700 (LWP 1648906) exited]

Commencing curves 0-511 of 64
Building curves took 0.0261 seconds.
Commencing Stage 1 @ prime 2
[New Thread 0x7fffa8cc7700 (LWP 1648907)]
[New Thread 0x7fffa94c8700 (LWP 1648908)]
[New Thread 0x7fffa9cc9700 (LWP 1648909)]
[New Thread 0x7fffaa4ca700 (LWP 1648910)]
[New Thread 0x7fffc8506700 (LWP 1648911)]
[New Thread 0x7fffc7d05700 (LWP 1648912)]
[New Thread 0x7fffc7504700 (LWP 1648913)]
[New Thread 0x7fffc6d03700 (LWP 1648914)]
[New Thread 0x7fffc6502700 (LWP 1648915)]
[New Thread 0x7fffc5d01700 (LWP 1648916)]
[New Thread 0x7fffc5500700 (LWP 1648917)]
[New Thread 0x7fffc4cff700 (LWP 1648918)]
[New Thread 0x7fffc44fe700 (LWP 1648919)]
[New Thread 0x7fffc3cfd700 (LWP 1648920)]
[New Thread 0x7fffc34fc700 (LWP 1648921)]
[New Thread 0x7fffc2cfb700 (LWP 1648922)]
[New Thread 0x7fffc24fa700 (LWP 1648923)]
[New Thread 0x7fffc1cf9700 (LWP 1648924)]
[New Thread 0x7fffc14f8700 (LWP 1648925)]
[New Thread 0x7fffc0cf7700 (LWP 1648926)]
[New Thread 0x7fffc04f6700 (LWP 1648927)]
[New Thread 0x7fffbfcf5700 (LWP 1648928)]
[New Thread 0x7fffbf4f4700 (LWP 1648929)]
[New Thread 0x7fffbecf3700 (LWP 1648930)]
[New Thread 0x7fffbe4f2700 (LWP 1648931)]
[New Thread 0x7fffbdcf1700 (LWP 1648932)]
[New Thread 0x7fffbd4f0700 (LWP 1648933)]
[New Thread 0x7fffbccef700 (LWP 1648934)]
[New Thread 0x7fffbc4ee700 (LWP 1648935)]
[New Thread 0x7fffbbced700 (LWP 1648936)]
[New Thread 0x7fffbb4ec700 (LWP 1648937)]
[New Thread 0x7fffbaceb700 (LWP 1648938)]
[New Thread 0x7fffba4ea700 (LWP 1648939)]
[New Thread 0x7fffb9ce9700 (LWP 1648940)]
[New Thread 0x7fffb94e8700 (LWP 1648941)]
[New Thread 0x7fffb8ce7700 (LWP 1648942)]
[New Thread 0x7fffb84e6700 (LWP 1648943)]
[New Thread 0x7fffb7ce5700 (LWP 1648944)]
[New Thread 0x7fffb74e4700 (LWP 1648945)]
[New Thread 0x7fffb6ce3700 (LWP 1648946)]
[New Thread 0x7fffb64e2700 (LWP 1648947)]
[New Thread 0x7fffb5ce1700 (LWP 1648948)]
[New Thread 0x7fffb54e0700 (LWP 1648949)]
[New Thread 0x7fffb4cdf700 (LWP 1648950)]
[New Thread 0x7fffb44de700 (LWP 1648951)]
[New Thread 0x7fffb3cdd700 (LWP 1648952)]
[New Thread 0x7fffb34dc700 (LWP 1648953)]
[New Thread 0x7fffb2cdb700 (LWP 1648954)]
[New Thread 0x7fffb24da700 (LWP 1648955)]
[New Thread 0x7fffb1cd9700 (LWP 1648956)]
[New Thread 0x7fffb14d8700 (LWP 1648957)]
[New Thread 0x7fffb0cd7700 (LWP 1648958)]
[New Thread 0x7fffb04d6700 (LWP 1648959)]
[New Thread 0x7fffafcd5700 (LWP 1648960)]
[New Thread 0x7fffaf4d4700 (LWP 1648961)]
[New Thread 0x7fffaecd3700 (LWP 1648962)]
[New Thread 0x7fffae4d2700 (LWP 1648963)]
[New Thread 0x7fffadcd1700 (LWP 1648964)]
[New Thread 0x7fffad4d0700 (LWP 1648965)]
[New Thread 0x7fffacccf700 (LWP 1648966)]
[New Thread 0x7fffac4ce700 (LWP 1648967)]
[New Thread 0x7fffabccd700 (LWP 1648968)]
[New Thread 0x7fffab4cc700 (LWP 1648969)]
[New Thread 0x7fffaaccb700 (LWP 1648970)]
--Type for more, q to quit, c to continue without paging--

Thread 97 "yafu" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffbaceb700 (LWP 1648938)]
vecsqrmod52 (a=0x8996fe0, c=0x89968e0, n=0x8997de0, s=0x89976e0,
mdata=) at factor/avx-ecm/vecarith52.c:14433
14433 _mm512_store_epi64(s->data + (i * BLOCKWORDS + j) * VECLEN, a0);
(gdb)
`

@lyciumlee
Copy link
Author

this infos from gdb with gef.
`gdb ./yafu
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
GEF for linux ready, type gef' to start, gef config' to configure
91 commands loaded for GDB 9.2 using Python engine 3.8
[*] 5 commands could not be loaded, run gef missing to know why.
Reading symbols from ./yafu...
gef➤ set args -v -v
gef➤ run
Starting program: /home/lll/easy_compile_yafu_2_0/yafu/yafu -v -v
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

YAFU Version 2.07
Built with GCC 9
Using GMP-ECM 7.0.5-dev, Powered by GMP 6.2.1
Detected Intel Xeon Processor (Cascadelake)
Detected L1 = 32768 bytes, L2 = 16777216 bytes, CL = 64 bytes
Using 1 random witness for Rabin-Miller PRP checks
Cached 664579 primes; max prime is 9999991

===============================================================
======= Welcome to YAFU (Yet Another Factoring Utility) =======
======= bbuhrow@gmail.com =======
======= Type help at any time, or quit to quit =======

factor(4233133576589787911052873395725373610641079968802963985967)
fac: check tune params contained invalid parameter(s), ignoring tune info.
qs_mult = 0.000000e+00
qs_exp = 0.000000e+00
qs_freq = 0.000000e+00
nfs_mult = 0.000000e+00
nfs_exp = 0.000000e+00
nfs_freq = 0.000000e+00
fac: factoring 4233133576589787911052873395725373610641079968802963985967
fac: using pretesting plan: normal
fac: check tune params contained invalid parameter(s), ignoring tune info.
qs_mult = 0.000000e+00
qs_exp = 0.000000e+00
qs_freq = 0.000000e+00
nfs_mult = 0.000000e+00
nfs_exp = 0.000000e+00
nfs_freq = 0.000000e+00
fac: no tune info: using qs/gnfs crossover of 100 digits
fac: no tune info: using qs/snfs crossover of 75 digits
div: primes less than 10000
fmt: 10000000 iterations
99%fmt: performed 507 perfect square checks
rho: x^2 + 3, starting 500 iterations on C58
rho: x^2 + 2, starting 500 iterations on C58
rho: x^2 + 1, starting 500 iterations on C58
fac: check tune params contained invalid parameter(s), ignoring tune info.
qs_mult = 0.000000e+00
qs_exp = 0.000000e+00
qs_freq = 0.000000e+00
nfs_mult = 0.000000e+00
nfs_exp = 0.000000e+00
nfs_freq = 0.000000e+00
pm1: starting B1 = 150K, B2 = gmp-ecm default on C58
Using B1=1-150000, B2=65340396, polynomial x^1
Step 1 took 8ms
Step 2 took 19ms
pm1: Process took 0.0339 seconds.
fac: check tune params contained invalid parameter(s), ignoring tune info.
qs_mult = 0.000000e+00
qs_exp = 0.000000e+00
qs_freq = 0.000000e+00
nfs_mult = 0.000000e+00
nfs_exp = 0.000000e+00
nfs_freq = 0.000000e+00
fac: setting target pretesting digits to 17.85
fac: estimated sum of completed work is t0.00
fac: work done at B1=2000: 0 curves, max work = 30 curves
fac: 30 more curves at B1=2000 needed to get to t17.85
process id is 1648993
commencing parallel ecm on 4233133576589787911052873395725373610641079968802963985967 with 64 threads
ECM has been configured with DIGITBITS = 52, VECLEN = 8, GMP_LIMB_BITS = 64
Choosing MAXBITS = 208, NWORDS = 4, NBLOCKS = 1 based on input size 192
configuring avx-ecm with 64 threads
Input has 192 bits, using 64 threads (1 curves/thread)
Processing in batches of 100000000 primes
Initialization took 0.1713 seconds.
found 18061 primes in range [0 : 201000]
[New Thread 0x7fffc8506700 (LWP 1648997)]00*B1
[New Thread 0x7fffc7d05700 (LWP 1648998)]
[New Thread 0x7fffc7504700 (LWP 1648999)]
[New Thread 0x7fffc6d03700 (LWP 1649000)]
[New Thread 0x7fffc6502700 (LWP 1649001)]
[New Thread 0x7fffc5d01700 (LWP 1649002)]
[New Thread 0x7fffc5500700 (LWP 1649003)]
[New Thread 0x7fffc4cff700 (LWP 1649004)]
[New Thread 0x7fffc44fe700 (LWP 1649005)]
[New Thread 0x7fffc3cfd700 (LWP 1649006)]
[New Thread 0x7fffc34fc700 (LWP 1649007)]
[New Thread 0x7fffc2cfb700 (LWP 1649008)]
[New Thread 0x7fffc24fa700 (LWP 1649009)]
[New Thread 0x7fffc1cf9700 (LWP 1649010)]
[New Thread 0x7fffc14f8700 (LWP 1649011)]
[New Thread 0x7fffc0cf7700 (LWP 1649012)]
[New Thread 0x7fffc04f6700 (LWP 1649013)]
[New Thread 0x7fffbfcf5700 (LWP 1649014)]
[New Thread 0x7fffbf4f4700 (LWP 1649015)]
[New Thread 0x7fffbecf3700 (LWP 1649016)]
[New Thread 0x7fffbe4f2700 (LWP 1649017)]
[New Thread 0x7fffbdcf1700 (LWP 1649018)]
[New Thread 0x7fffbd4f0700 (LWP 1649019)]
[New Thread 0x7fffbccef700 (LWP 1649020)]
[New Thread 0x7fffbc4ee700 (LWP 1649021)]
[New Thread 0x7fffbbced700 (LWP 1649022)]
[New Thread 0x7fffbb4ec700 (LWP 1649023)]
[New Thread 0x7fffbaceb700 (LWP 1649024)]
[New Thread 0x7fffba4ea700 (LWP 1649025)]
[New Thread 0x7fffb9ce9700 (LWP 1649026)]
[New Thread 0x7fffb94e8700 (LWP 1649027)]
[New Thread 0x7fffb8ce7700 (LWP 1649028)]
[New Thread 0x7fffb84e6700 (LWP 1649029)]
[New Thread 0x7fffb7ce5700 (LWP 1649030)]
[New Thread 0x7fffb74e4700 (LWP 1649031)]
[New Thread 0x7fffb6ce3700 (LWP 1649032)]
[New Thread 0x7fffb64e2700 (LWP 1649033)]
[New Thread 0x7fffb5ce1700 (LWP 1649034)]
[New Thread 0x7fffb54e0700 (LWP 1649035)]
[New Thread 0x7fffb4cdf700 (LWP 1649036)]
[New Thread 0x7fffb44de700 (LWP 1649037)]
[New Thread 0x7fffb3cdd700 (LWP 1649038)]
[New Thread 0x7fffb34dc700 (LWP 1649039)]
[New Thread 0x7fffb2cdb700 (LWP 1649040)]
[New Thread 0x7fffb24da700 (LWP 1649041)]
[New Thread 0x7fffb1cd9700 (LWP 1649042)]
[New Thread 0x7fffb14d8700 (LWP 1649043)]
[New Thread 0x7fffb0cd7700 (LWP 1649044)]
[New Thread 0x7fffb04d6700 (LWP 1649045)]
[New Thread 0x7fffafcd5700 (LWP 1649046)]
[New Thread 0x7fffaf4d4700 (LWP 1649047)]
[New Thread 0x7fffaecd3700 (LWP 1649048)]
[New Thread 0x7fffae4d2700 (LWP 1649049)]
[New Thread 0x7fffadcd1700 (LWP 1649050)]
[New Thread 0x7fffad4d0700 (LWP 1649051)]
[New Thread 0x7fffacccf700 (LWP 1649052)]
[New Thread 0x7fffac4ce700 (LWP 1649053)]
[New Thread 0x7fffabccd700 (LWP 1649054)]
[New Thread 0x7fffab4cc700 (LWP 1649055)]
[New Thread 0x7fffaaccb700 (LWP 1649056)]
[New Thread 0x7fffaa4ca700 (LWP 1649057)]
[New Thread 0x7fffa9cc9700 (LWP 1649058)]
[New Thread 0x7fffa94c8700 (LWP 1649059)]
[New Thread 0x7fffa8cc7700 (LWP 1649060)]
[Thread 0x7fffc8506700 (LWP 1648997) exited]
[Thread 0x7fffc7d05700 (LWP 1648998) exited]
[Thread 0x7fffc7504700 (LWP 1648999) exited]
[Thread 0x7fffc6d03700 (LWP 1649000) exited]
[Thread 0x7fffc6502700 (LWP 1649001) exited]
[Thread 0x7fffc5d01700 (LWP 1649002) exited]
[Thread 0x7fffc5500700 (LWP 1649003) exited]
[Thread 0x7fffc4cff700 (LWP 1649004) exited]
[Thread 0x7fffc44fe700 (LWP 1649005) exited]
[Thread 0x7fffc3cfd700 (LWP 1649006) exited]
[Thread 0x7fffc34fc700 (LWP 1649007) exited]
[Thread 0x7fffc2cfb700 (LWP 1649008) exited]
[Thread 0x7fffc24fa700 (LWP 1649009) exited]
[Thread 0x7fffc1cf9700 (LWP 1649010) exited]
[Thread 0x7fffc14f8700 (LWP 1649011) exited]
[Thread 0x7fffc0cf7700 (LWP 1649012) exited]
[Thread 0x7fffc04f6700 (LWP 1649013) exited]
[Thread 0x7fffbfcf5700 (LWP 1649014) exited]
[Thread 0x7fffbf4f4700 (LWP 1649015) exited]
[Thread 0x7fffbecf3700 (LWP 1649016) exited]
[Thread 0x7fffbe4f2700 (LWP 1649017) exited]
[Thread 0x7fffbdcf1700 (LWP 1649018) exited]
[Thread 0x7fffbd4f0700 (LWP 1649019) exited]
[Thread 0x7fffbccef700 (LWP 1649020) exited]
[Thread 0x7fffbc4ee700 (LWP 1649021) exited]
[Thread 0x7fffbbced700 (LWP 1649022) exited]
[Thread 0x7fffbb4ec700 (LWP 1649023) exited]
[Thread 0x7fffbaceb700 (LWP 1649024) exited]
[Thread 0x7fffba4ea700 (LWP 1649025) exited]
[Thread 0x7fffb9ce9700 (LWP 1649026) exited]
[Thread 0x7fffb94e8700 (LWP 1649027) exited]
[Thread 0x7fffb8ce7700 (LWP 1649028) exited]
[Thread 0x7fffb84e6700 (LWP 1649029) exited]
[Thread 0x7fffb7ce5700 (LWP 1649030) exited]
[Thread 0x7fffb74e4700 (LWP 1649031) exited]
[Thread 0x7fffb6ce3700 (LWP 1649032) exited]
[Thread 0x7fffb64e2700 (LWP 1649033) exited]
[Thread 0x7fffb5ce1700 (LWP 1649034) exited]
[Thread 0x7fffb54e0700 (LWP 1649035) exited]
[Thread 0x7fffb4cdf700 (LWP 1649036) exited]
[Thread 0x7fffb44de700 (LWP 1649037) exited]
[Thread 0x7fffb3cdd700 (LWP 1649038) exited]
[Thread 0x7fffb34dc700 (LWP 1649039) exited]
[Thread 0x7fffb2cdb700 (LWP 1649040) exited]
[Thread 0x7fffb24da700 (LWP 1649041) exited]
[Thread 0x7fffb1cd9700 (LWP 1649042) exited]
[Thread 0x7fffb14d8700 (LWP 1649043) exited]
[Thread 0x7fffb0cd7700 (LWP 1649044) exited]
[Thread 0x7fffb04d6700 (LWP 1649045) exited]
[Thread 0x7fffafcd5700 (LWP 1649046) exited]
[Thread 0x7fffaf4d4700 (LWP 1649047) exited]
[Thread 0x7fffaecd3700 (LWP 1649048) exited]
[Thread 0x7fffae4d2700 (LWP 1649049) exited]
[Thread 0x7fffadcd1700 (LWP 1649050) exited]
[Thread 0x7fffad4d0700 (LWP 1649051) exited]
[Thread 0x7fffacccf700 (LWP 1649052) exited]
[Thread 0x7fffac4ce700 (LWP 1649053) exited]
[Thread 0x7fffabccd700 (LWP 1649054) exited]
[Thread 0x7fffab4cc700 (LWP 1649055) exited]
[Thread 0x7fffaaccb700 (LWP 1649056) exited]
[Thread 0x7fffaa4ca700 (LWP 1649057) exited]
[Thread 0x7fffa9cc9700 (LWP 1649058) exited]
[Thread 0x7fffa94c8700 (LWP 1649059) exited]

[Thread 0x7fffa8cc7700 (LWP 1649060) exited]
Commencing curves 0-511 of 64
Building curves took 0.0400 seconds.
Commencing Stage 1 @ prime 2
[New Thread 0x7fffa8cc7700 (LWP 1649061)]
[New Thread 0x7fffa94c8700 (LWP 1649062)]
[New Thread 0x7fffa9cc9700 (LWP 1649063)]
[New Thread 0x7fffaa4ca700 (LWP 1649064)]
[New Thread 0x7fffc8506700 (LWP 1649065)]
[New Thread 0x7fffc7d05700 (LWP 1649066)]
[New Thread 0x7fffc7504700 (LWP 1649067)]
[New Thread 0x7fffc6d03700 (LWP 1649068)]
[New Thread 0x7fffc6502700 (LWP 1649069)]
[New Thread 0x7fffc5d01700 (LWP 1649070)]
[New Thread 0x7fffc5500700 (LWP 1649071)]
[New Thread 0x7fffc4cff700 (LWP 1649072)]
[New Thread 0x7fffc44fe700 (LWP 1649073)]
[New Thread 0x7fffc3cfd700 (LWP 1649074)]
[New Thread 0x7fffc34fc700 (LWP 1649075)]
[New Thread 0x7fffc2cfb700 (LWP 1649076)]
[New Thread 0x7fffc24fa700 (LWP 1649077)]
[New Thread 0x7fffc1cf9700 (LWP 1649078)]
[New Thread 0x7fffc14f8700 (LWP 1649079)]
[New Thread 0x7fffc0cf7700 (LWP 1649080)]
[New Thread 0x7fffc04f6700 (LWP 1649081)]
[New Thread 0x7fffbfcf5700 (LWP 1649082)]
[New Thread 0x7fffbf4f4700 (LWP 1649083)]
[New Thread 0x7fffbecf3700 (LWP 1649084)]
[New Thread 0x7fffbe4f2700 (LWP 1649085)]
[New Thread 0x7fffbdcf1700 (LWP 1649086)]
[New Thread 0x7fffbd4f0700 (LWP 1649087)]
[New Thread 0x7fffbccef700 (LWP 1649088)]
[New Thread 0x7fffbc4ee700 (LWP 1649089)]
[New Thread 0x7fffbbced700 (LWP 1649090)]
[New Thread 0x7fffbb4ec700 (LWP 1649091)]
[New Thread 0x7fffbaceb700 (LWP 1649092)]
[New Thread 0x7fffba4ea700 (LWP 1649093)]
[New Thread 0x7fffb9ce9700 (LWP 1649094)]
[New Thread 0x7fffb94e8700 (LWP 1649095)]
[New Thread 0x7fffb8ce7700 (LWP 1649096)]
[New Thread 0x7fffb84e6700 (LWP 1649097)]
[New Thread 0x7fffb7ce5700 (LWP 1649098)]
[New Thread 0x7fffb74e4700 (LWP 1649099)]
[New Thread 0x7fffb6ce3700 (LWP 1649100)]
[New Thread 0x7fffb64e2700 (LWP 1649101)]
[New Thread 0x7fffb5ce1700 (LWP 1649102)]
[New Thread 0x7fffb54e0700 (LWP 1649103)]
[New Thread 0x7fffb4cdf700 (LWP 1649104)]
[New Thread 0x7fffb44de700 (LWP 1649105)]
[New Thread 0x7fffb3cdd700 (LWP 1649106)]
[New Thread 0x7fffb34dc700 (LWP 1649107)]
[New Thread 0x7fffb2cdb700 (LWP 1649108)]
[New Thread 0x7fffb24da700 (LWP 1649109)]
[New Thread 0x7fffb1cd9700 (LWP 1649110)]
[New Thread 0x7fffb14d8700 (LWP 1649111)]
[New Thread 0x7fffb0cd7700 (LWP 1649112)]
[New Thread 0x7fffb04d6700 (LWP 1649113)]
[New Thread 0x7fffafcd5700 (LWP 1649114)]
[New Thread 0x7fffaf4d4700 (LWP 1649115)]
[New Thread 0x7fffaecd3700 (LWP 1649116)]
[New Thread 0x7fffae4d2700 (LWP 1649117)]
[New Thread 0x7fffadcd1700 (LWP 1649118)]
[New Thread 0x7fffad4d0700 (LWP 1649119)]
[New Thread 0x7fffacccf700 (LWP 1649120)]
[New Thread 0x7fffac4ce700 (LWP 1649121)]
[New Thread 0x7fffabccd700 (LWP 1649122)]
[New Thread 0x7fffab4cc700 (LWP 1649123)]
[New Thread 0x7fffaaccb700 (LWP 1649124)]

Thread 83 "yafu" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffc1cf9700 (LWP 1649078)]
vecmulmod52 (a=0x61a38a0, b=0x61a4320, c=0x61a3520, n=0x61a46a0, s=0x61a3c20, mdata=) at factor/avx-ecm/vecarith52.c:7316
7316 prod4_ld = _mm512_cvtepu64_pd(b3);

[ Legend: Modified register | Code | Heap | Stack | String ]
───────────────────────────────────────────────────────────────── registers ────
$rax : 0x4330000000000000
$rbx : 0x00000000061a3c20 → 0x00000000061a3fc0 → 0x00016896a1bfa153
$rcx : 0xffffffffffc7f
$rdx : 0x00000000061a3c40 → 0x000d3b6334a05bb9
$rsp : 0x00007fffc1cf7fc0 → 0x0000000000000000
$rbp : 0x00007fffc1cf8bf0 → 0x0000000006398ee0 → 0x0000000400000004
$rsi : 0x0
$rdi : 0x00000000061a38a0 → 0x00000000061a3c40 → 0x000d3b6334a05bb9
$rip : 0x00000000004946f0 → <vecmulmod52+4528> vcvtuqq2pd zmm1, ZMMWORD PTR [rcx]
$r8 : 0x00000000061a3c20 → 0x00000000061a3fc0 → 0x00016896a1bfa153
$r9 : 0x00000000061a46a0 → 0x00000000061a4a40 → 0x00012189d56c162f
$r10 : 0x00007fffc1cf8c20 → 0x00000000061a2720 → 0x00000000061a2ac0 → 0x0004a10c77716465
$r11 : 0x433
$r12 : 0x467
$r13 : 0x0
$r14 : 0x1
$r15 : 0x00000000061a2aa0 → 0x00000000061a2e40 → 0x0004ce7981cca57d
$eflags: [ZERO carry PARITY adjust sign trap INTERRUPT direction overflow RESUME virtualx86 identification]
$cs: 0x0033 $ss: 0x002b $ds: 0x0000 $es: 0x0000 $fs: 0x0000 $gs: 0x0000
───────────────────────────────────────────────────────────────────── stack ────
0x00007fffc1cf7fc0│+0x0000: 0x0000000000000000 ← $rsp
0x00007fffc1cf7fc8│+0x0008: 0x0000000000000000
0x00007fffc1cf7fd0│+0x0010: 0x00000000061a3520 → 0x00000000061a38c0 → 0x0008b3606bcdee06
0x00007fffc1cf7fd8│+0x0018: 0x0000000400000003
0x00007fffc1cf7fe0│+0x0020: 0x0000000000000000
0x00007fffc1cf7fe8│+0x0028: 0x0000000200000000
0x00007fffc1cf7ff0│+0x0030: 0x0000000000000040 ("@"?)
0x00007fffc1cf7ff8│+0x0038: 0x0000000000000080
─────────────────────────────────────────────────────────────── code:x86:64 ────
0x4946d8 <vecmulmod52+4504> vmovdqa64 ZMMWORD PTR [rbp-0x470], zmm6
0x4946e2 <vecmulmod52+4514> vcvtuqq2pd zmm6, ZMMWORD PTR [rdx+rsi1+0x40]
0x4946ea <vecmulmod52+4522> vmovapd zmm0, zmm6
→ 0x4946f0 <vecmulmod52+4528> vcvtuqq2pd zmm1, ZMMWORD PTR [rcx]
0x4946f6 <vecmulmod52+4534> vfmadd132pd zmm0, zmm28, zmm1, {rz-sae}
0x4946fc <vecmulmod52+4540> vcvtuqq2pd zmm2, ZMMWORD PTR [rdx+rsi
1]
0x494703 <vecmulmod52+4547> vmovapd zmm9, zmm2
0x494709 <vecmulmod52+4553> vcvtuqq2pd zmm4, ZMMWORD PTR [rcx+0x40]
0x494710 <vecmulmod52+4560> vmovapd zmm5, zmm2
─────────────────────────────────────────────────────────────────── threads ────
[#0] Id 1, Name: "yafu", stopped 0x5d7286 in futex_wait_cancelable (), reason: SIGSEGV
[#1] Id 66, Name: "yafu", stopped 0x4bd947 in _mm512_store_epi64 (), reason: SIGSEGV
[#2] Id 67, Name: "yafu", stopped 0x5d7286 in futex_wait_cancelable (), reason: SIGSEGV
[#3] Id 68, Name: "yafu", stopped 0x5d7286 in futex_wait_cancelable (), reason: SIGSEGV
[#4] Id 69, Name: "yafu", stopped 0x5d7286 in futex_wait_cancelable (), reason: SIGSEGV
[#5] Id 70, Name: "yafu", stopped 0x5d7286 in futex_wait_cancelable (), reason: SIGSEGV
[#6] Id 71, Name: "yafu", stopped 0x5d7286 in futex_wait_cancelable (), reason: SIGSEGV
[#7] Id 72, Name: "yafu", stopped 0x5d7286 in futex_wait_cancelable (), reason: SIGSEGV
[#8] Id 73, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#9] Id 74, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#10] Id 75, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#11] Id 76, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#12] Id 77, Name: "yafu", stopped 0x4946f0 in _mm512_cvtepu64_pd (), reason: SIGSEGV
[#13] Id 78, Name: "yafu", stopped 0x4946f0 in _mm512_cvtepu64_pd (), reason: SIGSEGV
[#14] Id 79, Name: "yafu", stopped 0x4946f0 in _mm512_cvtepu64_pd (), reason: SIGSEGV
[#15] Id 80, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#16] Id 81, Name: "yafu", stopped 0x4946f0 in _mm512_cvtepu64_pd (), reason: SIGSEGV
[#17] Id 82, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#18] Id 83, Name: "yafu", stopped 0x4946f0 in vecmulmod52 (), reason: SIGSEGV
[#19] Id 84, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#20] Id 85, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#21] Id 86, Name: "yafu", stopped 0x4946f0 in _mm512_cvtepu64_pd (), reason: SIGSEGV
[#22] Id 87, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#23] Id 88, Name: "yafu", stopped 0x4946f0 in _mm512_cvtepu64_pd (), reason: SIGSEGV
[#24] Id 89, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#25] Id 90, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#26] Id 91, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#27] Id 92, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#28] Id 93, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#29] Id 94, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#30] Id 95, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#31] Id 96, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#32] Id 97, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#33] Id 98, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#34] Id 99, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#35] Id 100, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#36] Id 101, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#37] Id 102, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#38] Id 103, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#39] Id 104, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#40] Id 105, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#41] Id 106, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#42] Id 107, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#43] Id 108, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#44] Id 109, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#45] Id 110, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#46] Id 111, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#47] Id 112, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#48] Id 113, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#49] Id 114, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#50] Id 115, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#51] Id 116, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#52] Id 117, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#53] Id 118, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#54] Id 119, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#55] Id 120, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#56] Id 121, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#57] Id 122, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#58] Id 123, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#59] Id 124, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#60] Id 125, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#61] Id 126, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#62] Id 127, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#63] Id 128, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
[#64] Id 129, Name: "yafu", stopped 0x4b9bc6 in _mm512_store_epi64 (), reason: SIGSEGV
───────────────────────────────────────────────────────────────────── trace ────
[#0] 0x4946f0 → vecmulmod52(a=0x61a38a0, b=0x61a4320, c=0x61a3520, n=0x61a46a0, s=0x61a3c20, mdata=)
[#1] 0x4c9209 → vec_duplicate(mdata=0x6398ee0, work=0x61a2590, insum=0x61a2aa0, indiff=0x580aa50, P=0x61a25e8)
[#2] 0x4c9602 → vec_prac(mdata=0x6398ee0, work=0x61a2590, P=0x580aa30, c=)
[#3] 0x4cae65 → vec_ecm_stage1(mdata=0x6398ee0, work=0x61a2590, P=0x580aa30, b1=0x7d0, primes=0xe80c6c0, nump=0x468d, verbose=0x0)
[#4] 0x4cafb5 → vec_ecm_stage1_work_fcn(vptr=)
[#5] 0x5bc02a → tpool_worker_main(thread_data=0xe8bf4f8)
[#6] 0x5d3e59 → start_thread(arg=)
[#7] 0x66f423 → clone()
────────────────────────────────────────────────────────────────────────────────
gef➤
`

@lyciumlee
Copy link
Author

gef➤ registers
$rax : 0x4330000000000000
$rbx : 0x00000000061a3c20 → 0x00000000061a3fc0 → 0x00016896a1bfa153
$rcx : 0xffffffffffc7f
$rdx : 0x00000000061a3c40 → 0x000d3b6334a05bb9
$rsp : 0x00007fffc1cf7fc0 → 0x0000000000000000
$rbp : 0x00007fffc1cf8bf0 → 0x0000000006398ee0 → 0x0000000400000004
$rsi : 0x0
$rdi : 0x00000000061a38a0 → 0x00000000061a3c40 → 0x000d3b6334a05bb9
$rip : 0x00000000004946f0 → <vecmulmod52+4528> vcvtuqq2pd zmm1, ZMMWORD PTR [rcx]
$r8 : 0x00000000061a3c20 → 0x00000000061a3fc0 → 0x00016896a1bfa153
$r9 : 0x00000000061a46a0 → 0x00000000061a4a40 → 0x00012189d56c162f
$r10 : 0x00007fffc1cf8c20 → 0x00000000061a2720 → 0x00000000061a2ac0 → 0x0004a10c77716465
$r11 : 0x433
$r12 : 0x467
$r13 : 0x0
$r14 : 0x1
$r15 : 0x00000000061a2aa0 → 0x00000000061a2e40 → 0x0004ce7981cca57d
$eflags: [ZERO carry PARITY adjust sign trap INTERRUPT direction overflow RESUME virtualx86 identification]
$cs: 0x0033 $ss: 0x002b $ds: 0x0000 $es: 0x0000 $fs: 0x0000 $gs: 0x0000
gef➤ sta
start starti status
gef➤ bt
#0 vecmulmod52 (a=0x61a38a0, b=0x61a4320, c=0x61a3520, n=0x61a46a0, s=0x61a3c20, mdata=) at factor/avx-ecm/vecarith52.c:7316
#1 0x00000000004c9209 in vec_duplicate (mdata=mdata@entry=0x6398ee0, work=work@entry=0x61a2590, insum=insum@entry=0x61a2aa0, indiff=indiff@entry=0x580aa50, P=P@entry=0x61a25e8) at factor/avx-ecm/avxecm.c:579
#2 0x00000000004c9602 in vec_prac (mdata=0x6398ee0, work=0x61a2590, P=0x580aa30, c=) at factor/avx-ecm/avxecm.c:850
#3 0x00000000004cae65 in vec_ecm_stage1 (mdata=0x6398ee0, work=0x61a2590, P=0x580aa30, b1=0x7d0, primes=0xe80c6c0, nump=0x468d, verbose=0x0) at factor/avx-ecm/avxecm.c:3215
#4 0x00000000004cafb5 in vec_ecm_stage1_work_fcn (vptr=) at factor/avx-ecm/avxecm.c:269
#5 0x00000000005bc02a in tpool_worker_main (thread_data=0xe8bf4f8) at threadpool.c:209
#6 0x00000000005d3e59 in start_thread (arg=) at pthread_create.c:477
#7 0x000000000066f423 in clone ()
gef➤

@bbuhrow
Copy link
Owner

bbuhrow commented Feb 9, 2022 via email

@lyciumlee
Copy link
Author

Awesome! It works. Thank you!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants