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

unknown error after signed PreVote:<nil> #340

Closed
westaking opened this issue Aug 7, 2019 · 1 comment

Comments

@westaking
Copy link

commented Aug 7, 2019

running 2 validator with yubihsm in tmkms 1 process.... (tmkms v0.6.1)
(cosmos & kava )

suddenly following error...


04:46:29 [info] [kava-testnet-2000@tcp://127.0.0.1:46666] signed PreVote:< nil > at h/r/s 91670/0/6 (103 ms)
thread '' panicked at 'called Option::unwrap() on a None value', src/libcore/option.rs:347:21
note: Run with RUST_BACKTRACE=1 environment variable to display a backtrace.
04:46:29 [error] [kava-testnet-2000@tcp://127.0.0.1:46666] internal crash: unknown cause
04:46:30 [info] KMS node ID: 5F8238F9F7447E618E230AD2FF334AA24AA1C52F
04:46:30 [info] [kava-testnet-2000@tcp://127.0.0.1:46666] connected to validator successfully
04:46:30 [warn] [kava-testnet-2000] tcp://127.0.0.1:46666: unverified validator peer ID! (06FFE9EB960D682606ABD5F190AF8B35E06267E6)
04:46:35 [info] [gaia-13004@tcp://127.0.0.1:26666] signed PreVote:686A34C31E at h/r/s 232795/0/6 (125 ms)
04:46:35 [info] [gaia-13004@tcp://127.0.0.1:26666] signed PreCommit:686A34C31E at h/r/s 232795/0/6 (126 ms)
thread '' panicked at 'called Result::unwrap() on an Err value: "PoisonError { inner: .. }"', src/libcore/result.rs:999:5
04:46:35 [error] [kava-testnet-2000@tcp://127.0.0.1:46666] internal crash: unknown cause

04:46:36 [info] KMS node ID: 5F8238F9F7447E618E230AD2FF334AA24AA1C52F
04:46:36 [info] [kava-testnet-2000@tcp://127.0.0.1:46666] connected to validator successfully
04:46:36 [warn] [kava-testnet-2000] tcp://127.0.0.1:46666: unverified validator peer ID! (06FFE9EB960D682606ABD5F190AF8B35E06267E6)
04:46:40 [info] [gaia-13004@tcp://127.0.0.1:26666] signed PreVote:03474B053F at h/r/s 232796/0/6 (125 ms)
04:46:41 [info] [gaia-13004@tcp://127.0.0.1:26666] signed PreCommit:03474B053F at h/r/s 232796/0/6 (125 ms)
thread '' panicked at 'called Result::unwrap() on an Err value: "PoisonError { inner: .. }"', src/libcore/result.rs:999:5
04:46:41 [error] [kava-testnet-2000@tcp://127.0.0.1:46666] internal crash: unknown cause

04:46:42 [info] KMS node ID: 5F8238F9F7447E618E230AD2FF334AA24AA1C52F
04:46:42 [info] [kava-testnet-2000@tcp://127.0.0.1:46666] connected to validator successfully

....

The other(cosmos) validators are working fine, and validator(kava) with signed PreVote:< nil > keeps getting the above error.

@tarcieri

This comment has been minimized.

Copy link
Collaborator

commented Aug 7, 2019

This appears to be the same error as #341 which was fixed in #342 and released as v0.6.2 in #343.

@tarcieri tarcieri closed this Aug 7, 2019

tarcieri pushed a commit that referenced this issue Aug 7, 2019

chain/state: Add tests for `<nil>` block ID transitions
I've confirmed these would've caught the crashes encountered in
issues #340/#341:

    test chain::state::tests::hrs_test_nil_block_id_double_sign ... FAILED

    failures:

    ---- chain::state::tests::hrs_test_nil_block_id_double_sign stdout ----
    thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/libcore/option.rs:347:21
    note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

    failures:
        chain::state::tests::hrs_test_nil_block_id_double_sign

    test result: FAILED. 7 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out

tarcieri pushed a commit that referenced this issue Aug 7, 2019

chain/state: Add tests for `<nil>` block ID transitions
I've confirmed these would've caught the crashes encountered in
issues #340/#341:

    test chain::state::tests::hrs_test_nil_block_id_double_sign ... FAILED

    failures:

    ---- chain::state::tests::hrs_test_nil_block_id_double_sign stdout ----
    thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/libcore/option.rs:347:21
    note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

    failures:
        chain::state::tests::hrs_test_nil_block_id_double_sign

    test result: FAILED. 7 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.