You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a crash inside the virtual function when the base class is located inside the main module and the derived class is located inside the side module.
Side module is loaded via dlopen.
I found the similar issue here: #17150 IMPORTANT: there is no crash when the side module is pre-loaded on startup
Filter.worker.js:202 Uncaught RuntimeError: null function or function signature mismatch
at CBaseFilter::GetValue() (Filter.wasm:0x75ff0)
at GetFilterValue (4a5a1b72:0x38c)
at __original_main (Filter.wasm:0x76198)
at _main_thread (Filter.wasm:0x77840)
at Object.invokeEntryPoint (Filter.js:4166:42)
at self.onmessage (Filter.worker.js:155:35)
The text was updated successfully, but these errors were encountered:
I didn't get change reproduce this yet no, but I think it might the same issue that I'm working on fixing in #18311 .. the fact the passing the module on the command line fixes the issue makes it very likely.
There is a crash inside the virtual function when the base class is located inside the main module and the derived class is located inside the side module.
Side module is loaded via dlopen.
I found the similar issue here: #17150
IMPORTANT: there is no crash when the side module is pre-loaded on startup
Version of emscripten/emsdk: 3.1.20 (https://github.com/emscripten-core/emscripten/releases/tag/3.1.20)
CBaseFilter.h
filter.cpp
main.cpp
Build:
emcc -sMAIN_MODULE=1 -sPROXY_TO_PTHREAD -sUSE_PTHREADS=1 -g -o out\Filter.html out\main.o flt.wasm
Console:
The text was updated successfully, but these errors were encountered: