Telariust / VanitySearch-bitcrack

VanitySearch, v1.15.4, fork, fix - bitcrack
31 stars 17 forks source link

Segmentation fault (core dumped) (Cuda 11.2 Ubuntu 20.04) when adding --keyspace #19

Open johngalt13 opened 3 years ago

johngalt13 commented 3 years ago

Hi there, thank you for your software. This is amazing. I just compiled your version and it working fine. But when I tried to add --keyspace it says "segmentation fault (core dumped)" while without --keyspace it working fine. Any ideas on how to fix it? I'm adding it at the of parameters. CCAP = 60, Cuda 11.02, Ubuntu 20.04 I've compiled files from the "full" folder and I see the folder "fix_files_only". Maybe need to replace those files in the folder "full"?

Thanks again.

RB61 commented 3 years ago

was able to fix this issue by looking closely at warnings after compilation: This one in particular: main.cpp:156:40: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 3 has type ‘unsigned char’ [-Wformat=] sscanf(&item[2 * i], "%02X", &my1ch);

I changed all 3 declarations : "unsigned char my1ch" to "unsigned int my1ch"

Then, it works ...

johngalt13 commented 3 years ago

was able to fix this issue by looking closely at warnings after compilation: This one in particular: main.cpp:156:40: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 3 has type ‘unsigned char’ [-Wformat=] sscanf(&item[2 * i], "%02X", &my1ch);

I changed all 3 declarations : "unsigned char my1ch" to "unsigned int my1ch"

Then, it works ...

thank you. can you send your build, please?

RB61 commented 3 years ago

was able to fix this issue by looking closely at warnings after compilation: This one in particular: main.cpp:156:40: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 3 has type ‘unsigned char’ [-Wformat=] sscanf(&item[2 * i], "%02X", &my1ch); I changed all 3 declarations : "unsigned char my1ch" to "unsigned int my1ch" Then, it works ...

thank you. can you send your build, please?

my build (Cuda 11.4, Ubuntu 18.04)

johngalt13 commented 3 years ago

was able to fix this issue by looking closely at warnings after compilation: This one in particular: main.cpp:156:40: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 3 has type ‘unsigned char’ [-Wformat=] sscanf(&item[2 * i], "%02X", &my1ch); I changed all 3 declarations : "unsigned char my1ch" to "unsigned int my1ch" Then, it works ...

thank you. can you send your build, please?

my build (Cuda 11.4, Ubuntu 18.04)

I meant compiled build from Ubuntu. it should work for my settings too. I just don't have a chance to compile the build. maybe you can upload it to Github or Gdrive it would be good. if possible of course. You can just ignore my message if don't want to or something else.

RB61 commented 3 years ago

Ok I'll see what I can do.

On Wednesday, August 11, 2021, 2:02:05 AM GMT+1, johngalt13 ***@***.***> wrote:  

was able to fix this issue by looking closely at warnings after compilation: This one in particular: main.cpp:156:40: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 3 has type ‘unsigned char’ [-Wformat=] sscanf(&item[2 * i], "%02X", &my1ch); I changed all 3 declarations : "unsigned char my1ch" to "unsigned int my1ch" Then, it works ...

thank you. can you send your build, please?

my build (Cuda 11.4, Ubuntu 18.04)

I meant compiled build from Ubuntu. it should work for my settings too. I just don't have a chance to compile the build. maybe you can upload it to Github or Gdrive it would be good. if possible of course. You can just ignore my message if don't want to or something else.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

RB61 commented 3 years ago

check this: https://github.com/RB61/VanitySearch-1.15.4_bitcrack-cuda11.4Ubuntu18.04

johngalt13 commented 3 years ago

check this: https://github.com/RB61/VanitySearch-1.15.4_bitcrack-cuda11.4Ubuntu18.04

thank you very much. love u