Stream: git-wasmtime

Topic: wasmtime / issue #9298 Error: max_wasm_stack size cannot ...


view this post on Zulip Wasmtime GitHub notifications bot (Sep 24 2024 at 10:59):

pavelsavara added the bug label to Issue #9298.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 24 2024 at 10:59):

pavelsavara opened issue #9298:

Test Case

Testing dotnet AOT with the new wasmtime v 25 in the dotnet CI.
The full log

Steps to Reproduce

wasmtime --dir=. --wasm max-wasm-stack=134217728 --wasi http --wasi inherit-network --wasi allow-ip-name-lookup --env DOTNET_WASI_PRINT_EXIT_CODE=1 dotnet.wasm

Expected Results

probably we need a way how to specify --wasm async-stack-size=134217728, but I'm not sure I understand the feature well enough.

Actual Results

Error: max_wasm_stack size cannot exceed the async_stack_size

Versions and Environment

Wasmtime version or commit: wasmtime 25.0.0 (0b195ef5d 2024-09-20)

Operating system: ubuntu-22.04

Architecture: x64

Extra Info

Anything else you'd like to add?

view this post on Zulip Wasmtime GitHub notifications bot (Sep 24 2024 at 11:01):

pavelsavara edited issue #9298:

Test Case

Testing dotnet AOT with the new wasmtime v 25 in the dotnet CI.
The full log

Steps to Reproduce

wasmtime --dir=. --wasm max-wasm-stack=134217728 --wasi http --wasi inherit-network --wasi allow-ip-name-lookup --env DOTNET_WASI_PRINT_EXIT_CODE=1 dotnet.wasm

Expected Results

probably we need a way how to specify --wasm async-stack-size=134217728 on cli.
But I'm not sure I understand the feature well enough.

Actual Results

Error: max_wasm_stack size cannot exceed the async_stack_size

Versions and Environment

Wasmtime version or commit: wasmtime 25.0.0 (0b195ef5d 2024-09-20)

Operating system: ubuntu-22.04

Architecture: x64

Extra Info

Anything else you'd like to add?

view this post on Zulip Wasmtime GitHub notifications bot (Sep 24 2024 at 11:43):

pavelsavara edited issue #9298:

Test Case

Testing dotnet AOT with the new wasmtime v 25 in the dotnet CI.
The full log

Steps to Reproduce

wasmtime --dir=. --wasm max-wasm-stack=134217728 --wasi http --wasi inherit-network --wasi allow-ip-name-lookup dotnet.wasm

Expected Results

probably we need a way how to specify --wasm async-stack-size=134217728 on cli.
But I'm not sure I understand the feature well enough.

Actual Results

Error: max_wasm_stack size cannot exceed the async_stack_size

Versions and Environment

Wasmtime version or commit: wasmtime 25.0.0 (0b195ef5d 2024-09-20)

Operating system: ubuntu-22.04

Architecture: x64

Extra Info

Anything else you'd like to add?

view this post on Zulip Wasmtime GitHub notifications bot (Sep 24 2024 at 17:37):

alexcrichton commented on issue #9298:

Thanks for the report! This was an oversight when turning on async on the CLI and should be fixed in https://github.com/bytecodealliance/wasmtime/pull/9302

view this post on Zulip Wasmtime GitHub notifications bot (Sep 24 2024 at 20:28):

alexcrichton closed issue #9298:

Test Case

Testing dotnet AOT with the new wasmtime v 25 in the dotnet CI.
The full log

Steps to Reproduce

wasmtime --dir=. --wasm max-wasm-stack=134217728 --wasi http --wasi inherit-network --wasi allow-ip-name-lookup dotnet.wasm

Expected Results

probably we need a way how to specify --wasm async-stack-size=134217728 on cli.
But I'm not sure I understand the feature well enough.

Actual Results

Error: max_wasm_stack size cannot exceed the async_stack_size

Versions and Environment

Wasmtime version or commit: wasmtime 25.0.0 (0b195ef5d 2024-09-20)

Operating system: ubuntu-22.04

Architecture: x64

Extra Info

Anything else you'd like to add?


Last updated: Nov 22 2024 at 17:03 UTC