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

"Attempt to complete a Future more than once" after "Transport is already closed" #333

Open
jlokier opened this issue Mar 17, 2021 · 1 comment

Comments

@jlokier
Copy link
Contributor

jlokier commented Mar 17, 2021

Somewhere in rlpx.nim or p2p_protocol_dsl.nim. This crash bug happened while running nimbus-eth1 without arguments, syncing up to mainnet. It's rare, it doesn't happen often, but it's a serious logic bug and crashes the program, so worth looking into.

WRN 2021-03-08 15:14:11.720+00:00 Error while handling RLPx message topics="rlpx" tid=625298 file=rlpx.nim:599 peer=Node[104.247.201.82:30303] msg=getBlockHeaders err="Transport is already closed!"
Traceback (most recent call last, using override)
/status/nimbus-eth1/nimbus/nimbus.nim(206) nimbus
/status/nimbus-eth1/nimbus/nimbus.nim(174) process
/status/nimbus-eth1/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim(407) reportUnhandledError
/status/nimbus-eth1/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim(358) reportUnhandledErrorAux
Error: unhandled exception: An attempt was made to complete a Future more than once. Details:
  Future ID: 2050865
  Creation location:
    p2p_protocol_dsl.nim(151)    [unspecified]
  First completion location:
    rlpx.nim(67)    [unspecified]
  Second completion location:
    rlpx.nim(98)    [unspecified]

 [FutureDefect]
@jlokier
Copy link
Contributor Author

jlokier commented Mar 17, 2021

Also at status-im/nimbus-eth1#565

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

1 participant