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

Error: Unhandled exception: Asynchronous task [sendMessageSlow() at pubsubpeer.nim:301] was cancelled! [FutureDefect] #6276

Closed
celeduc opened this issue May 8, 2024 · 8 comments

Comments

@celeduc
Copy link

celeduc commented May 8, 2024

Describe the bug
Nimbus validator node crashed during normal operation. Note strange inclusion of "/nim-testutils/testutils/moduletests.nim(21) moduletests" in stack, as well as "[FutureDefect]" (a self-fulfilling prophecy, that one).

To Reproduce
Steps to reproduce the behavior:

  1. Platform details (OS, architecture): Ubuntu 22.04.4 amd64
  2. Branch/commit used: nimbus-eth2_Linux_amd64_24.4.0_f20a21c0; geth-linux-amd64-1.14.0-87246f3c
  3. Commands being executed: ./run-mainnet-beacon-node.sh --rest --subscribe-all-subnets --nat:extip:x.x.x.x --jwt-secret=/home/cleduc/geth-mainnet-secret.jwt --el=http://127.0.0.1:8551 --payload-builder=true --payload-builder-url=http://127.0.0.1:18550 --suggested-fee-recipient=0x... --metrics --metrics-port=8008 --doppelganger-detection=off
  4. Relevant log lines:
INF 2024-05-08 12:58:03.819+00:00 Attestation sent                         topics="message_router" attestation="(aggregation_bits:0b000000000000000000000000...000, data: (slot: 9029088, index: 3, beacon_block_root: \"6028bdbe\", source: \"282158:d011bbcd\", target: \"282159:6028bdbe\"), signature: \"865edc5d\")" delay=819ms304us800ns subnet_id=3
peers: 162 > finalized: 5c050910:282157 > head: 6028bdbe:282159:0 > time: 282159:0 (9029088) > sync: synced
ETH: 32.000112 /home/user/nimbus-eth2/vendor/nim-testutils/testutils/moduletests.nim(21) moduletests
/home/user/nimbus-eth2/beacon_chain/nimbus.beacon.node.nim(2392) main
/home/user/nimbus-eth2/beacon_chain/nimbus.beacon.node.nim(2315) handleStartUpCmd
/home/user/nimbus-eth2/beacon_chain/nimbus.beacon.node.nim(2392) doRunBeaconNode
/home/user/nimbus-eth2/beacon_chain/nimbus.beacon.node.nim(2392) start
/home/user/nimbus-eth2/beacon_chain/nimbus.beacon.node.nim(2392) run
/home/user/nimbus-eth2/vendor/nim-chronos/chronos/internal/asyncengine.nim(150) poll
Error: Unhandled exception: Asynchronous task [sendMessageSlow() at pubsubpeer.nim:301] was cancelled! [FutureDefect]

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot from 2024-05-08 15-40-32

Additional context
Node was running uninterrupted through two consecutive sync committees.

@tersec
Copy link
Contributor

tersec commented May 8, 2024

vacp2p/nim-libp2p#1094

@celeduc
Copy link
Author

celeduc commented May 8, 2024

What is /home/user/nimbus-eth2/vendor/nim-testutils/testutils/moduletests.nim(21) moduletests doing on the stack?

@tersec
Copy link
Contributor

tersec commented May 8, 2024

What is /home/user/nimbus-eth2/vendor/nim-testutils/testutils/moduletests.nim(21) moduletests doing on the stack?

switch("import", "testutils/moduletests")

which comes from 740b76d#diff-be274e89063d9377278fad5fdcdd936e89d2f32efd7eb8eb8a6a83ac4c711879

@celeduc
Copy link
Author

celeduc commented May 10, 2024

Now a 48h MTBF.

@celeduc
Copy link
Author

celeduc commented May 16, 2024

Still crashing regularly. Any ETA on a release?

@tersec
Copy link
Contributor

tersec commented May 17, 2024

Next few days.

@celeduc
Copy link
Author

celeduc commented May 23, 2024

Assuming this is fixed with v24.5.0 ?

@tersec
Copy link
Contributor

tersec commented May 23, 2024

It is, yes

@celeduc celeduc closed this as completed May 23, 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