Closed Bug 1434868 Opened 6 years ago Closed 4 years ago

Intermittent leakcheck | tab process: 460 bytes leaked (BackstagePass, XPCNativeInterface, XPCNativeMember, XPCNativeSet, XPCWrappedNative, ...)

Categories

(DevTools :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1576498

People

(Reporter: jdescottes, Unassigned)

References

Details

(Keywords: intermittent-failure, memory-leak)

This leak seems to be occurring quite frequently, just got 2 on one try run.
It leaks while running tests from: devtools/server/tests/browser/

Sometimes, the types of objects being leaked helps:
|<----------------Class--------------->|<-----Bytes------>|<----Objects---->|
|                                      | Per-Inst   Leaked|   Total      Rem|
|TOTAL                                 |       37      460|  287737       11|
|BackstagePass                         |      104      104|       5        1|
|XPCNativeInterface                    |       56       56|     460        1|
|XPCNativeMember                       |       16       16|   15406        1|
|XPCNativeSet                          |       32       32|     240        1|
|XPCWrappedNative                      |       96       96|    1317        1|
|XPCWrappedNativeProto                 |       40       40|     172        1|
|XPCWrappedNativeTearOff               |       32       32|    1852        1|
|nsJSPrincipals                        |       24       24|     295        1|
|nsStringBuffer                        |       12       12|   43104        1|
|nsTArray_base                         |        8        8|  100100        1|
|xptiInterfaceInfo                     |       40       40|     191        1|

But here, we are leaking pretty generic objects.
BackstagePass is the global object for JSMs or JS XPCOM.
For the record this failure only seems to happen on artifact builds, which is why it is not often spotted by sheriffs. But it s quite frequent for artifact builds on try.
Priority: -- → P3
:jdescottes, do you think this is a debugger bug?
It's actually unlikely, it's triggered by one of the tests in https://searchfox.org/mozilla-central/source/devtools/server/tests/browser/browser.ini

My attempts at narrowing it down to a single test were not fruitful, could only get the failure regularly when running most of the folder ...
Component: Developer Tools: Debugger → Developer Tools
Product: Firefox → DevTools

This looks the same as bug 1576498.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.