Closed Bug 751957 Opened 13 years ago Closed 10 years ago

Leak in dom/system/gonk/RadioInterfaceLayer.js

Categories

(Firefox OS Graveyard :: RIL, defect)

defect
Not set
normal

Tracking

(blocking-basecamp:-, tracking-b2g:backlog)

RESOLVED INVALID
blocking-basecamp -
tracking-b2g backlog

People

(Reporter: vingtetun, Unassigned)

References

Details

After launching b2g desktop I got: nsStringStats => mAllocCount: 65643 => mReallocCount: 2428 => mFreeCount: 65636 -- LEAKED 7 !!! => mShareCount: 23318 => mAdoptCount: 2036 => mAdoptFreeCount: 2036 After a basic investigation it seems like this is related to RadioInterfaceLayer.js
(In reply to Vivien Nicolas (:vingtetun) from comment #0) > After a basic investigation it seems like this is related to > RadioInterfaceLayer.js How did you arrive at that conlusion? I'll take a look to see if there's anything obvious that we're not cleaning up (e.g. some service reference.)
Blocks: 748077, b2g-ril
No longer depends on: 748077
(In reply to Philipp von Weitershausen [:philikon] from comment #1) > (In reply to Vivien Nicolas (:vingtetun) from comment #0) > > After a basic investigation it seems like this is related to > > RadioInterfaceLayer.js > > How did you arrive at that conlusion? Simply by commenting some code in RadioInterfaceLayer.js to prevent it to work. I have not found any obvious cause btw.
RIL is probably holding a reference to some XPCOM service. However, RIL stays resident for the lifetime of a device being live, so this shouldn't be a problem on phones. Not going to block on this for now.
No longer blocks: b2g-ril
blocking-basecamp: --- → -
Component: DOM: Device Interfaces → RIL
Product: Core → Firefox OS
Version: Trunk → unspecified
Move it to backlog.
blocking-b2g: --- → backlog
since Bug 920551 - B2G RIL: allow building B2G without all RIL functions, there isn't RIL running on b2g-desktop. Close it as invalid.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
blocking-b2g: backlog → ---
You need to log in before you can comment on or make changes to this bug.