Project

General

Profile

ActionsLike0

Bug #20898

closed

Backport https://github.com/ruby/ruby/pull/9737 to Ruby 3.3 and 3.2

Added by katei (Yuta Saito) 5 months ago. Updated 4 months ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:119942]

Description

The memory corruption issue on Wasm led to mysterious crashes and consumed much debugging time. It's nice to backport the fix to save developers time.

https://github.com/ruby/ruby/pull/9737

Added by nagachika (Tomoyuki Chikanaga) 4 months ago

Revision 1fc08959

merge revision(s) 0d4de0f4b1b9ac90be437bf1bac6851dd1d96fd0: [Backport #20898]

    wasm: align fiber stack pointer to 16 bytes

    In WebAssembly C ABI, the linear stack pointer must be always aligned
    to 16 bytes like other archs.
    The misaligned stack pointer causes some weird memory corruption since
    compiler assumes the aligned stack pointer.
ActionsLike0

Also available in: Atom PDF