Resolution: Cannot Reproduce
EMSDK: 2.0.6, Qt: 5.15.8, browser: Edge 100.0.1185.44, Chrome: 100.0.4896.127
A minimal webassembly application is created having QThreadPool example implemented inside. Around 25 secs later than 10 threads are created and run, the Qt application aborts with uncaught exception.
The sample provided also contains other thread creation methods, but the issue appeas only when QThreadPool/QRunnable is used.
Precompiled version is here: testwasm (nagyimre.com)
- launch application
- select Threads -> ThreadPool (at this moment some thread message appears in the console)
- keep your mouse moving over the applications toolbar (it takes around 30 secs).
- in the console an "uncaught" exception would appear.
This is most likely to have a callstack like this, but it depends on the user activity.
The sample would be tested against EMSDK 3.0.16 + Qt 6.3 in the following days. (report would be updated accordingly)