plugin container uses 100% when using google translate due to flash

RESOLVED INCOMPLETE

Status

()

Core
Plug-ins
RESOLVED INCOMPLETE
8 years ago
11 months ago

People

(Reporter: Patrizio Bassi, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100925 Gentoo Firefox/3.6.9
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100925 Gentoo Firefox/3.6.9

using google translate with flash plugin enabled firefox will totally block using 100% of cpu.

then, when the ipc timeout occours, the plugin gets killed, and firefox unlocks and renders the resulting page.

disabling flash is a WA.
in general the flash plugin works flawlessy in youtube or similar sites.

running strace while the plugin-container is busy in 100% of the loop shows:
strace -p 4793
Process 4793 attached - interrupt to quit
epoll_wait(4, cbd1f0, 32, 4294967295)   = -1 EINTR (Interrupted system call)
--- SIGTERM (Terminated) @ 0 (0) ---
Process 4793 detached

so it looks like it's waiting for anything (timeout is set to 4294967295 so FFFFFFFF)


Reproducible: Always
The used flash plugin and version information is missing in your report.
Do you tested the page with another browser and the same flash plugin ?
(Reporter)

Comment 2

8 years ago
all the flash versions since 10.x including latest 10.2 beta2. 
it's versioned 10.2.161.0

of course native 64bit without wrappers.

with exactly same version i opened chromium, checked the tasks noticing no flash was loaded, surfed the same page, saw flash task spawning, but rendering is done immediately with no issues.

this confirms it must be something with flash + firefox.
Component: General → Plug-ins
Product: Firefox → Core
QA Contact: general → plugins

Updated

8 years ago
Summary: plugin container uses 100% when using google traslate due to flash → plugin container uses 100% when using google translate due to flash

Comment 3

7 years ago
I'm seeing 120-170% CPU usage for plugin-container when viewing http://bigfishgames.com/ on a Core i7 with a stock install of Ubuntu 10.10 64-bit -- shockwave flash 10.0 r45.

The plugin-container process keeps switching from Running to Sleeping frequently when watching the System Monitor Processes tab.

NOTE: I also have GMail and 3 GitHub tabs open if that is affecting things.

Mozilla/5.0 (X11; Linux x86_64; rv:2.0b8pre) Gecko/20101029 Firefox/4.0b8pre

Comment 4

7 years ago
With Gmail and GitHub open only, I am seeing the plugin-container consume 0% CPU and stay in the Sleeping state, so it is www.bigfishgames.com that is causing the spike in CPU usage.

If I go to the BBC iPlayer (http://www.bbc.co.uk/iplayer) I see the following CPU usage for plugin-container:
   navigating for a program -- 0%
   playing scaled (pressing the '+' key):
      +0 -- 64% (default windowed resolution)
      +1 -- 88%
      +2 -- 96%
      +3 -- 104%
      +4 -- 112-120%
      +5 -- 128-136%
   full screen -- 152% (at native 1600x900 resolution)

NOTE: Similar data can be seen when viewing other videos such as the Blender Foundation's Sintel (http://www.youtube.com/watch?v=eRsGyueVLvQ).

Therefore the issue I am seeing (on both iplayer and bigfishgames) is due to transferring the image pixels from the plugin-container process to the firefox process which appears to be going through system memory/CPU instead of graphics memory/GPU and is doing a memory copy instead of buffer swap (hence the scaling of CPU relative to the size of the frames rendered by flash).
(Reporter)

Comment 5

7 years ago
i'm noticing another nasty problem: it looks like DNS resolution depends on some flash plugin activity.

Some pages stuck to "looking up for www.domainblablabla.com" while using flash plugin (hard to say lots of websites use this ****).

it's not a dns issue as i checked with wireshark traffic is ok, and chromium is not affected at all

if i disable flash plugin everything works flawlessy.
can't reproduce in windows xp, just linux x64

Comment 6

11 months ago
Resolving old bugs which are likely not relevant any more, since NPAPI plugins are deprecated.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 11 months ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.