Closed
Bug 766886
Opened 13 years ago
Closed 13 years ago
Intermittent test_pluginstream_seek_close.html leak of 1 nsAuthURLParser, 1 nsHashtable, 1 nsNPAPIPluginInstance, 1 nsNPAPIPluginStreamListener, 1 nsPluginStreamListenerPeer with leaked dom/plugins/test/neverending.sjs
Categories
(Core Graveyard :: Plug-ins, defect)
Core Graveyard
Plug-ins
Tracking
(firefox18 fixed, firefox19 fixed)
RESOLVED
FIXED
mozilla19
People
(Reporter: emorley, Assigned: johns)
References
Details
(Keywords: intermittent-failure, memory-leak)
Attachments
(1 file)
|
1.95 KB,
patch
|
benjamin
:
review+
bajaj
:
approval-mozilla-aurora+
johns
:
checkin+
|
Details | Diff | Splinter Review |
Rev4 MacOSX Lion 10.7 mozilla-inbound debug test mochitests-2/5 on 2012-06-20 08:40:59 PDT for push 1b1b8f3a4266
slave: talos-r4-lion-046
https://tbpl.mozilla.org/php/getParsedLog.php?id=12830402&tree=Mozilla-Inbound
{
== BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, default process 445
|<----------------Class--------------->|<-----Bytes------>|<----------------Objects---------------->|<--------------References-------------->|
Per-Inst Leaked Total Rem Mean StdDev Total Rem Mean StdDev
0 TOTAL 20 952 103544185 15 (23607.41 +/- 36532.72) 219335432 10 (42051518673.80 +/- 0.00)
427 nsAuthURLParser 24 24 2 1 ( 1.33 +/- 0.58) 283228 1 ( 8134.98 +/- 2123.79)
766 nsHashtable 72 72 4149 1 ( 450.47 +/- 108.79) 0 0 ( 0.00 +/- 0.00)
886 nsNPAPIPluginInstance 152 152 69 1 ( 3.22 +/- 2.02) 8679 2 ( 5.60 +/- 3.11)
887 nsNPAPIPluginStreamListener 136 136 44 1 ( 1.10 +/- 1.27) 134 1 ( 1.68 +/- 1.16)
943 nsPluginStreamListenerPeer 224 224 42 1 ( 0.96 +/- 1.04) 621 1 ( 5.57 +/- 4.25)
1043 nsStandardURL 248 248 87868 1 ( 8279.42 +/- 2080.08) 3850366 1 (18020.74 +/- 2826.11)
1055 nsStringBuffer 8 24 1440375 3 (73391.47 +/- 23956.39) 4581140 4 (106450.96 +/- 45247.65)
1100 nsTArray_base 8 32 33322072 4 (61476.22 +/- 23054.38) 0 0 ( 0.00 +/- 0.00)
1147 nsVoidArray 8 8 958994 1 (11584.67 +/- 2830.88) 0 0 ( 0.00 +/- 0.00)
1149 nsWeakReference 32 32 16465 1 ( 567.84 +/- 179.89) 488571 1 ( 1844.02 +/- 1076.53)
nsTraceRefcntImpl::DumpStatistics: 1251 entries
TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 952 bytes during test execution
TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of nsAuthURLParser with size 24 bytes
TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of nsHashtable with size 72 bytes
TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of nsNPAPIPluginInstance with size 152 bytes
TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of nsNPAPIPluginStreamListener with size 136 bytes
TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 1 instance of nsPluginStreamListenerPeer with size 224 bytes
TEST-INFO | automationutils.processLeakLog() | leaked 1 instance of nsStandardURL with size 248 bytes
TEST-INFO | automationutils.processLeakLog() | leaked 3 instances of nsStringBuffer with size 8 bytes each (24 bytes total)
TEST-INFO | automationutils.processLeakLog() | leaked 4 instances of nsTArray_base with size 8 bytes each (32 bytes total)
TEST-INFO | automationutils.processLeakLog() | leaked 1 instance of nsVoidArray with size 8 bytes
TEST-INFO | automationutils.processLeakLog() | leaked 1 instance of nsWeakReference with size 32 bytes
}
| Reporter | ||
Comment 1•13 years ago
|
||
Comment 2•13 years ago
|
||
| Reporter | ||
Comment 3•13 years ago
|
||
| Reporter | ||
Comment 4•13 years ago
|
||
| Reporter | ||
Comment 5•13 years ago
|
||
Comment 6•13 years ago
|
||
Comment 7•13 years ago
|
||
Comment 8•13 years ago
|
||
Summary: Intermittent mochitest-plain-2 leak of 952 bytes (1 nsAuthURLParser, 1 nsHashtable, 1 nsNPAPIPluginInstance, 1 nsNPAPIPluginStreamListener, 1 nsPluginStreamListenerPeer) with leaked URL http://mochi.test:8888/tests/dom/plugins/test/neverending.sjs → Intermittent mochitest-plain-2 leak of 608 or 952 bytes (1 nsAuthURLParser, 1 nsHashtable, 1 nsNPAPIPluginInstance, 1 nsNPAPIPluginStreamListener, 1 nsPluginStreamListenerPeer) with leaked URL http://mochi.test:8888/tests/dom/plugins/test/neverending.sjs
Comment 9•13 years ago
|
||
Comment 10•13 years ago
|
||
Comment 11•13 years ago
|
||
Comment 12•13 years ago
|
||
Comment 13•13 years ago
|
||
Comment 14•13 years ago
|
||
| Reporter | ||
Comment 15•13 years ago
|
||
| Reporter | ||
Comment 16•13 years ago
|
||
Summary: Intermittent mochitest-plain-2 leak of 608 or 952 bytes (1 nsAuthURLParser, 1 nsHashtable, 1 nsNPAPIPluginInstance, 1 nsNPAPIPluginStreamListener, 1 nsPluginStreamListenerPeer) with leaked URL http://mochi.test:8888/tests/dom/plugins/test/neverending.sjs → Intermittent M2 or reftest leak of 608 or 952 bytes (1 nsAuthURLParser, 1 nsHashtable, 1 nsNPAPIPluginInstance, 1 nsNPAPIPluginStreamListener, 1 nsPluginStreamListenerPeer) with leaked URL http://mochi.test:8888/tests/dom/plugins/test/neverending.sjs
| Reporter | ||
Comment 17•13 years ago
|
||
Comment 18•13 years ago
|
||
Comment 19•13 years ago
|
||
Comment 20•13 years ago
|
||
Comment 21•13 years ago
|
||
Comment 22•13 years ago
|
||
Comment 23•13 years ago
|
||
| Reporter | ||
Comment 24•13 years ago
|
||
| Reporter | ||
Comment 25•13 years ago
|
||
Comment 26•13 years ago
|
||
Comment 27•13 years ago
|
||
Comment 28•13 years ago
|
||
Comment 29•13 years ago
|
||
Comment 30•13 years ago
|
||
Comment 31•13 years ago
|
||
| Reporter | ||
Comment 32•13 years ago
|
||
Comment 33•13 years ago
|
||
Comment 34•13 years ago
|
||
Summary: Intermittent M2 or reftest leak of 608 or 952 bytes (1 nsAuthURLParser, 1 nsHashtable, 1 nsNPAPIPluginInstance, 1 nsNPAPIPluginStreamListener, 1 nsPluginStreamListenerPeer) with leaked URL http://mochi.test:8888/tests/dom/plugins/test/neverending.sjs → Intermittent M2 or reftest leak of 604, 608 or 952 bytes (1 nsAuthURLParser, 1 nsHashtable, 1 nsNPAPIPluginInstance, 1 nsNPAPIPluginStreamListener 1 nsPluginStreamListenerPeer) with leaked URL http://mochi.test:8888/tests/dom/plugins/test/neverending.sjs
Comment 35•13 years ago
|
||
| Reporter | ||
Comment 36•13 years ago
|
||
Comment 37•13 years ago
|
||
| Reporter | ||
Comment 38•13 years ago
|
||
| Reporter | ||
Comment 39•13 years ago
|
||
| Reporter | ||
Comment 40•13 years ago
|
||
Comment 41•13 years ago
|
||
Comment 42•13 years ago
|
||
Comment 43•13 years ago
|
||
| Reporter | ||
Comment 44•13 years ago
|
||
| Reporter | ||
Comment 45•13 years ago
|
||
Comment 46•13 years ago
|
||
| Reporter | ||
Comment 47•13 years ago
|
||
Summary: Intermittent M2 or reftest leak of 604, 608 or 952 bytes (1 nsAuthURLParser, 1 nsHashtable, 1 nsNPAPIPluginInstance, 1 nsNPAPIPluginStreamListener 1 nsPluginStreamListenerPeer) with leaked URL http://mochi.test:8888/tests/dom/plugins/test/neverending.sjs → Intermittent M2 or reftest leak of 604, 608, 952, 1196 bytes (1 nsAuthURLParser, 1 nsHashtable, 1 nsNPAPIPluginInstance, 1 nsNPAPIPluginStreamListener 1 nsPluginStreamListenerPeer) with leaked http://mochi.test:8888/tests/dom/plugins/test/neverending.sjs
Comment 48•13 years ago
|
||
Comment 49•13 years ago
|
||
Comment 50•13 years ago
|
||
Comment 51•13 years ago
|
||
| Reporter | ||
Comment 52•13 years ago
|
||
| Reporter | ||
Comment 53•13 years ago
|
||
Comment 54•13 years ago
|
||
Comment 55•13 years ago
|
||
Comment 56•13 years ago
|
||
Comment 57•13 years ago
|
||
Comment 58•13 years ago
|
||
Comment 59•13 years ago
|
||
Comment 60•13 years ago
|
||
Comment 61•13 years ago
|
||
Comment 62•13 years ago
|
||
Comment 63•13 years ago
|
||
Comment 64•13 years ago
|
||
Comment 65•13 years ago
|
||
Comment 66•13 years ago
|
||
Comment 67•13 years ago
|
||
Comment 68•13 years ago
|
||
Comment 69•13 years ago
|
||
Comment 70•13 years ago
|
||
Comment 71•13 years ago
|
||
Comment 72•13 years ago
|
||
Comment 73•13 years ago
|
||
Comment 74•13 years ago
|
||
Comment 75•13 years ago
|
||
Comment 76•13 years ago
|
||
Comment 77•13 years ago
|
||
Comment 78•13 years ago
|
||
Comment 79•13 years ago
|
||
Comment 80•13 years ago
|
||
Comment 81•13 years ago
|
||
Comment 82•13 years ago
|
||
Comment 83•13 years ago
|
||
Also in mochitest-ipcplugins:
https://tbpl.mozilla.org/php/getParsedLog.php?id=15258246&tree=Try
| Reporter | ||
Comment 84•13 years ago
|
||
Comment 85•13 years ago
|
||
Comment 86•13 years ago
|
||
| Reporter | ||
Comment 87•13 years ago
|
||
Comment 88•13 years ago
|
||
Comment 89•13 years ago
|
||
Comment 90•13 years ago
|
||
Comment 91•13 years ago
|
||
Comment 92•13 years ago
|
||
Comment 93•13 years ago
|
||
Linux this time, with leaked URL http://localhost:4444/1348056214901/361/ogg-video/black140x100.ogv
https://tbpl.mozilla.org/php/getParsedLog.php?id=15339244&tree=Mozilla-Inbound
OS: Mac OS X → All
Hardware: x86_64 → All
Comment 94•13 years ago
|
||
Comment 95•13 years ago
|
||
Comment 96•13 years ago
|
||
Comment 97•13 years ago
|
||
Comment 98•13 years ago
|
||
Comment 99•13 years ago
|
||
Comment 100•13 years ago
|
||
Comment 101•13 years ago
|
||
Comment 102•13 years ago
|
||
Comment 103•13 years ago
|
||
| Reporter | ||
Comment 104•13 years ago
|
||
| Reporter | ||
Comment 105•13 years ago
|
||
Comment 106•13 years ago
|
||
Comment 107•13 years ago
|
||
Comment 108•13 years ago
|
||
Comment 109•13 years ago
|
||
Comment 110•13 years ago
|
||
Comment 111•13 years ago
|
||
Comment 112•13 years ago
|
||
Comment 113•13 years ago
|
||
Comment 114•13 years ago
|
||
Comment 115•13 years ago
|
||
Comment 116•13 years ago
|
||
Comment 117•13 years ago
|
||
Comment 118•13 years ago
|
||
Comment 119•13 years ago
|
||
| Reporter | ||
Comment 120•13 years ago
|
||
| Reporter | ||
Comment 121•13 years ago
|
||
| Reporter | ||
Comment 122•13 years ago
|
||
Comment 123•13 years ago
|
||
Comment 124•13 years ago
|
||
Comment 125•13 years ago
|
||
Comment 126•13 years ago
|
||
Comment 127•13 years ago
|
||
Summary: Intermittent M2 or reftest leak of 604, 608, 952, 1196 bytes (1 nsAuthURLParser, 1 nsHashtable, 1 nsNPAPIPluginInstance, 1 nsNPAPIPluginStreamListener 1 nsPluginStreamListenerPeer) with leaked http://mochi.test:8888/tests/dom/plugins/test/neverending.sjs → Intermittent leak of 600, 604, 608, 952, 1196 bytes (1 nsAuthURLParser, 1 nsHashtable, 1 nsNPAPIPluginInstance, 1 nsNPAPIPluginStreamListener, 1 nsPluginStreamListenerPeer) with leaked http://mochi.test:8888/tests/dom/plugins/test/neverending.sjs
Comment 128•13 years ago
|
||
Comment 129•13 years ago
|
||
Comment 130•13 years ago
|
||
Comment 131•13 years ago
|
||
Comment 132•13 years ago
|
||
Comment 133•13 years ago
|
||
| Reporter | ||
Comment 134•13 years ago
|
||
| Reporter | ||
Comment 135•13 years ago
|
||
| Reporter | ||
Comment 136•13 years ago
|
||
Comment 137•13 years ago
|
||
Comment 138•13 years ago
|
||
Comment 139•13 years ago
|
||
Comment 140•13 years ago
|
||
Comment 141•13 years ago
|
||
Comment 142•13 years ago
|
||
Comment 143•13 years ago
|
||
| Reporter | ||
Comment 144•13 years ago
|
||
Comment 145•13 years ago
|
||
Comment 146•13 years ago
|
||
Comment 147•13 years ago
|
||
| Reporter | ||
Comment 148•13 years ago
|
||
Comment 149•13 years ago
|
||
| Assignee | ||
Comment 150•13 years ago
|
||
I looked into this a little, but I'm not any closer to understanding what's going on.
When we leak the plugin instance, we get a second call to nsPluginStreamListenerPeer::OnStopRequest, note aStatus NS_ERROR_NOT_INITIALIZED
#0 nsPluginStreamListenerPeer::OnStopRequest (this=0x7fffb699ed60, request=0x7fffaf52c058, aContext=0x0, aStatus=NS_ERROR_NOT_INITIALIZED) at /home/johns/moz/moz-git/dom/plugins/base/nsPluginStreamListenerPeer.cpp:961
#1 0x00007ffff0f191f6 in mozilla::net::HttpBaseChannel::DoNotifyListener (this=0x7fffaf52c000) at /home/johns/moz/moz-git/netwerk/protocol/http/HttpBaseChannel.cpp:1432
#2 0x00007ffff0f298d0 in mozilla::net::HttpAsyncAborter<mozilla::net::nsHttpChannel>::HandleAsyncAbort (this=0x7fffaf52c2c0) at /home/johns/moz/moz-git/netwerk/protocol/http/HttpBaseChannel.h:339
#3 0x00007ffff0f297ec in mozilla::net::nsHttpChannel::HandleAsyncAbort (this=0x7fffaf52c000) at /home/johns/moz/moz-git/netwerk/protocol/http/nsHttpChannel.cpp:1844
#4 0x00007ffff0f3e7e8 in nsRunnableMethodImpl<void (mozilla::net::nsHttpChannel::*)(), true>::Run (this=0x7fffaf549a00) at ../../../dist/include/nsThreadUtils.h:349
#5 0x00007ffff2fbbe6f in nsThread::ProcessNextEvent (this=0x7ffff6d793d0, mayWait=true, result=0x7fffffffb38e) at /home/johns/moz/moz-git/xpcom/threads/nsThread.cpp:612
#6 0x00007ffff2f2fd59 in NS_ProcessNextEvent_P (thread=0x7ffff6d793d0, mayWait=true) at nsThreadUtils.cpp:220
#7 0x00007ffff2a04c98 in mozilla::places::(anonymous namespace)::BlockingConnectionCloseCallback::Spin (this=0x7fffaf50cb00) at /home/johns/moz/moz-git/toolkit/components/places/Database.cpp:246
#8 0x00007ffff2a04ab3 in mozilla::places::Database::Shutdown (this=0x7ffff6d221f0) at /home/johns/moz/moz-git/toolkit/components/places/Database.cpp:1899
#9 0x00007ffff2a058b7 in mozilla::places::Database::Observe (this=0x7ffff6d221f0, aSubject=0x7fffaf510e00, aTopic=0x7ffff4189a4b "profile-before-change", aData=0x7ffff41899d0 <nsXREDirProvider::DoShutdown()::kShutdownPersist>) at /home/johns/moz/moz-git/toolkit/components/places/Database.cpp:1996
#10 0x00007ffff2f5b816 in nsObserverList::NotifyObservers (this=0x7fffc4a10270, aSubject=0x7fffaf510e00, aTopic=0x7ffff4189a4b "profile-before-change", someData=0x7ffff41899d0 <nsXREDirProvider::DoShutdown()::kShutdownPersist>) at /home/johns/moz/moz-git/xpcom/ds/nsObserverList.cpp:99
#11 0x00007ffff2f5dc96 in nsObserverService::NotifyObservers (this=0x7fffe7df3880, aSubject=0x7fffaf510e00, aTopic=0x7ffff4189a4b "profile-before-change", someData=0x7ffff41899d0 <nsXREDirProvider::DoShutdown()::kShutdownPersist>) at /home/johns/moz/moz-git/xpcom/ds/nsObserverService.cpp:149
#12 0x00007ffff0d55cd0 in nsXREDirProvider::DoShutdown (this=0x7fffffffb9d8) at /home/johns/moz/moz-git/toolkit/xre/nsXREDirProvider.cpp:861
...whereas we only ever get one call when the test does not leak, from InputStreamPump.
Comment 151•13 years ago
|
||
Comment 152•13 years ago
|
||
Comment 153•13 years ago
|
||
Comment 154•13 years ago
|
||
Comment 155•13 years ago
|
||
Comment 156•13 years ago
|
||
Comment 157•13 years ago
|
||
Comment 158•13 years ago
|
||
Comment 159•13 years ago
|
||
Comment 160•13 years ago
|
||
Comment 161•13 years ago
|
||
Comment 162•13 years ago
|
||
Comment 163•13 years ago
|
||
Comment 164•13 years ago
|
||
Comment 165•13 years ago
|
||
| Reporter | ||
Comment 166•13 years ago
|
||
| Reporter | ||
Comment 167•13 years ago
|
||
| Reporter | ||
Comment 168•13 years ago
|
||
| Reporter | ||
Comment 169•13 years ago
|
||
Comment 170•13 years ago
|
||
Comment 171•13 years ago
|
||
Comment 172•13 years ago
|
||
Comment 173•13 years ago
|
||
Comment 174•13 years ago
|
||
Comment 175•13 years ago
|
||
Comment 176•13 years ago
|
||
Comment 177•13 years ago
|
||
Comment 178•13 years ago
|
||
Comment 179•13 years ago
|
||
Comment 180•13 years ago
|
||
Comment 181•13 years ago
|
||
Comment 182•13 years ago
|
||
Comment 183•13 years ago
|
||
Comment 184•13 years ago
|
||
Comment 185•13 years ago
|
||
Comment 186•13 years ago
|
||
Comment 187•13 years ago
|
||
Comment 188•13 years ago
|
||
Comment 189•13 years ago
|
||
| Reporter | ||
Comment 190•13 years ago
|
||
| Reporter | ||
Comment 191•13 years ago
|
||
| Reporter | ||
Comment 192•13 years ago
|
||
| Reporter | ||
Comment 193•13 years ago
|
||
| Reporter | ||
Comment 194•13 years ago
|
||
Comment 195•13 years ago
|
||
Comment 196•13 years ago
|
||
Comment 197•13 years ago
|
||
Comment 198•13 years ago
|
||
Comment 199•13 years ago
|
||
Comment 200•13 years ago
|
||
Comment 201•13 years ago
|
||
| Reporter | ||
Comment 202•13 years ago
|
||
| Reporter | ||
Comment 203•13 years ago
|
||
Comment 204•13 years ago
|
||
Comment 205•13 years ago
|
||
Comment 206•13 years ago
|
||
Comment 207•13 years ago
|
||
Comment 208•13 years ago
|
||
Comment 209•13 years ago
|
||
Comment 210•13 years ago
|
||
Comment 211•13 years ago
|
||
Comment 212•13 years ago
|
||
Comment 213•13 years ago
|
||
Comment 214•13 years ago
|
||
Comment 215•13 years ago
|
||
Comment 216•13 years ago
|
||
Comment 217•13 years ago
|
||
| Reporter | ||
Comment 218•13 years ago
|
||
| Reporter | ||
Comment 219•13 years ago
|
||
| Reporter | ||
Comment 220•13 years ago
|
||
| Reporter | ||
Comment 221•13 years ago
|
||
| Reporter | ||
Comment 222•13 years ago
|
||
| Reporter | ||
Comment 223•13 years ago
|
||
Comment 224•13 years ago
|
||
Comment 225•13 years ago
|
||
Comment 226•13 years ago
|
||
Comment 227•13 years ago
|
||
Comment 228•13 years ago
|
||
| Reporter | ||
Comment 229•13 years ago
|
||
Comment 230•13 years ago
|
||
| Reporter | ||
Comment 231•13 years ago
|
||
| Reporter | ||
Comment 232•13 years ago
|
||
Comment 233•13 years ago
|
||
Comment 234•13 years ago
|
||
Comment 235•13 years ago
|
||
Comment 236•13 years ago
|
||
Comment 237•13 years ago
|
||
Comment 238•13 years ago
|
||
Comment 239•13 years ago
|
||
Comment 240•13 years ago
|
||
Comment 241•13 years ago
|
||
Comment 242•13 years ago
|
||
Comment 243•13 years ago
|
||
Comment 244•13 years ago
|
||
| Reporter | ||
Comment 245•13 years ago
|
||
| Reporter | ||
Comment 246•13 years ago
|
||
Comment 247•13 years ago
|
||
Comment 248•13 years ago
|
||
Comment 249•13 years ago
|
||
Comment 250•13 years ago
|
||
| Reporter | ||
Comment 251•13 years ago
|
||
| Reporter | ||
Comment 252•13 years ago
|
||
| Reporter | ||
Comment 253•13 years ago
|
||
Comment 254•13 years ago
|
||
Comment 255•13 years ago
|
||
Comment 256•13 years ago
|
||
Comment 257•13 years ago
|
||
Comment 258•13 years ago
|
||
Comment 259•13 years ago
|
||
Comment 260•13 years ago
|
||
Comment 261•13 years ago
|
||
Comment 262•13 years ago
|
||
Comment 263•13 years ago
|
||
Comment 264•13 years ago
|
||
Comment 265•13 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=16195828&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=16193291&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=16192006&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=16188313&tree=Mozilla-Inbound
Comment 266•13 years ago
|
||
Comment 267•13 years ago
|
||
Comment 268•13 years ago
|
||
Comment 269•13 years ago
|
||
Comment 270•13 years ago
|
||
Comment 271•13 years ago
|
||
Comment 272•13 years ago
|
||
Comment 273•13 years ago
|
||
Comment 274•13 years ago
|
||
Comment 275•13 years ago
|
||
Comment 276•13 years ago
|
||
| Reporter | ||
Comment 277•13 years ago
|
||
| Reporter | ||
Comment 278•13 years ago
|
||
| Reporter | ||
Comment 279•13 years ago
|
||
| Reporter | ||
Comment 280•13 years ago
|
||
bsmedberg, do you have any ideas about this pretty frequent leak (see John's initial assessment at comment 150)?
Comment 281•13 years ago
|
||
Comment 282•13 years ago
|
||
Comment 283•13 years ago
|
||
Comment 284•13 years ago
|
||
Comment 285•13 years ago
|
||
Comment 286•13 years ago
|
||
Comment 287•13 years ago
|
||
Comment 288•13 years ago
|
||
| Reporter | ||
Comment 289•13 years ago
|
||
| Reporter | ||
Comment 290•13 years ago
|
||
Comment 291•13 years ago
|
||
Comment 292•13 years ago
|
||
Comment 293•13 years ago
|
||
Comment 294•13 years ago
|
||
Comment 295•13 years ago
|
||
Comment 296•13 years ago
|
||
Comment 297•13 years ago
|
||
Comment 298•13 years ago
|
||
Comment 299•13 years ago
|
||
Comment 300•13 years ago
|
||
Comment 301•13 years ago
|
||
Comment 302•13 years ago
|
||
Comment 303•13 years ago
|
||
Comment 304•13 years ago
|
||
Comment 305•13 years ago
|
||
Comment 306•13 years ago
|
||
Comment 307•13 years ago
|
||
Comment 308•13 years ago
|
||
Comment 309•13 years ago
|
||
Comment 310•13 years ago
|
||
Comment 311•13 years ago
|
||
Comment 312•13 years ago
|
||
Comment 313•13 years ago
|
||
Comment 314•13 years ago
|
||
Comment 315•13 years ago
|
||
Comment 316•13 years ago
|
||
(In reply to Ed Morley (PTO/travelling until 24th Oct) [:edmorley UTC+1] from comment #280)
> bsmedberg, do you have any ideas about this pretty frequent leak (see John's
> initial assessment at comment 150)?
I guess that's a no. That's OK, manually starring this bug frequently throughout the day is fun anyway...
https://tbpl.mozilla.org/php/getParsedLog.php?id=16375382&tree=Firefox
Comment 317•13 years ago
|
||
Comment 318•13 years ago
|
||
Comment 319•13 years ago
|
||
Comment 320•13 years ago
|
||
Comment 321•13 years ago
|
||
Comment 322•13 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=16397805&tree=Mozilla-Inbound
I'm not proud. Or tired.
Comment 323•13 years ago
|
||
Comment 324•13 years ago
|
||
Comment 325•13 years ago
|
||
Comment 326•13 years ago
|
||
Comment 327•13 years ago
|
||
Comment 328•13 years ago
|
||
Comment 329•13 years ago
|
||
Comment 330•13 years ago
|
||
Comment 331•13 years ago
|
||
Comment 332•13 years ago
|
||
Comment 333•13 years ago
|
||
Comment 334•13 years ago
|
||
Comment 335•13 years ago
|
||
Comment 336•13 years ago
|
||
Comment 337•13 years ago
|
||
Comment 338•13 years ago
|
||
Comment 339•13 years ago
|
||
Comment 340•13 years ago
|
||
Comment 341•13 years ago
|
||
Comment 342•13 years ago
|
||
| Reporter | ||
Comment 343•13 years ago
|
||
| Reporter | ||
Comment 344•13 years ago
|
||
Comment 345•13 years ago
|
||
Comment 346•13 years ago
|
||
Comment 347•13 years ago
|
||
Comment 348•13 years ago
|
||
Comment 349•13 years ago
|
||
Comment 350•13 years ago
|
||
| Reporter | ||
Comment 351•13 years ago
|
||
Comment 352•13 years ago
|
||
Comment 353•13 years ago
|
||
Comment 354•13 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=16509695&tree=Mozilla-Inbound
Looks like we're probably on our own here. Alas, it's not as easy to disable our way to victory as the (former) summary would make it seem - neverending.sjs is only used by test_pluginstream_seek_close.html, but the reftests we've been dropping in here so long that I thought that was what the bug was about seem to be leaking something that http://mxr.mozilla.org/mozilla-central/search?string=black140x100.ogv says is used in 33 reftests. So probably our first step is going to be to file a separate Video/Audio bug for them, and then we can use this bug to just disable test_pluginstream_seek_close.html since nobody wants to fix it, and see whether or not anyone will want to fix those once they are in the right lap.
Summary: Intermittent leak of 600, 604, 608, 952, 1196 bytes (1 nsAuthURLParser, 1 nsHashtable, 1 nsNPAPIPluginInstance, 1 nsNPAPIPluginStreamListener, 1 nsPluginStreamListenerPeer) with leaked http://mochi.test:8888/tests/dom/plugins/test/neverending.sjs → Intermittent leak of 1 nsAuthURLParser, 1 nsHashtable, 1 nsNPAPIPluginInstance, 1 nsNPAPIPluginStreamListener, 1 nsPluginStreamListenerPeer with leaked dom/plugins/test/neverending.sjs or ogg-video/black140x100.ogv
Comment 355•13 years ago
|
||
Comment 356•13 years ago
|
||
Comment 357•13 years ago
|
||
| Reporter | ||
Comment 358•13 years ago
|
||
I've disabled test_pluginstream_seek_close.html due to lack of action in this bug (see comment 354):
https://hg.mozilla.org/integration/mozilla-inbound/rev/eb63fc7d719d
Summary: Intermittent leak of 1 nsAuthURLParser, 1 nsHashtable, 1 nsNPAPIPluginInstance, 1 nsNPAPIPluginStreamListener, 1 nsPluginStreamListenerPeer with leaked dom/plugins/test/neverending.sjs or ogg-video/black140x100.ogv → Intermittent test_pluginstream_seek_close.html leak of 1 nsAuthURLParser, 1 nsHashtable, 1 nsNPAPIPluginInstance, 1 nsNPAPIPluginStreamListener, 1 nsPluginStreamListenerPeer with leaked dom/plugins/test/neverending.sjs
Whiteboard: [orange] → [orange][test disabled][leave open]
Comment 359•13 years ago
|
||
Comment 360•13 years ago
|
||
Apparently I have a mxr-reading-comprehension problem, since once https://tbpl.mozilla.org/php/getParsedLog.php?id=16532622&tree=Firefox leaked demonstrating that it wasn't just test_pluginstream_seek_close.html, it was pretty obvious that test_streamatclose.html uses it too.
Now that we know test_streamatclose.html leaks, we should probably disable it (more subtly, since it'll be easier to only disable it if SpecialPowers.isDebugBuild) and reenable test_pluginstream_seek_close.html to see whether or not it also leaks.
Comment 361•13 years ago
|
||
Disabled test_streamatclose.html in https://hg.mozilla.org/integration/mozilla-inbound/rev/a9541226ccd5, reenabled test_pluginstream_seek_close.html in https://hg.mozilla.org/integration/mozilla-inbound/rev/aa367b01df3f
Comment 362•13 years ago
|
||
| Reporter | ||
Comment 363•13 years ago
|
||
Comment 364•13 years ago
|
||
Comment 365•13 years ago
|
||
It's going to take us a while to remember that bug 806133, which both of those are, exists, isn't it?
| Reporter | ||
Comment 366•13 years ago
|
||
/me deletes from history
Comment 367•13 years ago
|
||
My awesomebar is trained on "604", sorry...
| Assignee | ||
Comment 368•13 years ago
|
||
Okay so I can reproduce this reliably and I think I sort of understand what is
going on. This code scares me.
1) the nsNPAPIPluginInstance is stopped, and destroys its streams
2) nsNPAPIPluginStreamListener::CleanUpStream is called, but this stream has not gotten OnStartBinding
3) nsPluginStreamListenerPeer calls nsNPAPIPluginStreamListener->OnStartBinding / OnStopBinding
(who owns this? Should it be killed earlier?)
4) In OnStopBinding() we finally cancel the actual request
The resultant number of trips through the event loop for this channel to die and
dependancy chain to unwind explains why this leak happens if we shut down the
browser immediately, but not otherwise. I think.
This patch has CleanUpStream cancel pending requests immediately if it is aware
of its associated nsPluginSteamListenerPeer, and also causes OnStartBinding to
bail out if we've already been cleaned up. It seems to fix the leak.
@bsmedberg - Does any of this make any sense? I've no idea what I'm doing.
Attachment #679943 -
Flags: review?(benjamin)
https://tbpl.mozilla.org/php/getParsedLog.php?id=16928409&tree=Mozilla-Aurora
Rev4 MacOSX Lion 10.7 mozilla-aurora debug test mochitest-other
Updated•13 years ago
|
Attachment #679943 -
Flags: review?(benjamin) → review+
| Assignee | ||
Comment 370•13 years ago
|
||
Comment on attachment 679943 [details] [diff] [review]
Fix
pushed:
https://hg.mozilla.org/integration/mozilla-inbound/rev/59c32eccc97d
try:
https://tbpl.mozilla.org/?tree=Try&rev=c4b05fdd5971
Waiting to see if this stops bug 806133 before re-enabling the test here
Attachment #679943 -
Flags: checkin+
Comment 371•13 years ago
|
||
Try run for c4b05fdd5971 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=c4b05fdd5971
Results (out of 103 total builds):
success: 91
warnings: 11
failure: 1
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/jschoenick@mozilla.com-c4b05fdd5971
Comment 372•13 years ago
|
||
Unfortunately, your try push was for linux64, and my feeling (without having loaded a hundred logs to double-check) is that 806133 is 100% linux32.
| Reporter | ||
Comment 373•13 years ago
|
||
(In reply to Phil Ringnalda (:philor) from comment #372)
> Unfortunately, your try push was for linux64, and my feeling (without having
> loaded a hundred logs to double-check) is that 806133 is 100% linux32.
Indeed:
http://brasstacks.mozilla.com/orangefactor/?display=Bug&bugid=806133&entireHistory=true&tree=trunk
| Assignee | ||
Comment 374•13 years ago
|
||
(In reply to Phil Ringnalda (:philor) from comment #372)
> Unfortunately, your try push was for linux64, and my feeling (without having
> loaded a hundred logs to double-check) is that 806133 is 100% linux32.
The patch fixes the local testcase I came up with to reproduce this, the try push was more to ensure this didn't cause any further failures -- I didn't hammer any tests on it. If more failures occur after this push, I'll need to go back and find a different repro.
Comment 375•13 years ago
|
||
Good news: I triggered 20 linux32 debug reftests on your inbound push, and got zero leaks, three fewer than I would have expected if it was still leaking
Bad news: we hadn't noticed that we had a permaorange failure in linux32 debug reftest from somewhere way down below you, so now your push looks like crap ;)
Comment 376•13 years ago
|
||
| Reporter | ||
Comment 378•13 years ago
|
||
(In reply to John Schoenick [:johns] from comment #370)
> Waiting to see if this stops bug 806133 before re-enabling the test here
Looks like this fixed bug 806133 :-)
I've backed out the test-disabling:
https://hg.mozilla.org/integration/mozilla-inbound/rev/1f553fc1265e
Assignee: nobody → jschoenick
Status: NEW → ASSIGNED
status-firefox18:
--- → affected
status-firefox19:
--- → fixed
Whiteboard: [orange][test disabled][leave open] → [orange]
Target Milestone: --- → mozilla19
| Reporter | ||
Comment 379•13 years ago
|
||
John, thank you for fixing this :-)
Please may you request uplift to aurora? (I can't really speak for the patch's risk etc)
Comment 380•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
| Assignee | ||
Comment 381•13 years ago
|
||
Comment on attachment 679943 [details] [diff] [review]
Fix
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
Unknown
User impact if declined:
No user impact, but continuing frequent orange on FF18
Testing completed (on m-c, etc.):
on m-c
Risk to taking this patch (and alternatives if risky):
Low, small tweak to ordering of plugin stream cleanup.
String or UUID changes made by this patch:
None
Attachment #679943 -
Attachment description: Fix of questionable correctness → Fix
Attachment #679943 -
Flags: approval-mozilla-aurora?
Comment 382•13 years ago
|
||
Comment on attachment 679943 [details] [diff] [review]
Fix
Approving on aurora as it has no user impact and fixes an orange on FF18
Attachment #679943 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 383•13 years ago
|
||
Updated•13 years ago
|
Keywords: intermittent-failure
Updated•13 years ago
|
Whiteboard: [orange]
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•