Closed Bug 1045419 Opened 10 years ago Closed 7 years ago

Leak in GMP process

Categories

(Core Graveyard :: Plug-ins, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: KWierso, Unassigned)

Details

Leakchecking hasn't been working for a few days due to bug 1045255. Now that leakchecking is working again, I'm seeing this leak: https://tbpl.mozilla.org/php/getParsedLog.php?id=44758939&tree=Mozilla-Central

18:22:43     INFO -  61081 INFO nsStringStats
18:22:43     INFO -  61082 INFO  => mAllocCount:        4143720
18:22:43     INFO -  61083 INFO  => mReallocCount:       228529
18:22:43     INFO -  61084 INFO  => mFreeCount:         4143720
18:22:43     INFO -  61085 INFO  => mShareCount:        9730532
18:22:43     INFO -  61086 INFO  => mAdoptCount:         402971
18:22:43     INFO -  61087 INFO  => mAdoptFreeCount:     402971
18:22:43     INFO -  61088 INFO  => Process ID: 963, Thread ID: 140735090425024
18:22:43     INFO -  61089 INFO [974] WARNING: Abnormal shutdown of GMP process!: file /builds/slave/m-cen-osx64-d-0000000000000000/build/content/media/gmp/GMPChild.cpp, line 137
18:22:43     INFO -  TEST-INFO | Main app process: exit 0
18:22:43     INFO -  61090 INFO runtests.py | Application ran for: 0:23:41.705069
18:22:43     INFO -  61091 INFO zombiecheck | Reading PID log: /var/folders/St/StueCY5dFuaiXynMz2ZoV++++-k/-Tmp-/tmp7HjRYGpidlog
18:22:43     INFO -  61092 INFO Stopping web server
18:22:43     INFO -  61093 INFO Stopping web socket server
18:22:43     INFO -  61094 INFO Stopping ssltunnel
18:22:43     INFO -  == BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, default process 963
18:22:43     INFO -       |<----------------Class--------------->|<-----Bytes------>|<----------------Objects---------------->|<--------------References-------------->|
18:22:43     INFO -                                                Per-Inst   Leaked    Total      Rem      Mean       StdDev     Total      Rem      Mean       StdDev
18:22:43     INFO -     0 TOTAL                                          19      632 426627279        5 (33067.30 +/- 64366.17) 275302308        0 ( 8824.91 +/- 16207.35)
18:22:43     INFO -   139 CondVar                                        32       32    19253        1 (   38.90 +/-     4.11)        0        0 (    0.00 +/-     0.00)
18:22:43     INFO -   153 CrashReporterParent                           152      152       14        1 (    1.56 +/-     1.12)        0        0 (    0.00 +/-     0.00)
18:22:43     INFO -   284 GeckoChildProcessHost                         376      376       14        1 (    1.56 +/-     1.12)        0        0 (    0.00 +/-     0.00)
18:22:43     INFO -   478 Mutex                                          24       24   109724        1 (  289.04 +/-    35.40)        0        0 (    0.00 +/-     0.00)
18:22:43     INFO -   518 PCrashReporterParent                           48       48       14        1 (    1.56 +/-     1.12)        0        0 (    0.00 +/-     0.00)
18:22:43     INFO -  nsTraceRefcnt::DumpStatistics: 1644 entries
18:22:43     INFO -  TEST-INFO | leakcheck | leaked 1 CondVar (32 bytes)
18:22:43     INFO -  TEST-INFO | leakcheck | leaked 1 CrashReporterParent (152 bytes)
18:22:43     INFO -  TEST-INFO | leakcheck | leaked 1 GeckoChildProcessHost (376 bytes)
18:22:43     INFO -  TEST-INFO | leakcheck | leaked 1 Mutex (24 bytes)
18:22:43     INFO -  TEST-INFO | leakcheck | leaked 1 PCrashReporterParent (48 bytes)
18:22:43  WARNING -  TEST-UNEXPECTED-FAIL | leakcheck | 632 bytes leaked (CondVar, CrashReporterParent, GeckoChildProcessHost, Mutex, PCrashReporterParent)
18:22:43     INFO -  ==> process 976 will purposefully crash
18:22:43     INFO -  TEST-INFO | leakcheck | plugin process: deliberate crash and thus no leak log
18:22:43     INFO -  ==> process 978 will purposefully crash
18:22:43     INFO -  TEST-INFO | leakcheck | plugin process: deliberate crash and thus no leak log
18:22:43     INFO -  ==> process 979 will purposefully crash
18:22:43     INFO -  TEST-INFO | leakcheck | plugin process: deliberate crash and thus no leak log
18:22:43     INFO -  ==> process 981 will purposefully crash
18:22:43     INFO -  TEST-INFO | leakcheck | plugin process: deliberate crash and thus no leak log
18:22:43     INFO -  ==> process 971 will purposefully crash
18:22:43     INFO -  TEST-INFO | leakcheck | tab process: deliberate crash and thus no leak log
18:22:43     INFO -  61095 INFO runtests.py | Running tests: end.
18:22:43     INFO -  61096 INFO TEST-START | Shutdown
18:22:43     INFO -  61097 INFO Passed:  42048
18:22:43     INFO -  61098 INFO Failed:  0
18:22:43     INFO -  61099 INFO Todo:    393
18:22:43     INFO -  61100 INFO Slowest: 35340ms - /tests/dom/tests/mochitest/ajax/jquery/test_jQuery.html
18:22:43     INFO -  61101 INFO SimpleTest FINISHED
18:22:43     INFO -  61102 INFO TEST-INFO | Ran 1 Loops
18:22:43     INFO -  61103 INFO SimpleTest FINISHED
18:22:43     INFO -  61104 INFO SUITE-END | took 1421s
18:22:44     INFO - Return code: 0
18:22:44     INFO - TinderboxPrint: mochitest-plain-chunked<br/>42048/0/393&nbsp;<em class="testfail">LEAK</em>
18:22:44  WARNING - # TBPL WARNING #

Which seems to be happening after an abnormal shutdown of GMP process.
Jesup, any ideas?
Flags: needinfo?(rjesup)
The test disabling in bug 1045421 landed with this bug's number in the commit message.
These leaks should all be fixed by patches on m-i for bug 1043531 and bug 1044550 (and from the IRC traffic I believe that's correct).
Flags: needinfo?(rjesup)
Resolving old bugs which are likely not relevant any more, since NPAPI plugins are deprecated.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.