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
Attachments
For Gerrit Dashboard: QTBUG-20251 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
252411,3 | QThreadPool: prevent leaking of auto-deletable runnables | 5.12 | qt/qtbase | Status: NEW | -1 | 0 |
288231,5 | Fix QRunnable::ref use in QThreadPool | dev | qt/qtbase | Status: MERGED | +2 | 0 |
300119,2 | Fix QRunnable::ref use in QThreadPool | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |