Priority: P1: Critical
Affects Version/s: 5.15.2
Fix Version/s: 6.2.0 FF
Component/s: Network: HTTP
Environment:Emscripten version 1.39.8
Qt built with -feature-thread
QMAKE_WASM_PTHREAD_POOL_SIZE = 8
QMAKE_WASM_TOTAL_MEMORY = 3GB
Application built for WebAssembly with QNetworkAccessManager request on valid address with listening server works well, but crash occures when I type in invalid address. The reply that is handled after QNetworkReply::finished() signal is emmited and deleted with deleteLater() afterwards calls abort() somewhere in destructor making application crash.
Furthermore - the crash behave inconsistenly, sometimes the app crashes with first request (after deleteLater() is called) and sometimes after third.
Application works without reply->deleteLater(), but creates memory leak.
UPDATE: I just tried to built Qt without -feature-thread and it crashes too