Closed RayOfLight1 closed 7 years ago
after reading further, sending an USR1 produces the same problem :(
Could you try running it in gdb and get the stack trace with bt after the segfault error occurs? It should help determining where the error comes from.
I haven't used gdb for a while, so bear with me:
Single stepping until exit from function pthread_join,
which has no line number information.
Thread 1 "bruteforce-salt" received signal SIGSEGV, Segmentation fault.
0x00007feaee60ccb1 in ?? () from /lib64/libc.so.6
(gdb) where
#0 0x00007feaee60ccb1 in ?? () from /lib64/libc.so.6
#1 0x00007feaee60ec76 in strftime_l () from /lib64/libc.so.6
#2 0x0000000000402bed in handle_signal ()
#3 \<signal handler called>
#4 0x00007feaeec0260b in pthread_join () from /lib64/libpthread.so.0
#5 0x0000000000402012 in main ()
the code for the -v seems quite simple, the "strftime_l()" looks like the biggest clue.
I added checks for time functions (commit 932616e0e71623ac8f628411346cac8dd3bb3b33). Could you compile the current master branch on your machine and see if the error still occurs?
I've tried with -v 1 and with SIGUSR1 and works perfectly, I'm off to see what magic you've done! :)
From multiple tries trying to execute it:
I have eventually made it work without the -v option, I'm on amd64 btw.