> > To me this looks like a heap smash. Try enabling the address sanitizer.
I finally was able to enable ASAN. With the help of Sam Clegg I found why I got that "too many locals" error and once I fixed that I got a much better error report (use-after-free), with which I can continue to isolate the problem. In case someone is interested: don't make your EMSCRIPTEN_BINDINGS call too large. I had bound 53 classes in a single call, some with a large list of members. Once I split the single call up into multiple ones, things started to work much better. Thanks, Mike -- www.soft-gems.net -- 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 emscripten-discuss+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/7D97DBE8-1AD6-4180-9FBC-F2B228F9AE88%40googlemail.com.