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

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

Open
johngalt13 opened this issue Feb 10, 2021 · 7 comments

Comments

@johngalt13
Copy link

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
Copy link

RB61 commented Aug 10, 2021

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
Copy link
Author

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
Copy link

RB61 commented Aug 11, 2021

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
Copy link
Author

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
Copy link

RB61 commented Aug 11, 2021 via email

@RB61
Copy link

RB61 commented Aug 11, 2021

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

@johngalt13
Copy link
Author

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

thank you very much. love u

@github-staff github-staff deleted a comment from isedwards May 1, 2024
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