My app (using standard Emscripten .html shell) is always getting an exception in callMain:
exception thrown: 5792936 es3loadtests.html:1246:19 <http://localhost:8080/es3loadtests.html> printErr http://localhost:8080/es3loadtests.html:1246 callMain http://localhost:8080/es3loadtests.js:12460 doRun http://localhost:8080/es3loadtests.js:12500 run http://localhost:8080/es3loadtests.js:12511 <http://localhost:8080/es3loadtests.js:12511> The number (string of digits?) is different every time I run the app. I cannot see where this is happening. There is a _main in Module but it does not appear to be being called as some fprintfs I added are not appearing on the console. The exception is being thrown in the wasm code for main. As I’ve not been able to get source mapping working properly, it is hard to debug. This is a build problem not an application problem. The same code compiled with make files generated from GYP via CMake works fine. I’m converted to pure CMake so now have manually create CMakeLists, etc. I have compared the compile and link options several times and I have been unable to spot the difference. I am hoping somebody on this list can give me a hint as to how to debug this or can explain what can cause an exception that does not look like an exception. It appears to just be a number. Regards -Mark -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/5CF270A1-06DA-4807-B5D2-71C92EC9242F%40callow.im.
signature.asc
Description: Message signed with OpenPGP
