Skip to content

Conversation

@wenhanchong
Copy link
Contributor

Fixes for dlsym_catchup_js error with ASYNCIFY. Aborted(Assertion failed: Missing signature argument to addFunction: (...args) => original(...args)). With ASYNCIFY, exports are wrapped so we need to pass original to addFunction.

@sbc100
Copy link
Collaborator

sbc100 commented Jan 23, 2026

I wonder if we could come up with test case for this? (maybe by modifying an the existing test?)

Copy link
Collaborator

@sbc100 sbc100 left a comment

Choose a reason for hiding this comment

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

Can you describe how you managed to run into this issue? i.e. how can we reproduce it so that we can create a test.

@wenhanchong
Copy link
Contributor Author

My app was loading a nested wasm side module (side module dylinking another side module) when I encountered this issue. Was using ASYNCIFY=2, PTHREADS and PROXY_TO_PTHREAD. I tried reproducing it in a separate sample app but it didn't call dlsym_catchup_js. Maybe because the sample app was small and there were no dlsym events to catchup.

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