Closed Bug 689247 Opened 14 years ago Closed 12 years ago

Intermittent leak of 328, 332, 336, 344, 368, 448, 760, or 808 bytes in mochitest, mochitest-browser-chrome (1 CondVar, 1 Mutex, 1 nsCacheEntryHashTable, 1 nsCacheService, 1 nsDiskCacheBinding)

Categories

(Core :: Networking: Cache, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox11 --- wontfix
firefox12 --- wontfix
firefox13 --- wontfix
firefox14 --- wontfix
firefox-esr10 --- wontfix

People

(Reporter: mbrubeck, Assigned: michal)

References

Details

(Keywords: intermittent-failure, memory-leak)

I'm pretty sure I saw this exact leak once before but didn't have time to file a bug and can't find the log now. https://tbpl.mozilla.org/php/getParsedLog.php?id=6554393&tree=Firefox Rev3 MacOSX Leopard 10.5.8 mozilla-central debug test mochitest-other on 2011-09-26 09:46:57 PDT for push 368b4a870769 INFO | automation.py | Application ran for: 0:58:31.081884 INFO | automation.py | Reading PID log: /var/folders/Xr/Xr--yJnSEY0U11ET5NZuMU+++TM/-Tmp-/tmp5Xw5Uapidlog == BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, default process 332 |<----------------Class--------------->|<-----Bytes------>|<----------------Objects---------------->|<--------------References-------------->| Per-Inst Leaked Total Rem Mean StdDev Total Rem Mean StdDev 0 TOTAL 17 344 441167003 7 ( 6164.31 +/- 12132.26) 387159520 3 ( 8386.14 +/- 14090.45) 54 CondVar 16 16 2399 1 ( 9.98 +/- 0.94) 0 0 ( 0.00 +/- 0.00) 152 Mutex 12 12 21077 1 ( 127.54 +/- 14.99) 0 0 ( 0.00 +/- 0.00) 398 nsCacheEntryHashTable 36 36 2 1 ( 1.33 +/- 0.58) 0 0 ( 0.00 +/- 0.00) 401 nsCacheService 156 156 1 1 ( 1.00 +/- 0.00) 9845 1 ( 15.01 +/- 13.00) 530 nsDiskCacheBinding 56 56 2038 1 ( 13.58 +/- 14.61) 2038 1 ( 13.58 +/- 14.61) 533 nsDiskCacheStreamIO 64 64 1571 1 ( 13.69 +/- 13.33) 3274 1 ( 14.44 +/- 13.54) 1150 nsTArray_base 4 4 30017878 1 (47446.63 +/- 13611.92) 0 0 ( 0.00 +/- 0.00) nsTraceRefcntImpl::DumpStatistics: 1323 entries TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 344 bytes during test execution TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of CondVar with size 16 bytes TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of Mutex with size 12 bytes TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of nsCacheEntryHashTable with size 36 bytes TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of nsCacheService with size 156 bytes TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of nsDiskCacheBinding with size 56 bytes TEST-INFO | automationutils.processLeakLog() | leaked 1 instance of nsDiskCacheStreamIO with size 64 bytes TEST-INFO | automationutils.processLeakLog() | leaked 1 instance of nsTArray_base with size 4 bytes INFO | runtests.py | Running tests: end. program finished with exit code 0 elapsedTime=3514.035319
OS: Mac OS X → All
Summary: Intermittent leak of 344 bytes in mochitest-browser-chrome (1 CondVar, 1 Mutex, 1 nsCacheEntryHashTable, 1 nsCacheService, 1 nsDiskCacheBinding) → Intermittent leak of 344 or 328 bytes in mochitest-browser-chrome (1 CondVar, 1 Mutex, 1 nsCacheEntryHashTable, 1 nsCacheService, 1 nsDiskCacheBinding)
The same leak or maybe a new almost-identical one in mochitest-plain-1: https://tbpl.mozilla.org/php/getParsedLog.php?id=8986240&tree=Firefox
Summary: Intermittent leak of 344 or 328 bytes in mochitest, mochitest-browser-chrome (1 CondVar, 1 Mutex, 1 nsCacheEntryHashTable, 1 nsCacheService, 1 nsDiskCacheBinding) → Intermittent leak of 344 or 332 or 328 bytes in mochitest, mochitest-browser-chrome (1 CondVar, 1 Mutex, 1 nsCacheEntryHashTable, 1 nsCacheService, 1 nsDiskCacheBinding)
Component: General → Networking: Cache
QA Contact: general → networking.cache
This is happening very often now--seemingly increasingly often. Does anybody have any ideas?
This one leaked an additional instance of nsDiskCacheBinding, but presume it's still appropriate to track here? TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 752 bytes during test execution TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of CondVar with size 32 bytes TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of Mutex with size 24 bytes TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of nsCacheEntryHashTable with size 56 bytes TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of nsCacheService with size 248 bytes TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 2 instances of nsDiskCacheBinding with size 88 bytes each (176 bytes total) https://tbpl.mozilla.org/php/getParsedLog.php?id=9459916&tree=Firefox
Assignee: nobody → michal.novotny
https://tbpl.mozilla.org/php/getParsedLog.php?id=10011052&tree=Mozilla-Inbound /me longs for the heady days of comment 430, when he could work up fake excitement over two leaks in one suite
https://tbpl.mozilla.org/php/getParsedLog.php?id=10273442&tree=Try Rev3 WINNT 6.1 try debug test mochitests-2/5 on 2012-03-22 03:44:07 PDT for push d7cd48e5d178
Summary: Intermittent leak of 344 or 332 or 328 bytes in mochitest, mochitest-browser-chrome (1 CondVar, 1 Mutex, 1 nsCacheEntryHashTable, 1 nsCacheService, 1 nsDiskCacheBinding) → Intermittent leak of 344 or 332 or 328 or 448 bytes in mochitest, mochitest-browser-chrome (1 CondVar, 1 Mutex, 1 nsCacheEntryHashTable, 1 nsCacheService, 1 nsDiskCacheBinding)
Summary: Intermittent leak of 344 or 332 or 328 or 448 bytes in mochitest, mochitest-browser-chrome (1 CondVar, 1 Mutex, 1 nsCacheEntryHashTable, 1 nsCacheService, 1 nsDiskCacheBinding) → Intermittent leak of 344 or 332 or 336 or 328 or 448 bytes in mochitest, mochitest-browser-chrome (1 CondVar, 1 Mutex, 1 nsCacheEntryHashTable, 1 nsCacheService, 1 nsDiskCacheBinding)
Summary: Intermittent leak of 344 or 332 or 336 or 328 or 448 bytes in mochitest, mochitest-browser-chrome (1 CondVar, 1 Mutex, 1 nsCacheEntryHashTable, 1 nsCacheService, 1 nsDiskCacheBinding) → Intermittent leak of 344 or 332 or 336 or 328 or 448 or 760 bytes in mochitest, mochitest-browser-chrome (1 CondVar, 1 Mutex, 1 nsCacheEntryHashTable, 1 nsCacheService, 1 nsDiskCacheBinding)
Summary: Intermittent leak of 344 or 332 or 336 or 328 or 448 or 760 bytes in mochitest, mochitest-browser-chrome (1 CondVar, 1 Mutex, 1 nsCacheEntryHashTable, 1 nsCacheService, 1 nsDiskCacheBinding) → Intermittent leak of 328, 332, 336, 344, 448, or 760 bytes in mochitest, mochitest-browser-chrome (1 CondVar, 1 Mutex, 1 nsCacheEntryHashTable, 1 nsCacheService, 1 nsDiskCacheBinding)
Michal, any news on this? :-)
(In reply to Ed Morley [:edmorley] from comment #922) > Michal, any news on this? :-) Not yet, but I'm working on it.
Awesome :-)
Summary: Intermittent leak of 328, 332, 336, 344, 448, or 760 bytes in mochitest, mochitest-browser-chrome (1 CondVar, 1 Mutex, 1 nsCacheEntryHashTable, 1 nsCacheService, 1 nsDiskCacheBinding) → Intermittent leak of 328, 332, 336, 344, 368, 448, or 760 bytes in mochitest, mochitest-browser-chrome (1 CondVar, 1 Mutex, 1 nsCacheEntryHashTable, 1 nsCacheService, 1 nsDiskCacheBinding)
Summary: Intermittent leak of 328, 332, 336, 344, 368, 448, or 760 bytes in mochitest, mochitest-browser-chrome (1 CondVar, 1 Mutex, 1 nsCacheEntryHashTable, 1 nsCacheService, 1 nsDiskCacheBinding) → Intermittent leak of 328, 332, 336, 344, 368, 448, 760, or 808 bytes in mochitest, mochitest-browser-chrome (1 CondVar, 1 Mutex, 1 nsCacheEntryHashTable, 1 nsCacheService, 1 nsDiskCacheBinding)
Seems like this was fixed on trunk in early May.
https://tbpl.mozilla.org/php/getParsedLog.php?id=14342929&tree=Mozilla-Esr10 (In reply to :Ms2ger from comment #1077) > Seems like this was fixed on trunk in early May. Shame we don't know what fixed it :-(
Whiteboard: [orange]
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.