Closed Bug 1041219 Opened 10 years ago Closed 8 years ago

I sometimes see ghost-windows from openstreetmap.org

Categories

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

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1238427

People

(Reporter: dbaron, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: memory-footprint, memory-leak)

Attachments

(2 files)

I sometimes see ghost windows from openstreetmap.org (where I both browse and edit maps).

The first time I tried to debug the problem I crashed due to bug 1041218 after taking CC/GC dumps and having the right breakpoints set on destructors.

The second time I think I hit it (although I'm not sure, since I'd only taken a non-verbose about:memory which doesn't list the URLs for the ghost windows), I crashed due to bug 1036692 while doing a verbose about:memory.

I'm not inclined to try debugging further in the near future, at least until I have reason to think going to about:memory is less likely to crash.
When I did get a chance to debug partially, there were three ghost windows, 2 of which showed up in the CC log.  Here's what heapgraph/find_roots.py had to say about one of them.
Actually, it turns out that about:memory's [Measure] button without "verbose" checked is pretty reliable, so I'm keeping an eye on that to see if I see the problem again (although without "verbose" I can't be sure if it's openstreetmap or not).  It's the verbose measurement that's crashing more often than not.

I haven't managed to see it yet.
> It's the verbose measurement that's crashing more often than not.

That's surprising. Verbose mode does not change how the data is collected; it only changes how the data is displayed. In non-verbose mode all the data is there, it's just that you have to click on less significant sub-trees to see expand them.
Yes, but the current about:memory crash is bug 1036692, which is related to about:memory causing a slow script dialog (while already holding a cache lock, I think).
Are you still seeing ghost windows on that page, dbaron?
Component: General → DOM
Flags: needinfo?(dbaron)
It's been a long time since I looked at about:memory regularly.  I'll try to remember to start again and get back to you.
I'm going to optimistically assume that this is a dupe of another geolocation ghost window leak.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(dbaron)
Resolution: --- → DUPLICATE
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: