Stream: git-wasmtime

Topic: wasmtime / issue #6212 [wasmtime-fiber] Cancel an async f...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 14 2023 at 07:31):

apepkuss opened issue #6212:

I experimented with the async task cancellation when the given time's out. The following panic message is thrown:

thread 'tokio-runtime-worker' panicked at 'fiber dropped without finishing', /root/.cargo/registry/src/mirrors.tuna.tsinghua.edu.  cn-df7c3c540f42cdbd/wasmtime-fiber-6.0.1/src/lib.rs:164:9

By following the panic message, I found the line 162-166 in wasmedge-fiber use debug_assert! to catch the yields during execution. Is there any more friendly way to deal with such cases? Thanks!

view this post on Zulip Wasmtime GitHub notifications bot (Apr 14 2023 at 15:13):

pchickey commented on issue #6212:

Thanks for the report. I need more information to reproduce this, can you make a small test case that shows the sort of cancellation that reaches this panic?


Last updated: Oct 23 2024 at 20:03 UTC