Actions
Bug #21336
closed"Cannot malloc during GC" on WASM
Description
The patch for [Bug #21331] https://github.com/ruby/ruby/pull/13317 introduced a new bug for WASM build.
basictest/test.rb:array ...........................basictest/test.rb:53: [BUG] Cannot malloc during GC
ruby 3.5.0dev (2025-05-13T13:39:06Z pull/13317/merge 5e6d7a06ee) +PRISM [wasm32-wasi]
-- Control frame information -----------------------------------------------
c:0005 p:0002 s:0065 e:000064 METHOD basictest/test.rb:53
c:0004 p:0005 s:0061 e:000059 METHOD basictest/test.rb:68
c:0003 p:0068 s:0056 e:000055 METHOD basictest/test.rb:119
c:0002 p:8173 s:0048 E:000a00 EVAL basictest/test.rb:889 [FINISH]
c:0001 p:0000 s:0003 E:0005a8 DUMMY [FINISH]
-- Ruby level backtrace information ----------------------------------------
basictest/test.rb:889:in '<main>'
basictest/test.rb:119:in 'test_ok'
basictest/test.rb:68:in 'pass'
basictest/test.rb:53:in 'passed_string'
https://github.com/ruby/ruby/actions/runs/14998139079/job/42139552597
Updated by nobu (Nobuyoshi Nakada) 1 day ago
- Status changed from Open to Closed
Closed by b66c5c3b1b31581960bcb69d49b618d69ae2a87f
Updated by k0kubun (Takashi Kokubun) about 23 hours ago
- Backport changed from 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: REQUIRED to 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: DONE
Actions
Like0
Like0Like0