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

[BUG] Crash: attempt to complete future more than once. #962

Open
benbierens opened this issue Oct 21, 2024 · 1 comment
Open

[BUG] Crash: attempt to complete future more than once. #962

benbierens opened this issue Oct 21, 2024 · 1 comment
Labels
bug Something isn't working Client See https://miro.com/app/board/uXjVNZ03E-c=/ for details

Comments

@benbierens
Copy link
Contributor

Application crashed with exception in async-proc. Seen in v0.1.6 - Autoclient run.

Unhandled exception in async proc, aborting topics="codex" tid=3841 msg="

An attempt was made to complete a Future more than once.
Details:
Future ID: 132808371808528
Creation location:
submitted.nim(29) [unspecified]
First completion location:
submitted.nim(31) [unspecified]
Second completion location:
submitted.nim(31) [unspecified]

"

@benbierens benbierens added bug Something isn't working Client See https://miro.com/app/board/uXjVNZ03E-c=/ for details labels Oct 21, 2024
@AuHau
Copy link
Member

AuHau commented Oct 21, 2024

By any chance would you have the RequestId from the log message here: https://github.com/codex-storage/nim-codex/blob/master/codex/purchasing/states/submitted.nim#L26

I am not sure, but the only thing I can think of is that there is something funky in contracts so would like to see the emitted events for this request id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Client See https://miro.com/app/board/uXjVNZ03E-c=/ for details
Projects
None yet
Development

No branches or pull requests

2 participants