WASM – Aborted(Assertion failed: attempt to write non-integer (undefined) into integer heap)

There is Aborted crash on browser when I resize window. My web app is based on VTK wasm. Check uiEventHandlerFunc in Test.js: Then we can read /emsdk/upstream/emscripten/src/library_html5.js and find registerUiEventCallback and uiEventHandlerFunc on the file. There is checkInt32(e.detail) in registerUiEventCallback in exported js file Test.js which was generated from emsdk Read more…

Uncaught TypeError: Cannot read properties of null (reading ‘onwheel’) from _emscripten_set_wheel_callback_on_thread

I encountered a crash bug on browser in a destructor of class. I found the definition of emscripten_set_wheel_callback_on_thread in `/emsdk/upstream/emscripten/src/library_html5.js`. It doesn’t check target before using it. It’s bad code. So I checked the version of emsdk: Then I upgraded emsdk to 3.1.51: Had been new version: There is a Read more…

Tex To PDF
: convert the Latex file which suffix is tex to a PDF file

X