Closed
Bug 742420
Opened 14 years ago
Closed 12 years ago
plugin-container eats 100% CPU on Nightly/OSX
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: gw280, Unassigned)
References
Details
Attachments
(1 file)
|
471.58 KB,
application/x-bzip2
|
Details |
Running Nightly 14.0a1 (2012-04-03), I have plugin-container on my system munching its way through 100% CPU. Tabs open are: Facebook, CrackBerry, dailymile, Twitter.
| Reporter | ||
Comment 1•14 years ago
|
||
Instruments trace for plugin-container
Comment 2•14 years ago
|
||
This doesn't mean much by itself.
How does this compare with performance (loading the same page set) in earlier Firefox versions, in Safari and in Chrome?
Is performance significantly different on different versions of OS X? Or with different versions of your plugins?
As I hope and assume you're aware, plugin-container is the process that runs plugins. Each type of plugin gets its own plugin-container process. Poor performance in a plugin will translate into poor performance by its plugin-container process.
Comment 3•14 years ago
|
||
Finally, you need to give us STR for loading your page set (minimally which plugins to install and which pages to visit). And more detailed STR if just loading the various pages isn't enough (by itself) to reproduce the performance problems you report.
Note that all the pages should be publicly accessible.
| Reporter | ||
Comment 4•14 years ago
|
||
With the same page set, Safari is using <1% of the CPU.
The only plugin that appears to be actively loaded is Flash. The plugin process itself is using <1% CPU.
Not sure if perf is significantly different to different versions of OS X or Firefox, but the trace looks like all the plugin-container is doing is switching threads constantly.
| Reporter | ||
Comment 5•14 years ago
|
||
I do not know how to reproduce, but I still have the nightly session open.
Comment 6•14 years ago
|
||
I saw this yesterday as well.
Comment 7•14 years ago
|
||
(In reply to comment #4)
> The plugin process itself is using <1% CPU.
What does this mean? The "plugin process" is plugin-container.
Comment 8•14 years ago
|
||
(Following up comment #7)
Oops. Now I realize you're referring to the Safari plugin process.
| Reporter | ||
Comment 9•14 years ago
|
||
(In reply to Steven Michaud from comment #8)
> (Following up comment #7)
>
> Oops. Now I realize you're referring to the Safari plugin process.
Yep, and also just realised that I have two plugin-container processes associated with Nightly; one has the process name of "Nightly Plugin Process (Shockwave Flash)" which is, like Safari, using < 1% of CPU, and the other has no name and is using 100% CPU.
| Reporter | ||
Comment 10•14 years ago
|
||
There's no userspace calls at all in the instrumentation trace which is interesting.
Attaching gdb and getting a backtrace shows the following:
(gdb) bt
#0 0x00007fff8a39936e in spin_lock$VARIANT$mp ()
#1 0x00000001038c4b15 in arena_malloc ()
Previous frame inner to this frame (gdb could not unwind past this frame)
| Reporter | ||
Comment 11•14 years ago
|
||
(Unfortunately I'm not running a profiling build so that's all I can unwind)
Comment 12•14 years ago
|
||
> the other has no name and is using 100% CPU.
Benoit, do you have any ideas about this?
George, your stack frame isn't much use, and looks partially corrupt (at least for the main thread). Do you get useful information for the other threads (if you use "thread apply all bt")? If so please attach the trace (don't just paste it into a comment).
> (Unfortunately I'm not running a profiling build so that's all I can unwind)
On second thought, even "thread apply all bt" will probably contain lots of spurious symbols. Only attach the output if it looks useful.
| Reporter | ||
Comment 13•14 years ago
|
||
The plugin-container process is single threaded
Comment 14•14 years ago
|
||
> There's no userspace calls at all in the instrumentation trace which is
> interesting.
That may be because the build you're using (not a profiling build) has its symbols stripped.
> The plugin-container process is single threaded
Oh, OK.
Comment 15•14 years ago
|
||
I've got George to run a nightly-profiling build where he will be able to unwind in debug.
My best, purely speculative, theory is:
Something somehow spawned a flash plugin instance by error.
Said process blocks on waiting for firefox to setup IPC during the plugin process which will never happen. This would explain why the process doesn't get a name in Activity monitor which happens later during init. 100% usage is explained by use waiting on a spin lock.
| Reporter | ||
Comment 16•14 years ago
|
||
Unfortunately this is not easy to reproduce. As soon as I can get the container process to spawn in the same way again I'll update this bug.
Comment 17•14 years ago
|
||
I've been seeing 100% CPU usage from Nightly at random in the past few days. Closing my newer tabs (those that might be related) doesn't seem to help. The nightly process must be force-quit and restarted to remove the problem.
Comment 18•14 years ago
|
||
Michael (and others who've seen this problem and want to comment here):
What we really need is a reliable way to reproduce this problem, and detailed steps-to-reproduce to tell us how.
| Reporter | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Comment 19•12 years ago
|
||
Why is this flagged invalid? I am seeing exactly the same thing ever since I switched to nightly.
Comment 20•12 years ago
|
||
743678 is a different bug, as that’s not e10s-specific. I’ve never seen this in Firefox until I switched to nightly about half a month ago.
Comment 21•12 years ago
|
||
Because this is a general 'Something whent bad and I don't know what and I can no longer reproduce it'. If you experience a similar issue the root cause may be very different so please file a bug with as much information as you can provide.
Comment 22•12 years ago
|
||
I just noticed the original report was way back from 2012-04-03, and I’m running 2014-07-03, which means this bug has been present in e10s for the past 2 years... and closed as invalid even though it is still present and unfixed...
Comment 23•12 years ago
|
||
I just noticed the original report was way back from 2012-04-03, and I’m running 2014-07-03, which means this bug has been present in e10s for the past 2 years... and closed as invalid even though it is still present and unfixed...
Comment 24•12 years ago
|
||
Ambrose, this bug is not the bug you are looking for. This bug was an un-reproducible problem with NPAPI plugins from 2012.
Your problem may be the same or may be entirely different, and should be filed separately.
Updated•4 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•