Closed Bug 1054425 Opened 11 years ago Closed 11 years ago

cache2: leak in CacheFileMetadata::WriteMetadata

Categories

(Core :: Networking: Cache, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla34
Tracking Status
firefox32 --- fixed
firefox33 --- fixed
firefox34 --- fixed
firefox-esr31 --- unaffected

People

(Reporter: jduell.mcbugs, Assigned: michal)

References

Details

Attachments

(1 file)

ASAN testing is showing 8720 byte(s) leaked in 68 allocation(s) during 00:09:25 WARNING - TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::CacheFileMetadata::WriteMetadata, mozilla::net::CacheFile::WriteMetadataIfNeededLocked, mozilla::net::CacheFile::~CacheFile 00:09:25 INFO - runtests.py | Application ran for: 0:41:27.008357 Looks like this is the test that fails (note IPDL-looking error): 0:09:21 INFO - 4821 INFO TEST-OK | /tests/dom/base/test/test_writable-replaceable.html | took 231ms 00:09:21 INFO - 4822 INFO ###!!! [Parent][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
Looks like this happens in test_storage_session_setitem_js.html too. See mochitest 1 and 2 failures in https://tbpl.mozilla.org/?tree=Try&rev=a1ea7549c4fd
And also test_hiddenPrivateWindow.xul (see "oth" test in ASAN run).
Comment on attachment 8474199 [details] [diff] [review] fix Review of attachment 8474199 [details] [diff] [review]: ----------------------------------------------------------------- I think this looks good. Pushed a try build with this and Steve's patch for the other bug in bug 1053517.
Attachment #8474199 - Flags: review?(jduell.mcbugs) → review+
Try run looks good (at least for this bug, i.e. the ASAN results): https://tbpl.mozilla.org/?tree=Try&rev=fe5dcd1b7abb
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
ASAN runs look good on Aurora/Beta Try pushes. I think is ready for an uplift nomination.
Flags: needinfo?(michal.novotny)
Comment on attachment 8474199 [details] [diff] [review] fix Approval Request Comment [Feature/regressing bug #]: cache2 [User impact if declined]: memory leak [Describe test coverage new/current, TBPL]: ASAN test coverage [Risks and why]: low, fairly simple leak fix. [String/UUID change made/needed]: none
Attachment #8474199 - Flags: approval-mozilla-beta?
Attachment #8474199 - Flags: approval-mozilla-aurora?
Flags: needinfo?(michal.novotny)
Attachment #8474199 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Attachment #8474199 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: qe-verify-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: