Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
5.15.2
-
None
-
Emscripten version 1.39.8
Qt built with -feature-thread
Built with
QMAKE_WASM_PTHREAD_POOL_SIZE = 8
QMAKE_WASM_TOTAL_MEMORY = 3GB
Description
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