Closed Bug 1412840 Opened 7 years ago Closed 6 years ago

ghost window on alerts.weather.gov via unknown nsDocument reference

Categories

(Core :: DOM: Core & HTML, defect, P3)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: bkelly, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [MemShrink:P3])

Attachments

(1 file)

I found a ghost window in my 57.0b12 (64-bit) session today.  The site is:

  https://alerts.weather.gov

I think I probably got to this via darksky.net link to a current flood watch in our area.  Unfortunately the exact alert in my report is no longer active.  I cannot immediately reproduce.  I suspect I might have closed the alert page while it was loading, but I'm not sure.

The CC/GC logs suggest the leak is due to an unknown reference to the document:

bkelly@valen:/mnt/c/devel/tmp/cclogs$ grep nsGlobalWindow * | grep alerts.weather.gov
cc-edges.11660.1509372392.log:000001C32150A800 [rc=24] nsGlobalWindow # 15032385662 inner https://alerts.weather.gov/cap/wwacapget.php?x=NY12586EF7E184.FlashFloodWatch.12586F166280NY.BUFFFABUF.23f183600b097fa65003f01b1dca8534
bkelly@valen:/mnt/c/devel/tmp/cclogs$ /srv/heapgraph/find_roots.py cc-edges.11660.1509372392.log 000001C32150A800
Parsing cc-edges.11660.1509372392.log. Done loading graph. 

000001C321508800 [nsDocument normal ([none]) https://alerts.weather.gov/cap/wwacapget.php?x=NY12586EF7E184.FlashFloodWatch.12586F166280NY.BUFFFABUF.23f183600b097fa65003f01b1dca8534]
    --[mScriptGlobalObject]--> 000001C32150A800 [nsGlobalWindow # 15032385662 inner https://alerts.weather.gov/cap/wwacapget.php?x=NY12586EF7E184.FlashFloodWatch.12586F166280NY.BUFFFABUF.23f183600b097fa65003f01b1dca8534]

    Root 000001C321508800 is a ref counted object with 1 unknown edge(s).
    known edges:
       000001C31A271E60 [nsNodeInfoManager] --[mDocument]--> 000001C321508800
       000001C33B513310 [JS Object (XMLDocument)] --[UnwrapDOMObject(obj)]--> 000001C321508800
Attached file memory-report.json.gz
Here is the memory report as well.  The ghost window is process 11660.

Note, there are a lot of other detached windows in other processes, but those are all iframes being held by the open tabs, etc.
Whiteboard: [MemShrink] → [MemShrink:P3]
Priority: -- → P3
I'm going to assume you haven't seen this again. If you have, please reopen.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: