Skip to content
This repository was archived by the owner on Jun 3, 2020. It is now read-only.

unknown error after signed PreVote:<nil> #340

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

unknown error after signed PreVote:<nil> #340

westaking opened this issue Aug 7, 2019 · 1 comment

Comments

@westaking
Copy link

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

tarcieri 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 as completed Aug 7, 2019
tarcieri pushed a commit that referenced this issue Aug 7, 2019
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
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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants