Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix exec_env_tls assertion in module instantiation #3844

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

wenyongh
Copy link
Contributor

@wenyongh wenyongh commented Oct 7, 2024

The execute_post_instantiate_functions may be triggered by wasm_cluster_spawn_exec_env,
in which the exec_env_tls can be NULL and cause the assertion invalid.

p.s. #3839.

Copy link
Collaborator

@lum1n0us lum1n0us left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@lum1n0us lum1n0us left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@woodsmc
Copy link
Contributor

woodsmc commented Oct 7, 2024

This appears to resolve the issue!

@wenyongh wenyongh merged commit deacb7a into bytecodealliance:main Oct 8, 2024
383 checks passed
@wenyongh wenyongh deleted the fix_exec_env_tls_assert branch October 10, 2024 03:51
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.

4 participants