Stream: git-wasmtime

Topic: wasmtime / PR #4964 Increase the `sigaltstack` stack size


view this post on Zulip Wasmtime GitHub notifications bot (Sep 26 2022 at 22:09):

alexcrichton requested fitzgen for a review on PR #4964.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 26 2022 at 22:09):

alexcrichton opened PR #4964 from increase-stack-size to main:

This commit updates the MIN_STACK_SIZE constant for Unix platforms when allocating a sigaltstack from 16k to 64k. The signal handler captures a wasm Backtrace which involves memory allocations and it was recently discovered that, at least in debug mode, jemalloc can take up to 16k of stack space for an allocation. To allow running the sigaltstack size is increased here.

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Sep 26 2022 at 22:11):

fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 26 2022 at 22:14):

alexcrichton has enabled auto merge for PR #4964.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 26 2022 at 22:48):

alexcrichton merged PR #4964.


Last updated: Dec 23 2024 at 13:07 UTC