TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at mozilla::net::CacheStorageService::AddStorageEntry, mozilla::net::CacheStorageService::AddStorageEntry, mozilla::net::CacheStorage::OpenTruncate

NEW
Unassigned

Status

()

P5
normal
3 years ago
a year ago

People

(Reporter: bkelly, Unassigned)

Tracking

({intermittent-failure})

48 Branch
intermittent-failure
Points:
---

Firefox Tracking Flags

(firefox48 affected)

Details

(Reporter)

Description

3 years ago
Caught this weird leak in a try build:

  https://treeherder.mozilla.org/logviewer.html#?job_id=19805770&repo=try

Just before the leaks I see this in the log:

 08:36:02     INFO -  795 INFO TEST-OK | dom/workers/test/serviceworkers/test_xslt.html | took 1243ms
 08:36:02     INFO -  JavaScript error: chrome://browser/content/tabbrowser.xml, line 2936: TypeError: this.tabs is undefined
 08:36:03     INFO -  ###!!! [Child][MessageChannel] Error: (msgtype=0x2C0040,name=PBrowser::Msg___delete__) Channel closing: too late to send/recv, messages will be lost
 08:36:03     INFO -  ###!!! [Child][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
 08:36:03     INFO -  ###!!! [Child][MessageChannel] Error: (msgtype=0x4800B5,name=PContent::Msg_ConsoleMessage) Channel closing: too late to send/recv, messages will be lost


Seems at the end of the service worker test directory we failed to gracefully shutdown the browser.  So we leaked a bunch of stuff.  I'm sticking this in service workers component, but not sure its really at fault here.

Comment 1

2 years ago
I get similar messages logged to syslog when I close FF 51.0.1 production release (official ubuntu 16.04 package). To reproduce this issue it is necessary to tweak the apparmor profile which is shipped with the FF package.

To tweak the apparmor profile, I applied "VERSION 6" of the patch, taken from here: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1659988

Jan 31 04:25:48 lat61 gnome-session[3140]: ###!!! [Child][MessageChannel] Error: (msgtype=0x2E0045,name=PBrowser::Msg___delete__) Channel closing: too late to send/recv, messages will be lost
Jan 31 04:25:48 lat61 gnome-session[3140]: ###!!! [Child][MessageChannel] Error: (msgtype=0x4A011D,name=PContent::Msg_AsyncMessage) Channel closing: too late to send/recv, messages will be lost
Jan 31 04:25:48 lat61 gnome-session[3140]: ###!!! [Child][MessageChannel] Error: (msgtype=0x2E0045,name=PBrowser::Msg___delete__) Channel closing: too late to send/recv, messages will be lost
Jan 31 04:25:48 lat61 gnome-session[3140]: ###!!! [Child][MessageChannel] Error: (msgtype=0x4A011D,name=PContent::Msg_AsyncMessage) Channel closing: too late to send/recv, messages will be lost
Jan 31 04:25:48 lat61 gnome-session[3140]: ###!!! [Child][MessageChannel] Error: (msgtype=0x2E0045,name=PBrowser::Msg___delete__) Channel closing: too late to send/recv, messages will be lost
Jan 31 04:25:48 lat61 gnome-session[3140]: ###!!! [Child][MessageChannel] Error: (msgtype=0x4A011D,name=PContent::Msg_AsyncMessage) Channel closing: too late to send/recv, messages will be lost
Jan 31 04:25:48 lat61 gnome-session[3140]: ###!!! [Child][MessageChannel] Error: (msgtype=0x2E0045,name=PBrowser::Msg___delete__) Channel closing: too late to send/recv, messages will be lost
Jan 31 04:25:48 lat61 gnome-session[3140]: ###!!! [Child][MessageChannel] Error: (msgtype=0x4A011D,name=PContent::Msg_AsyncMessage) Channel closing: too late to send/recv, messages will be lost
Jan 31 04:25:48 lat61 gnome-session[3140]: ###!!! [Child][MessageChannel] Error: (msgtype=0x2E0045,name=PBrowser::Msg___delete__) Channel closing: too late to send/recv, messages will be lost
Jan 31 04:25:48 lat61 gnome-session[3140]: ###!!! [Child][MessageChannel] Error: (msgtype=0x4A011D,name=PContent::Msg_AsyncMessage) Channel closing: too late to send/recv, messages will be lost
Jan 31 04:25:48 lat61 gnome-session[3140]: ###!!! [Child][MessageChannel] Error: (msgtype=0x2E0045,name=PBrowser::Msg___delete__) Channel closing: too late to send/recv, messages will be lost
Jan 31 04:25:48 lat61 gnome-session[3140]: ###!!! [Child][MessageChannel] Error: (msgtype=0x4A011D,name=PContent::Msg_AsyncMessage) Channel closing: too late to send/recv, messages will be lost
Jan 31 04:25:48 lat61 gnome-session[3140]: ###!!! [Child][MessageChannel] Error: (msgtype=0x2E0045,name=PBrowser::Msg___delete__) Channel closing: too late to send/recv, messages will be lost
Jan 31 04:25:48 lat61 gnome-session[3140]: ###!!! [Child][MessageChannel] Error: (msgtype=0x4A011D,name=PContent::Msg_AsyncMessage) Channel closing: too late to send/recv, messages will be lost
Jan 31 04:25:48 lat61 gnome-session[3140]: ###!!! [Child][MessageChannel] Error: (msgtype=0x2E0045,name=PBrowser::Msg___delete__) Channel closing: too late to send/recv, messages will be lost
Jan 31 04:25:48 lat61 gnome-session[3140]: ###!!! [Child][MessageChannel] Error: (msgtype=0x4A011D,name=PContent::Msg_AsyncMessage) Channel closing: too late to send/recv, messages will be lost
Jan 31 04:25:48 lat61 gnome-session[3140]: ###!!! [Child][MessageChannel] Error: (msgtype=0x2E0045,name=PBrowser::Msg___delete__) Channel closing: too late to send/recv, messages will be lost
Jan 31 04:25:48 lat61 gnome-session[3140]: ###!!! [Child][MessageChannel] Error: (msgtype=0x4A00C3,name=PContent::Msg_ConsoleMessage) Channel closing: too late to send/recv, messages will be lost
Priority: -- → P5
1 failures in 901 pushes (0.001 failures/push) were associated with this bug in the last 7 days.   

Repository breakdown:
* autoland: 1

Platform breakdown:
* linux64: 1

For more details, see:
https://brasstacks.mozilla.com/orangefactor/?display=Bug&bugid=1266486&startday=2017-08-07&endday=2017-08-13&tree=all
1 failures in 924 pushes (0.001 failures/push) were associated with this bug in the last 7 days.   

Repository breakdown:
* mozilla-beta: 1

Platform breakdown:
* linux64: 1

For more details, see:
https://brasstacks.mozilla.com/orangefactor/?display=Bug&bugid=1266486&startday=2017-09-04&endday=2017-09-10&tree=all
1 failures in 943 pushes (0.001 failures/push) were associated with this bug in the last 7 days.    

Repository breakdown:
* mozilla-inbound: 1

Platform breakdown:
* linux64: 1

For more details, see:
https://brasstacks.mozilla.com/orangefactor/?display=Bug&bugid=1266486&startday=2017-09-18&endday=2017-09-24&tree=all
You need to log in before you can comment on or make changes to this bug.