Stream: wasmtime

Topic: stack overflows on nightly


view this post on Zulip Alex Crichton (Apr 03 2020 at 18:27):

@sunf

view this post on Zulip Alex Crichton (Apr 03 2020 at 18:27):

guh

view this post on Zulip Alex Crichton (Apr 03 2020 at 18:28):

@Dan Gohman mind if I try rebasing/pushing commits to https://github.com/bytecodealliance/wasmtime/pull/1315? it looks like with https://github.com/bytecodealliance/wasmtime/issues/1465 it'd be nice to get in soon

Rust's stack overflow handler installs a sigaltstack stack with size SIGSTKSZ, which is too small for some of the things we do in signal handlers, and as of this writing lacks a guard page. Ins...
The currenty nightly fails to run tests on Linux with this command: $ cargo +nightly test -p wasmtime --test traps stack_overflow I've bisected this to rust-lang/rust#70362, but don't know ...

view this post on Zulip Dan Gohman (Apr 03 2020 at 18:29):

Sure, feel free to run with it, if you're so inclined.

view this post on Zulip Alex Crichton (Apr 03 2020 at 20:05):

@Dan Gohman ok I updated https://github.com/bytecodealliance/wasmtime/pull/1315, would you be ok taking a look?

Rust's stack overflow handler installs a sigaltstack stack with size SIGSTKSZ, which is too small for some of the things we do in signal handlers, and as of this writing lacks a guard page. Ins...

view this post on Zulip Dan Gohman (Apr 03 2020 at 20:13):

yeah, i'll take a look in a minute


Last updated: Dec 23 2024 at 13:07 UTC