nimbus-eth1 icon indicating copy to clipboard operation
nimbus-eth1 copied to clipboard

[User crash] no exception to reraise

Open mratsim opened this issue 4 years ago • 4 comments

On XUbuntu 18

./build/nimbus
Nimbus Version 0.0.1 [linux: amd64, rocksdb, 2c247e2d]
Copyright (c) 2018-2019 Status Research & Development GmbH
FAT 2019-12-03 12:13:49-03:00 Fatal exception reached                    tid=22129 file=async_utils.nim:8 err="no exception to reraise"
(crashed now)

mratsim avatar Dec 03 '19 15:12 mratsim

Similar or same error like here https://github.com/status-im/nimbus/issues/414#issuecomment-552216632 Exception gets cleared before it gets printed in the callback. It does seem to indicate that a non CatchableError occurred, but we won't know what until that issue gets fixed.

kdeme avatar Dec 03 '19 16:12 kdeme

@kdeme we can workaround this issue with construction like this

  ...
except CatchableError as exc:
  await xxx
  raise exc

You just need to find all the places where await is used inside of except block. After that you need to make sure you preserved current exception object to variable before start using await.

cheatfate avatar Dec 04 '19 07:12 cheatfate

Fixed by #432

kdeme avatar Dec 05 '19 21:12 kdeme

Seeing this error on my local build on Ubuntu 18.04. Posting here at direction of @stefantalpalaru

2019-12-11 19:58:03-05:00 Bonding failed, already waiting for ping   topics="discovery" tid=12837 file=kademlia.nim:349 n=Node[47.90.10.84:30303]
DBG 2019-12-11 19:58:04-05:00 Whisper peer                               topics="whisper" tid=12837 file=whisper_protocol.nim:765 peer=Node[51.15.55.122:2323] whisperVersion=6
DBG 2019-12-11 19:58:04-05:00 Whisper peer initialized                   topics="whisper" tid=12837 file=whisper_protocol.nim:792 peer=Node[51.15.55.122:2323]
FAT 2019-12-11 19:58:05-05:00 Fatal exception reached                    tid=12837 file=async_utils.nim:8 err="no exception to reraise"

acolytec3 avatar Dec 12 '19 01:12 acolytec3