My setup is Ubuntu 26.4 + 2 x Intel(R) Xeon(R) 6787P
I see segmentation fault in keystore format self test when number of threads is greater than 32.
Up to 32 self test works as expected.
OMP_NUM_THREADS=33 ./john -test -format=keystore
Will run 33 OpenMP threads
Benchmarking: keystore, Java KeyStore [SHA1 512/512 AVX-512 16x]... (33xOMP) Segmentation fault (core dumped) OMP_NUM_THREADS=33 ./john -test -format=keystore
OMP_NUM_THREADS=32 ./john -test -format=keystore
Will run 32 OpenMP threads
Benchmarking: keystore, Java KeyStore [SHA1 512/512 AVX-512 16x]... (32xOMP) DONE
Warning: "Many salts" test limited: 34/256
Many salts: 70249K c/s real, 2901K c/s virtual
Only one salt: 20763K c/s real, 2141K c/s virtual
GDB backtrace:
[Switching to Thread 0x7ffa5f3276c0 (LWP 22673)]
0x00007ffff7b879c1 in SHA1_Update () from /usr/lib/x86_64-linux-gnu/libcrypto.so.3
(gdb) bt
#0 0x00007ffff7b879c1 in SHA1_Update () from /usr/lib/x86_64-linux-gnu/libcrypto.so.3
#1 0x00005555557c1c55 in getPreKeyedHash (idx=<optimized out>) at keystore_fmt_plug.c:181
#2 crypt_all._omp_fn.0 () at keystore_fmt_plug.c:480
#3 0x00007ffff77c4b5f in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#4 0x00007ffff74a407a in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:454
#5 0x00007ffff753772c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Let me know if anything more is needed.
My setup is Ubuntu 26.4 + 2 x Intel(R) Xeon(R) 6787P
I see segmentation fault in keystore format self test when number of threads is greater than 32.
Up to 32 self test works as expected.
GDB backtrace:
Let me know if anything more is needed.