yuyang-ok edited issue #4912:
Finished test [unoptimized + debuginfo] target(s) in 26.99s
Running /home/yuyang/projects/qemu/build/qemu-riscv64 -L /usr/riscv64-linux-gnu -E LD_LIBRARY_PATH=/usr/riscv64-linux-gnu/lib -E WASMTIME_TEST_NO_HOG_MEMORY=1 /home/yuyang/projects/wasmtime/target/riscv64gc-unknown-linux-gnu/debug/deps/host_segfault-0362e2365a90b3f7
thread 'main' panicked at '
expected a stack overflow on hit async stack guard page with pooling allocator
got status: signal: 9 (SIGKILL)
', tests/host_segfault.rs:213:13
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
error: test failed, to rerun pass '--test host_segfault'
yuyang-ok edited a comment on issue #4912:
yuyang-ok deleted a comment on issue #4912:
yuyang-ok commented on issue #4912:
@jameysharp look like the env var
WASMTIME_TEST_NO_HOG_MEMORY
not used no testhost_segfault
.
yuyang-ok commented on issue #4912:
yuyang-ok commented on issue #4912:
(https://github.com/bytecodealliance/wasmtime/blob/main/crates/runtime/src/instance/allocator/pooling.rs#L718)
MemoryPool
is trying to alloc very huge area (6002G) in virutal address space.
maybe this is a little incompatible withqemu-riscv64
.
yuyang-ok edited a comment on issue #4912:
(https://github.com/bytecodealliance/wasmtime/blob/main/crates/runtime/src/instance/allocator/pooling.rs#L718)
MemoryPool
is trying to alloc very huge area (6002G) in virtual address space.
maybe this is a little incompatible withqemu-riscv64
.
yuyang-ok commented on issue #4912:
yuyang-ok closed issue #4912:
Finished test [unoptimized + debuginfo] target(s) in 26.99s
Running /home/yuyang/projects/qemu/build/qemu-riscv64 -L /usr/riscv64-linux-gnu -E LD_LIBRARY_PATH=/usr/riscv64-linux-gnu/lib -E WASMTIME_TEST_NO_HOG_MEMORY=1 /home/yuyang/projects/wasmtime/target/riscv64gc-unknown-linux-gnu/debug/deps/host_segfault-0362e2365a90b3f7
thread 'main' panicked at '
expected a stack overflow on hit async stack guard page with pooling allocator
got status: signal: 9 (SIGKILL)
', tests/host_segfault.rs:213:13
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
error: test failed, to rerun pass '--test host_segfault'
yuyang-ok deleted a comment on issue #4912:
yuyang-ok commented on issue #4912:
yuyang-ok closed issue #4912:
Finished test [unoptimized + debuginfo] target(s) in 26.99s
Running /home/yuyang/projects/qemu/build/qemu-riscv64 -L /usr/riscv64-linux-gnu -E LD_LIBRARY_PATH=/usr/riscv64-linux-gnu/lib -E WASMTIME_TEST_NO_HOG_MEMORY=1 /home/yuyang/projects/wasmtime/target/riscv64gc-unknown-linux-gnu/debug/deps/host_segfault-0362e2365a90b3f7
thread 'main' panicked at '
expected a stack overflow on hit async stack guard page with pooling allocator
got status: signal: 9 (SIGKILL)
', tests/host_segfault.rs:213:13
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
error: test failed, to rerun pass '--test host_segfault'
yuyang-ok deleted a comment on issue #4912:
Last updated: Dec 23 2024 at 12:05 UTC