Closed
Bug 412223
(pacman)
Opened 18 years ago
Closed 16 years ago
Camino starts eating RAM and hanging under _disableTrackingArea after a period of time with several tabs open
Categories
(Core :: Widget: Cocoa, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: bugzilla-graveyard, Unassigned)
References
Details
(Keywords: hang, regression)
Attachments
(2 files, 1 obsolete file)
I'm not sure how to describe this other than the summary, but I keep hitting it, and so did Sam a while back. After a while with a bunch of tabs open (I think I've only ever seen this trigger with at least 15 tabs open for at least a couple of hours), Camino starts eating RAM and CPU at a fairly prolific rate (several tens of kilobytes per second) until all free RAM is gone, at which point VM use starts to go through the roof until all free disk space is consumed. Doing any operation in Camino results in a hang of several seconds to several minutes, which I've sampled in the hopes that something useful comes out of it. Eventually, Camino either stops responding entirely, or you get down to just a few tabs and quitting is successful. Re-launching Camino has never immediately reproduced the behaviour, even when I've re-launched after a force-quit and re-opened the same 30 or so tabs that were open when the RAM munching began.
| Reporter | ||
Comment 1•18 years ago
|
||
I think this one was when I tried to close a tab, but it might have just started hanging.
Comment 2•18 years ago
|
||
Have you narrowed this down at all? I routinely have a bunch of tabs open for long periods of time without seeing this, so it's almost certainly content-specific.
| Reporter | ||
Comment 3•18 years ago
|
||
I suspect -- after seeing this several more times recently in trunk nightlies -- that Flash is involved somehow. I don't see the runaway RAM usage any more, but I'm still seeing the hangs. There've been some isolated reports of Flash totally sucking in recent nightlies, so maybe that's what I'm seeing now (either a different bug, or we can use this one).
cl
Comment 4•18 years ago
|
||
I always see this problem, all free memory used up within 12 hours or so, with 8+ tabs open. I have flash block enabled, and usually the two newspaper sites:
- www.startribune.com
- www.nytimes.com
(I opened the similar bug, but a case where the browser hung, https://bugzilla.mozilla.org/show_bug.cgi?id=421768)
I'm running 10.3.9 MacOS.
Anybody have tips for tracking down memory leaks?
Comment 5•18 years ago
|
||
I've been seeing this a lot in recent trunk builds; I peg to 100% of a core, and I have to quit to get it working again. My samples generally contain:
-[ChildView delayedTearDown]
-[NSView removeFromSuperview]
-[NSView _setWindow:]
-[NSView(NSInternal) _uninstallRemovedTrackingAreas]
-[NSView(NSInternal) _uninstallTrackingArea:]
FlushSpecificEventsFromQueue
...
Where "..." is the same sort of pattern of spin locks everywhere as these samples show. It looks like ChildView is angering the window mouse tracking system somehow.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → Trunk
Comment 6•18 years ago
|
||
I've been seeing similar behavior as well; for more samples, see http://forums.mozillazine.org/viewtopic.php?t=652865 for more examples. Note that in every case, the high CPU remains *even if I close all the tabs*
Comment 7•18 years ago
|
||
Comment on attachment 324342 [details]
Sample of spinning Camino with no windows open
This sample is completely different; what you are seeing is not this bug.
Attachment #324342 -
Attachment is obsolete: true
Updated•18 years ago
|
Summary: Camino starts eating RAM and hanging after a period of time with several tabs open → Camino starts eating RAM and hanging under _disableTrackingArea after a period of time with several tabs open
Comment 8•18 years ago
|
||
(In reply to comment #7)
> (From update of attachment 324342 [details])
> This sample is completely different; what you are seeing is not this bug.
>
O.k., my bad. Does it look like it might be bug 421768, or should I file a new bug?
Comment 9•18 years ago
|
||
Please file a new bug.
Chris or Stuart, do you still see this? If so, have you tried the Flash 10 betas (which seem like they resolve bug 438575)?
Comment 12•18 years ago
|
||
I haven't noticed this recently, but it was just reported in the forums with the Flash 10 beta. If it's not Flash, it's probably something in Cocoa Widgets, since that's the only place I'm aware of that there have been window and event changes--we certainly have no trunk-only changes that could possibly explain this.
Comment 13•18 years ago
|
||
Since at this point I don't see any explanation other than this being a Cocoa widgets bug (this has been reasonably widely reported by 2.0a1pre users, but not a single 1.6.x user), I'm moving it to core.
Requesting blocking the next 1.9.0.x, since this is a regression that prevents us from realistically shipping a 1.9.0-based product.
Assignee: nobody → joshmoz
Component: General → Widget: Cocoa
Flags: blocking1.9.0.4?
Keywords: regression
Product: Camino → Core
QA Contact: general → cocoa
Comment 14•18 years ago
|
||
Patches wanted, but I can't see blocking on it when no one knows why or when this happens.
Flags: blocking1.9.0.4? → wanted1.9.0.x+
| Reporter | ||
Comment 15•16 years ago
|
||
For whatever it's worth, I haven't seen this in ages. Either a newer Flash fixed it (more likely) or a change in the widget code (we're on 1.9.2 now; I believe we were still on 1.9.0 when this was filed) did.
Either way, it's probably safe to say this is WORKSFORME, but someone else who was seeing it should also report back to be sure.
Comment 16•16 years ago
|
||
I did some more testing with the latest Camino 1.6.11/Flash 9.0 r159 (latest that runs on MacOS 10.3.9, and looks good.
Hard to be 100% certain, but appears with many tabs open over 24 hour period all but ~20Mbyte consumed, but appears to stabilize at that point without much swapping.
My recollection is before over 12 hours things would grind to halt.
Again I've done limited testing, I've not used the 10.3.9 system much lately, especially with Camino.
Good work somebody!
| Reporter | ||
Comment 17•16 years ago
|
||
Sounds good. WORKSFORME unless someone comes up with a better explanation.
If anyone starts seeing this specific hang again, feel free to re-open.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•