Intermittent mochitest-browser-chrome leak of 6630, 10922, 13610 bytes (1 AsyncFetchAndSetIconFromNetwork, 4 AtomImpl, 1 CalculateFrecencyFunction, 1 Connection, 1 Database)

RESOLVED WORKSFORME

Status

()

defect
RESOLVED WORKSFORME
7 years ago
6 years ago

People

(Reporter: emorley, Unassigned)

Tracking

({intermittent-failure, memory-leak})

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
Rev3 Fedora 12x64 mozilla-inbound debug test mochitest-other on 2012-08-08 07:54:39 PDT for push fda1cd4d7dba

slave: talos-r3-fed64-037

https://tbpl.mozilla.org/php/getParsedLog.php?id=14228329&tree=Mozilla-Inbound

{
Leaked URLs:
  http://example.com/favicon.ico
nsStringStats
 => mAllocCount:        8156529
 => mReallocCount:       640738
 => mFreeCount:         8156482  --  LEAKED 47 !!!
 => mShareCount:       14385532
 => mAdoptCount:         430340
 => mAdoptFreeCount:     430338  --  LEAKED 2 !!!
INFO | automation.py | Application ran for: 0:38:21.880798
INFO | automation.py | Reading PID log: /tmp/tmpE3GjPwpidlog
==> process 2639 launched child process 2706
INFO | automation.py | Checking for orphan process with PID: 2706

== BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, plugin process 2706

     |<----------------Class--------------->|<-----Bytes------>|<----------------Objects---------------->|<--------------References-------------->|
                                              Per-Inst   Leaked    Total      Rem      Mean       StdDev     Total      Rem      Mean       StdDev
   0 TOTAL                                          23        0     1158        0 (   34.69 +/-    25.28)      663        0 (   76.22 +/-    58.26)

nsTraceRefcntImpl::DumpStatistics: 21 entries
TEST-PASS | plugin process 2706 | automationutils.processLeakLog() | no leaks detected!

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

     |<----------------Class--------------->|<-----Bytes------>|<----------------Objects---------------->|<--------------References-------------->|
                                              Per-Inst   Leaked    Total      Rem      Mean       StdDev     Total      Rem      Mean       StdDev
   0 TOTAL                                          22    10922 476923835      216 (14870.26 +/- 27760.00) 625301758      237 (11104.74 +/- 21661.71)
   8 AsyncFetchAndSetIconFromNetwork               248      248      968        1 (    1.28 +/-     1.44)    12433        1 (    4.62 +/-     3.80)
  14 AtomImpl                                       40      160    64063        4 ( 3615.01 +/-   938.80)  6487959      104 (41667.76 +/- 15615.54)
  45 CalculateFrecencyFunction                      24       24        1        1 (    1.00 +/-     0.00)       45        1 (    5.34 +/-     2.05)
  62 Connection                                    192      192      345        1 (   15.58 +/-     2.51)   211441        2 (  342.04 +/-    27.31)
  87 Database                                      232      232        1        1 (    1.00 +/-     0.00)     8093        1 (    7.08 +/-     1.79)
 107 FixupURLFunction                               24       24        1        1 (    1.00 +/-     0.00)       45        1 (    5.34 +/-     2.05)
 114 GenerateGUIDFunction                           24       24        1        1 (    1.00 +/-     0.00)       45        1 (    5.34 +/-     2.05)
 116 GetUnreversedHostFunction                      24       24        1        1 (    1.00 +/-     0.00)       45        1 (    5.34 +/-     2.05)
 124 HttpBaseChannel                               664      664     4091        1 (   28.33 +/-    33.01)   224639        2 (  147.82 +/-   203.73)
 167 MatchAutoCompleteFunction                      24       24        1        1 (    1.00 +/-     0.00)       45        1 (    5.34 +/-     2.05)
 188 MemoryReporter_StorageSQLite                   24       24        1        1 (    1.00 +/-     0.00)        9        1 (    3.59 +/-     1.91)
 195 Mutex                                          24      216    35383        9 (  292.99 +/-    80.29)        0        0 (    0.00 +/-     0.00)
 231 QuotaCallback                                  24       24        1        1 (    1.00 +/-     0.00)       18        4 (    3.81 +/-     1.28)
 232 QuotaCallbackData                              16       64        8        4 (    2.67 +/-     0.89)        0        0 (    0.00 +/-     0.00)
 242 ReentrantMonitor                               32      160    18983        5 (  228.34 +/-    82.49)        0        0 (    0.00 +/-     0.00)
 258 Service                                       136      136        1        1 (    1.00 +/-     0.00)     1710        2 (   22.33 +/-     2.93)
 273 StorageSQLiteMultiReporter                     80       80        1        1 (    1.00 +/-     0.00)        3        1 (    1.40 +/-     0.55)
 274 StringAdopt                                     1        2   430340        2 (    6.06 +/-    10.81)        0        0 (    0.00 +/-     0.00)
 285 ThirdPartyUtil                                 32       32        1        1 (    1.00 +/-     0.00)       48        1 (    2.91 +/-     0.79)
 408 nsAuthURLParser                                24       24        2        1 (    1.33 +/-     0.58)  2882256        1 ( 2059.54 +/-   379.93)
 477 nsCStringKey                                   32     1024  1007555       32 ( 1809.24 +/-   582.18)        0        0 (    0.00 +/-     0.00)
 490 nsCategoryObserver                            104      208      836        2 (  105.25 +/-    30.51)    11796        2 (  540.85 +/-   135.13)
 537 nsCookiePermission                             64       64        1        1 (    1.00 +/-     0.00)       38        1 (    7.28 +/-     2.86)
 538 nsCookieService                               144      144        1        1 (    1.00 +/-     0.00)     1268        1 (    7.23 +/-     2.92)
 543 nsDBusService                                  48       48        1        1 (    1.00 +/-     0.00)        2        1 (    1.33 +/-     0.58)
 547 nsDNSService                                  144      144        1        1 (    1.00 +/-     0.00)     4256        1 (   23.91 +/-     1.56)
 689 nsEffectiveTLDService                          80       80        1        1 (    1.00 +/-     0.00)    10638        2 (    8.22 +/-     2.11)
 832 nsHashKey                                      16      512  3595997       32 ( 3784.20 +/-   905.90)        0        0 (    0.00 +/-     0.00)
 833 nsHashPropertyBag                              80       80    43459        1 (  143.21 +/-    36.14)   693470        2 (  273.68 +/-   184.28)
 834 nsHashtable                                    72       72    17846        1 (  922.35 +/-   224.71)        0        0 (    0.00 +/-     0.00)
 862 nsHttpChannel                                1080     1080     4091        1 (   28.33 +/-    33.01)   224639        2 (  147.82 +/-   203.73)
 863 nsHttpChannelAuthProvider                     248      248     4091        1 (   16.07 +/-    21.05)    12281        1 (   16.75 +/-    21.04)
 866 nsHttpConnectionInfo                           64       64     4129        1 (   52.17 +/-    37.38)    15049        2 (   59.47 +/-    40.19)
 867 nsHttpConnectionMgr                           288      288        1        1 (    1.00 +/-     0.00)    12988        1 (    2.56 +/-     0.84)
 870 nsHttpHandler                                 576      576        1        1 (    1.00 +/-     0.00)   268746        2 (   34.74 +/-    31.68)
 871 nsHttpTransaction                             472      472     1947        1 (    1.64 +/-     2.39)     9104        1 (    4.24 +/-     5.37)
 873 nsIDNService                                  112      112        1        1 (    1.00 +/-     0.00)     3600        4 (    7.10 +/-     0.86)
 876 nsIOService                                   248      248        1        1 (    1.00 +/-     0.00)  1244225        1 (   56.15 +/-    29.36)
 893 nsInputStreamPump                             128      128    13556        1 (    2.57 +/-     3.34)    59298        1 (    5.72 +/-     6.43)
 898 nsInterfaceRequestorAgg                        40       40     5259        1 (    2.97 +/-     3.10)    33314        1 (    5.12 +/-     4.82)
 937 nsLocalFile                                   192      192   203591        1 (  274.05 +/-   338.19)   898571        1 ( 1124.84 +/-  4021.39)
 986 nsNetworkManagerListener                       48       48        1        1 (    1.00 +/-     0.00)        4        1 (    1.71 +/-     0.76)
 999 nsObserverService                              80       80        1        1 (    1.00 +/-     0.00)   371935        4 (   59.58 +/-    32.29)
1020 nsPermissionManager                           168      168        1        1 (    1.00 +/-     0.00)     4690        2 (    8.20 +/-     3.01)
1022 nsPipe                                        288      288    14971        1 (    6.90 +/-     8.14)   260130        3 (   51.87 +/-    66.71)
1035 nsPrefBranch                                  128      128     1153        1 (   26.13 +/-    13.99)    11195        1 (   39.45 +/-    25.31)
1046 nsProxyInfo                                    72       72     4104        1 (   35.38 +/-    34.66)    42024        2 (   51.35 +/-    49.80)
1072 nsRunnable                                     24       24  1553893        1 (   43.06 +/-    55.92)  4783510        1 (   50.76 +/-    66.33)
1191 nsSocketTransportService                      216      216        1        1 (    1.00 +/-     0.00)   144046        1 (   11.86 +/-     2.28)
1194 nsStandardURL                                 248      248   950085        1 ( 2232.93 +/-   388.66)  9495241        3 ( 6821.00 +/-   993.97)
1200 nsStreamConverterService                       32       32        1        1 (    1.00 +/-     0.00)      148        1 (    2.87 +/-     0.79)
1205 nsStrictTransportSecurityService              104      104        1        1 (    1.00 +/-     0.00)      713        1 (    3.99 +/-     0.72)
1206 nsStringBuffer                                  8      376  8797267       47 (49491.63 +/- 44014.58) 23182799       53 (70508.59 +/- 43687.02)
1211 nsStringInputStream                            72       72     8324        1 (   19.29 +/-    14.94)    58303        1 (   26.78 +/-    18.57)
1255 nsTArray_base                                   8       56 75322895        7 (72808.33 +/- 19376.38)        0        0 (    0.00 +/-     0.00)
1267 nsThread                                      200      400      367        2 (  119.34 +/-    69.65)   772735        4 (  642.25 +/-   202.10)
1283 nsTransportEventSinkProxy                      80       80     1949        1 (    1.64 +/-     2.39)     6180        1 (    2.81 +/-     3.83)
1299 nsUnicodeNormalizer                            24       24        1        1 (    1.00 +/-     0.00)        4        1 (    1.71 +/-     0.76)
1315 nsVoidArray                                     8      144  3307347       18 (15649.39 +/-  4585.38)        0        0 (    0.00 +/-     0.00)
1318 nsWeakReference                                32      160    78611        5 ( 1884.01 +/-   807.28)  1388539        5 ( 5154.53 +/-  1648.45)

nsTraceRefcntImpl::DumpStatistics: 1431 entries
TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 10922 bytes during test execution
TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of AsyncFetchAndSetIconFromNetwork with size 248 bytes
TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 4 instances of AtomImpl with size 40 bytes each (160 bytes total)
TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of CalculateFrecencyFunction with size 24 bytes
TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of Connection with size 192 bytes
TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of Database with size 232 bytes
}
(Reporter)

Comment 6

7 years ago
https://tbpl.mozilla.org/php/getParsedLog.php?id=15006188&tree=Mozilla-Inbound
Summary: Intermittent mochitest-browser-chrome leak of 10922 bytes (1 AsyncFetchAndSetIconFromNetwork, 4 AtomImpl, 1 CalculateFrecencyFunction, 1 Connection, 1 Database) → Intermittent mochitest-browser-chrome leak of 6630, 10922 bytes (1 AsyncFetchAndSetIconFromNetwork, 4 AtomImpl, 1 CalculateFrecencyFunction, 1 Connection, 1 Database)
(Reporter)

Comment 14

7 years ago
https://tbpl.mozilla.org/php/getParsedLog.php?id=15617856&tree=Mozilla-Inbound
Summary: Intermittent mochitest-browser-chrome leak of 6630, 10922 bytes (1 AsyncFetchAndSetIconFromNetwork, 4 AtomImpl, 1 CalculateFrecencyFunction, 1 Connection, 1 Database) → Intermittent mochitest-browser-chrome leak of 6630, 10922, 13610 bytes (1 AsyncFetchAndSetIconFromNetwork, 4 AtomImpl, 1 CalculateFrecencyFunction, 1 Connection, 1 Database)
(Reporter)

Comment 15

7 years ago
Rev3 Fedora 12 mozilla-inbound debug test mochitest-other on 2012-10-01 02:36:16 PDT for push 64236acfaa80

slave: talos-r3-fed-065

{
[Parent 2177] WARNING: gtk_clipboard_get_for_display: assertion `!display->closed' failed: 'glib warning', file ../../../toolkit/xre/nsSigHandlers.cpp, line 126

(firefox-bin:2177): Gtk-CRITICAL **: gtk_clipboard_get_for_display: assertion `!display->closed' failed
[Parent 2177] WARNING: gtk_clipboard_get_for_display: assertion `!display->closed' failed: 'glib warning', file ../../../toolkit/xre/nsSigHandlers.cpp, line 126

(firefox-bin:2177): Gtk-CRITICAL **: gtk_clipboard_get_for_display: assertion `!display->closed' failed
Leaked URLs:
  http://mochi.test:8888/tests/browser/components/feeds/test/valid-feed.xml
  http://fusion.google.com/favicon.ico
}

https://tbpl.mozilla.org/php/getParsedLog.php?id=15698639&tree=Mozilla-Inbound
Whiteboard: [orange]
(Reporter)

Comment 27

6 years ago
Resolving WFM any keyword:intermittent-failure bug where:
* Changed: (is less than or equal to) -3m
* Whiteboard: (contains none of the strings) random disabled marked fuzzy todo fails failing annotated time-bomb
* Whiteboard: (does not contain the string) leave open

There will inevitably be some false positives; for that (and the bugspam) I apologise, but at least this will clear out the open cruft (and thus reduce risk of mis-starring) on TBPL's annotated summary bug suggestions.

Filter on orangewfm.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.