-
Notifications
You must be signed in to change notification settings - Fork 706
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
Uncaught RuntimeError: invalid index into function table with 1.39.0 #380
Comments
This may be related to the backend change in 1.39.0. Does This may be related to emscripten-core/emscripten#9013 which is a known open issue with the new backend atm. If that's not it, the new backend has sanitizers that can help: https://emscripten.org/docs/debugging/Sanitizers.html |
I will try 1.39.0-fastcomp and report back. |
1.39.0-fastcomp works. |
removing fPIC for all dependency solved the problem (very tedious though), closing this issue. |
Thanks @ShuangLiu1992 , then this is the same as emscripten-core/emscripten#9013 - we are working on a fix for it, sorry for the breakage meanwhile. |
I'm getting Uncaught RuntimeError: invalid index into function table with the latest version 1.39.0, tried master as well. Also std::string seems to pick up some random garbage memory.
It happens when making calls to functions in static library targets create in cmake add_subdirectory, both of which are compiled with the cmake tool chain file that came with the sdk
I haven't been able to identify where went wrong.
Can confirm the same code works with 1.38.48.
The text was updated successfully, but these errors were encountered: