Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.0
-
None
-
Ubuntu 10.10
but memory leak issue was observed on windows as well
-
891b60bbc84ddde077072df3426539c716d47459 (qt/qtbase/dev) 5a4b275a201bfc653a99e8b6ab546573553b79ad (qt/qtbase/5.15)
Description
found this when tracing a huge memory leak in my application (in which I pass smart pointers to QtConcurrent::run).
related to usage of: "releaseThread();
; reserveThread();" in my threads
attached testcase triggers the issue
(also: attached testcase hangs about every 10 times I run it)
issue disappears when removing the releaseThread() and reserveThread() calls