Skip to content

Conversation

@yaozhongxiao
Copy link
Contributor

Before resolving the module function's export in wasm_mini_loader,
"module->retain_function" need to be initialized, otherwise,
the "__new" function export will lead to abort.

issue: #1332

Before resolving the module function's export in wasm_mini_loader,
"module->retain_function" need to be initialized, otherwise,
the "__new" function export will lead to abort.

issue: bytecodealliance#1332
@yaozhongxiao
Copy link
Contributor Author

The failing cases seem unrelated to this commit, PTAL @wenyongh @XuJun2019 @xwang98

@xujuntwt95329
Copy link
Collaborator

LGTM

@wenyongh wenyongh merged commit efc8bc1 into bytecodealliance:main Jul 27, 2022
loganek pushed a commit to loganek/wasm-micro-runtime that referenced this pull request Jul 28, 2022
…ytecodealliance#1333)

Before resolving the module function's export in wasm_mini_loader,
"module->retain_function" need to be initialized, otherwise,
the "__new" function export will lead to abort.

issue: bytecodealliance#1332

Co-authored-by: yaozhongxiao <yaozhongxiao@bytedance.com>
loganek pushed a commit to loganek/wasm-micro-runtime that referenced this pull request Aug 31, 2022
…ytecodealliance#1333)

Before resolving the module function's export in wasm_mini_loader,
"module->retain_function" need to be initialized, otherwise,
the "__new" function export will lead to abort.

issue: bytecodealliance#1332

Co-authored-by: yaozhongxiao <yaozhongxiao@bytedance.com>
vickiegpt pushed a commit to vickiegpt/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
…ytecodealliance#1333)

Before resolving the module function's export in wasm_mini_loader,
"module->retain_function" need to be initialized, otherwise,
the "__new" function export will lead to abort.

issue: bytecodealliance#1332

Co-authored-by: yaozhongxiao <yaozhongxiao@bytedance.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants