-
Notifications
You must be signed in to change notification settings - Fork 11
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
Assertion failed: (pkey) #1
Comments
So it turns out, the assertion only fails most of the time. If I repeat the command over and over, eventually it works. I guess I should debug why myself. :-) Anyway, thanks for the code. I successfully generated some vanity addresses. |
A good place to start is probably to figure out which condition caused GenerateRootDeterministicKey to return NULL. I refactored all that key code from the original rippled project but didn't get around to thoroughly testing it nor adding more detailed error messages. But chances are good OpenSSL isn't liking something. |
Any luck finding out why this happens. I am getting this issue still. on centos 7. ./ripplegen rCat CPUs detected: 32Running 32 threads.Generating seed for pattern "rCat"...ripplegen: key.h:32: CKey::CKey(const uint128&): Assertion |
I haven’t run that code in several years. But I remember that I had an issue running it in multi-threaded mode.
Running in single threaded mode stopped the issue for me.
Not sure if that is exactly what you are seeing, but it might be worth a try just-in-case.
Bob Way
Ripple
[email protected] <mailto:[email protected]> | ripple.com <http://ripple.com/>
… On Jul 9, 2017, at 7:22 PM, bharath-g ***@***.***> wrote:
Any luck finding out why this happens. I am getting this issue still. on centos 7.
./ripplegen rCat
CPUs detected: 32
Running 32 threads.
Generating seed for pattern "rCat"...
ripplegen: key.h:32: CKey::CKey(const uint128&): Assertion pkey' failed. ripplegen: key.h:32: CKey::CKey(const uint128&): Assertionpkey' failed.
ripplegen: key.h:32: CKey::CKey(const uint128&): Assertion pkey' failed. ripplegen: key.h:32: CKey::CKey(const uint128&): Assertionpkey' failed.
ripplegen: key.h:32: CKey::CKey(const uint128&): Assertion `pkey' failed.
Aborted
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#1 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AEFag-VOXxVT4V0iPLXKS1GsT3OFD8ijks5sMW67gaJpZM4An8F->.
|
Thanks. Strange. I did run it in single threaded mode and still got the error. ./ripplegen rCat 1
Here is the thing. I know someone who runs it without issues. I am running on centos 7. Strange! |
I successfully built ripplegen. However, every time I run it I get an assertion failed: (pkey) message. It doesn't matter what pattern I'm using. Is there any other bit of setup I missed? I'm compiling with clang on a mac. The only changes I made were to add boost include and lib paths to the makefile.
MacBook:RippleGen bway$ ./ripplegen r
CPUs detected: 4
Running 4 threads.
Generating seed for pattern "r"...
Assertion failed: (pkey), functiAssertion failed: (pkey), functiAssertion failed: (pkey), function CKey, file ./key.h, line 32.
on CKey, file ./key.h, line 32.
Abort trap: 6
The text was updated successfully, but these errors were encountered: