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

Reproducer for issue #20507 #20625

Closed
wants to merge 1 commit into from

Conversation

kleisauke
Copy link
Collaborator

This is a reproducer for issue #20507, which PR #19496 is attempting to fix in a trivial manner.

The issue is that the dynamicLibraries array would be empty at this point when ENVIRONMENT_IS_PTHREAD, causing
loadDylibs() to be no-op. According to #19496 (comment), the __emscripten_dlsync_self() function is responsible for loading the same libraries that the main thread loaded, so this change ought to be safe.

@sbc100
Copy link
Collaborator

sbc100 commented Nov 6, 2023

Thanks for taking the time investigate this.

@kleisauke
Copy link
Collaborator Author

Closing now that PR #19496 has been merged.

@kleisauke kleisauke closed this Jun 29, 2024
@kleisauke kleisauke deleted the dylink-test branch June 29, 2024 10:34
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.

2 participants