Well, I did some more checks and troubleshooting and have found maybe some valuable information that may leed finding the culprit.
What I simply did: downloading a specific release version, unzip and then just run "make" so it won't get compiled with gpu support. Then I execute "./VanitySearch -check" to see if it works or fails.
I started from latest release 1.19 and went down step by step.
Release version 1.13 is the one that works without errors. Everything later than 1.13 will throw an error on my computer.
I continued playing around with 1.13, mean I first reverted everything back
then modified the Makefile and replaced lines 33-36 to fit to my system
CXX = g++
CUDA = /usr/local/cuda-11.7
CXXCUDA = /usr/bin/g++-11
NVCC = $(CUDA)/bin/nvcc
and the compiled again with GPU support. Please note that you need to specify the ccap variable name in lower-case, else it won't work. This was corrected in later version in future.
GetBase10() Results OK
Add() Results OK : 1.250 GigaAdd/sec
Mult() Results OK : 60.606 MegaMult/sec
Div() Results OK : 8.000 MegaDiv/sec
ModInv()/ModExp() Results OK
ModInv() Results OK : 430.389 KiloInv/sec
IntGroup.ModInv() Results OK : 14.674 MegaInv/sec
ModMulK1() Results OK : 21.432 MegaMult/sec
ModSquareK1() Results OK : 20.982 MegaMult/sec
ModMulK1order() Results OK : 9.701 MegaMult/sec
ModSqrt() Results OK !
Check Generator :OK
Check Double :OK
Check Add :OK
Check GenKey :OK
Adress : 15t3Nt1zyMETkHbjJTTshxLnqPzQvAtdCe OK!
Adress : 1BoatSLRHtKNngkdXEeobR76b53LETtpyT OK!
Adress : 1Test6BNjSJC5qwYXsjwKVLvz7DpfLehy OK!
Adress : 16S5PAsGZ8VFM1CRGGLqm37XHrp46f6CTn OK!
Adress : 1Tst2RwMxZn9cYY5mQhCdJic3JJrK7Fq7 OK!
Adress : 3CyQYcByvcWK8BkYJabBS82yDLNWt6rWSx OK!
Adress : 31to1KQe67YjoDfYnwFJThsGeQcFhVDM5Q OK!
Adress : bc1q6tqytpg06uhmtnhn9s4f35gkt8yya5a24dptmn OK!
Check Calc PubKey (full) 1ViViGLEawN27xRzGrEhhYPQrZiTKvKLo :OK
Check Calc PubKey (even) 1Gp7rQ4GdooysEAEJAS2o4Ktjvf1tZCihp:OK
Check Calc PubKey (odd) 18aPiLmTow7Xgu96msrDYvSSWweCvB9oBA:OK
GPU: GPU #0 NVIDIA GeForce RTX 3070 Laptop GPU (40x0 cores) Grid(320x128)
Seed: 63852
1.488 GigaKey/sec
ComputeKeys() found 7712 items , CPU check...
^C
Then I ran a real test and the results were all correct.
Works!
Summary so far: Whatever change were made after 1.13 obviously leads to the mentioned error.. Anyone is welcome to test and try to reproduce. Maybe Jean_Luc can test and proof and fix this ?
EDIT: On a different computer I download the latest master 1.19 version, unzipped, executed "make && ./VanitySearch -check" and it worked like a charm. That means on another computer there's no issue. I am not sure what the error is related to. Any hints? Jean_Luc, do you happen to be there and give us some hints?