Closed Bug 787312 Opened 12 years ago Closed 11 years ago

Intermittent Linux mochitest-4 | leaked 408, 412 bytes during test execution (Mutex, ReentrantMonitor, nsHttpConnectionMgr, nsTArray_base, nsThread)

Categories

(Core :: Networking: HTTP, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: philor, Unassigned)

References

Details

(Keywords: intermittent-failure, memory-leak)

+++ This bug was initially created as a clone of Bug #694772 +++

You loved all 1125 comments in bug 694772 (which I can still type without even thinking about it), you'll love this new incarnation as a Linux mochitest-4 leak even more!

https://tbpl.mozilla.org/php/getParsedLog.php?id=14837759&tree=Mozilla-Inbound
Rev3 Fedora 12 mozilla-inbound debug test mochitests-4/5 on 2012-08-30 06:41:21 PDT for push d451e7a34c93
slave: talos-r3-fed-065

== BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, default process 2197

     |<----------------Class--------------->|<-----Bytes------>|<----------------Objects---------------->|<--------------References-------------->|
                                              Per-Inst   Leaked    Total      Rem      Mean       StdDev     Total      Rem      Mean       StdDev
   0 TOTAL                                          13      412 163040287        7 (18349.05 +/- 28385.66) 149345808 18446744073709551611 (494067957644.43 +/-     0.00)
 173 Mutex                                          12       12    24753        1 (  157.28 +/-    46.76)        0        0 (    0.00 +/-     0.00)
 213 ReentrantMonitor                               16       32     6631        2 (   61.23 +/-    23.31)        0        0 (    0.00 +/-     0.00)
 802 nsHttpConnectionMgr                           184      184        1        1 (    1.00 +/-     0.00)    10258        1 (    3.30 +/-     0.67)
1120 nsTArray_base                                   4        4 45454133        1 (58527.10 +/- 18375.39)        0        0 (    0.00 +/-     0.00)
1132 nsThread                                      112      112       54        1 (   15.31 +/-     6.12)   352418        1 (  153.97 +/-    65.81)
1137 nsTimerImpl                                    68       68    33416        1 (   52.12 +/-    23.04)   230669        1 (   86.66 +/-    47.19)

nsTraceRefcntImpl::DumpStatistics: 1276 entries
TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 412 bytes during test execution
TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of Mutex with size 12 bytes
TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 2 instances of ReentrantMonitor with size 16 bytes each (32 bytes total)
TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of nsHttpConnectionMgr with size 184 bytes
TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of nsTArray_base with size 4 bytes
TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of nsThread with size 112 bytes
TEST-INFO | automationutils.processLeakLog() | leaked 1 instance of nsTimerImpl with size 68 bytes

https://tbpl.mozilla.org/php/getParsedLog.php?id=14844632&tree=Mozilla-Inbound
talos-r3-fed-065

https://tbpl.mozilla.org/php/getParsedLog.php?id=14858575&tree=Mozilla-Inbound
talos-r3-fed-073

https://tbpl.mozilla.org/php/getParsedLog.php?id=14862611&tree=Mozilla-Inbound
talos-r3-fed-073
https://tbpl.mozilla.org/php/getParsedLog.php?id=14880122&tree=Mozilla-Inbound

Vaguely interesting that it's the same set of leaked objects as bug 751121 was.
talos-r3-fed-064
talos-r3-fed-065
https://tbpl.mozilla.org/php/getParsedLog.php?id=14893843&tree=Mozilla-Inbound
talos-r3-fed-065
I'm going to assert that just because it's a leak in a style system test doesn't mean it's a style system bug.  Since the only not-completely-generic type listed here is an HTTP object, moving to tha component.
Component: Style System (CSS) → Networking: HTTP
I don't understand where the "including 2 domwindows opened by test_value_cloning.html" in the bug's summary comes from, though.  I just see 412 bytes leaked in that log, not domwindows.
Patrick or Honza, can one of you look into this?
Whiteboard: [orange]
https://tbpl.mozilla.org/php/getParsedLog.php?id=17538643&tree=Firefox
Summary: Intermittent Linux mochitest-4 | leaked 412 bytes during test execution (1 Mutex, 2 ReentrantMonitor, 1 nsHttpConnectionMgr, 1 nsTArray_base, 1 nsThread) including 2 domwindows opened by test_value_cloning.html → Intermittent Linux mochitest-4 | leaked 408, 412 bytes during test execution (1 Mutex, 2 ReentrantMonitor, 1 nsHttpConnectionMgr, 1 nsTArray_base, 1 nsThread) including 2 domwindows opened by test_value_cloning.html
This seems to happen quite frequently at the same time as bug 819412.
But test_value_cloning seems to have gotten itself out of the mix.

https://tbpl.mozilla.org/php/getParsedLog.php?id=18364439&tree=Fx-Team
Summary: Intermittent Linux mochitest-4 | leaked 408, 412 bytes during test execution (1 Mutex, 2 ReentrantMonitor, 1 nsHttpConnectionMgr, 1 nsTArray_base, 1 nsThread) including 2 domwindows opened by test_value_cloning.html → Intermittent Linux mochitest-4 | leaked 408, 412 bytes during test execution (1 Mutex, 2 ReentrantMonitor, 1 nsHttpConnectionMgr, 1 nsTArray_base, 1 nsThread)
Summary: Intermittent Linux mochitest-4 | leaked 408, 412 bytes during test execution (1 Mutex, 2 ReentrantMonitor, 1 nsHttpConnectionMgr, 1 nsTArray_base, 1 nsThread) → Intermittent Linux mochitest-4 | leaked 408, 412 bytes during test execution (Mutex, ReentrantMonitor, nsHttpConnectionMgr, nsTArray_base, nsThread)
(OrangeWFM for bugs not modified in > 2 months)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.