WebDriver: Plugin Container for Firefox has stopped working. #3314

Closed
lukeis opened this Issue Mar 3, 2016 · 21 comments

Comments

Projects
None yet
1 participant
@lukeis
Member

lukeis commented Mar 3, 2016

Originally reported on Google Code with ID 3314

What steps will reproduce the problem?

 1. The following Java codes which display a PDF file using Adobe Reader plugin are
executed. 
        FirefoxDriver webDriver = new FirefoxDriver();
        webDriver.get("file://c:/work/sample.pdf");
        Thread.sleep(5000);
        webDriver.quit();

 2. The execution is repeated. 

What is the expected output? What do you see instead?

I expected that Firefox would be completed normally. 
However, in almost all cases, a window then pops up and says Plugin Container for Firefox
has stopped working.

Selenium version: 2.10.0
OS: Windows Vista Business SP2
Browser: Firefox
Browser version: 7.0.1

Reported by testplatform-contact@nri.co.jp on 2012-02-01 06:42:23

@lukeis lukeis self-assigned this Mar 3, 2016

@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Mar 3, 2016

Member
I supplement. 
When it is operated manually, it ends normally. 

Reported by testplatform-contact@nri.co.jp on 2012-02-02 00:47:48

Member

lukeis commented Mar 3, 2016

I supplement. 
When it is operated manually, it ends normally. 

Reported by testplatform-contact@nri.co.jp on 2012-02-02 00:47:48

@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Mar 3, 2016

Member

Reported by barancev on 2012-05-11 19:04:55

  • Labels added: Component-WebDriver, Browser-Firefox
Member

lukeis commented Mar 3, 2016

Reported by barancev on 2012-05-11 19:04:55

  • Labels added: Component-WebDriver, Browser-Firefox
@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Mar 3, 2016

Member
seeing this as well w/ selenium 2.24.1 and firefox 12 on windows vista

Reported by Jay.Springfield on 2012-07-17 17:25:56

Member

lukeis commented Mar 3, 2016

seeing this as well w/ selenium 2.24.1 and firefox 12 on windows vista

Reported by Jay.Springfield on 2012-07-17 17:25:56

@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Mar 3, 2016

Member
Noticed the same, any update on this ?

Reported by rdekleijnaspider on 2012-09-14 11:31:13

Member

lukeis commented Mar 3, 2016

Noticed the same, any update on this ?

Reported by rdekleijnaspider on 2012-09-14 11:31:13

@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Mar 3, 2016

Member
I had noticed it earlier. now i notice it on a very consistent basis.
selenium version: 2.31
OS: Windows 7 Professional N
Browser: Firefox 19.0

Reported by jayeshpatil on 2013-03-19 23:33:03

Member

lukeis commented Mar 3, 2016

I had noticed it earlier. now i notice it on a very consistent basis.
selenium version: 2.31
OS: Windows 7 Professional N
Browser: Firefox 19.0

Reported by jayeshpatil on 2013-03-19 23:33:03

@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Mar 3, 2016

Member
Any workarounds for this one?

Reported by jayeshpatil on 2013-03-19 23:33:45

Member

lukeis commented Mar 3, 2016

Any workarounds for this one?

Reported by jayeshpatil on 2013-03-19 23:33:45

@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Mar 3, 2016

Member
Hi!

Is this issue still reproduced? I can not reproduce it at my win7, ff20, selenium 2.32.
Test code and test pdf exsample are attached.

If it's still presented please provide test scenario and test input (pdf file) with
which error is occured.
Also please check pdf plugin is updated to last version.

But i'm not sure that selenium could and will do anything if error is inside FF pdf
plugin or ff.


Reported by a.u.savchuk on 2013-05-07 11:49:13

  • Status changed: NeedsClarification

- _Attachment: [t.py](https://storage.googleapis.com/google-code-attachments/selenium/issue-3314/comment-7/t.py)_ - _Attachment: [test.pdf](https://storage.googleapis.com/google-code-attachments/selenium/issue-3314/comment-7/test.pdf)_
Member

lukeis commented Mar 3, 2016

Hi!

Is this issue still reproduced? I can not reproduce it at my win7, ff20, selenium 2.32.
Test code and test pdf exsample are attached.

If it's still presented please provide test scenario and test input (pdf file) with
which error is occured.
Also please check pdf plugin is updated to last version.

But i'm not sure that selenium could and will do anything if error is inside FF pdf
plugin or ff.


Reported by a.u.savchuk on 2013-05-07 11:49:13

  • Status changed: NeedsClarification

- _Attachment: [t.py](https://storage.googleapis.com/google-code-attachments/selenium/issue-3314/comment-7/t.py)_ - _Attachment: [test.pdf](https://storage.googleapis.com/google-code-attachments/selenium/issue-3314/comment-7/test.pdf)_
@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Mar 3, 2016

Member
Thank you for the answer. 
I check, after upgrading selenium to a new version. 

Reported by testplatform-contact@nri.co.jp on 2013-05-09 01:50:40

Member

lukeis commented Mar 3, 2016

Thank you for the answer. 
I check, after upgrading selenium to a new version. 

Reported by testplatform-contact@nri.co.jp on 2013-05-09 01:50:40

@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Mar 3, 2016

Member
Closing due to inactivity. Please ask to reopen if the issue is still actual.

Reported by barancev on 2013-08-15 16:31:39

  • Status changed: Fixed
Member

lukeis commented Mar 3, 2016

Closing due to inactivity. Please ask to reopen if the issue is still actual.

Reported by barancev on 2013-08-15 16:31:39

  • Status changed: Fixed
@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Mar 3, 2016

Member
Hello,

This issue seems to appear with Firefox 30 and Selenium-server 2.42.2. After closing
the browser using driver.close() / driver.quit() a pop up appears on the screen with
the following message - "Plugin container for firefox has stopped working".

Environment information : Windows 7
Firefox : 30.0
Selenium server : 2.42.2

The issue is not reproducible with Firefox 29.0.1 and Selenium server 2.42.2

Reported by Stanoev.Nikolay on 2014-06-12 13:35:17

Member

lukeis commented Mar 3, 2016

Hello,

This issue seems to appear with Firefox 30 and Selenium-server 2.42.2. After closing
the browser using driver.close() / driver.quit() a pop up appears on the screen with
the following message - "Plugin container for firefox has stopped working".

Environment information : Windows 7
Firefox : 30.0
Selenium server : 2.42.2

The issue is not reproducible with Firefox 29.0.1 and Selenium server 2.42.2

Reported by Stanoev.Nikolay on 2014-06-12 13:35:17

@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Mar 3, 2016

Member
The problem is not only with pdf, I got the same problem with a flash plugin.

Environment information : Windows 7 (64-bit)
Firefox : 30.0
Selenium server : 2.41.0

Reported by fbommeli on 2014-06-17 07:29:15

Member

lukeis commented Mar 3, 2016

The problem is not only with pdf, I got the same problem with a flash plugin.

Environment information : Windows 7 (64-bit)
Firefox : 30.0
Selenium server : 2.41.0

Reported by fbommeli on 2014-06-17 07:29:15

@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Mar 3, 2016

Member
I found this with Firefox 30 and Selenium 2.42.2 as well.  What is complaining is the
plugin container in Firefox, which at webdriver shutdown cannot stop all the plugins
it needs to.  After a good deal of too-ing and fro-ing I discovered that the Flash
plugin in Firefox was preventing a clean shutdown of the plugin container.

After disabling the Flash plugin, then the webdriver shuts down as expected.

With the debugger on and stepping through the FirefoxDriver code in the quit method,
it looks like a timing thing.  Basically, the plugin container in firefox hasn't fully
gone before the parent webdriver is no longer there (it seems to me).  If you place
break points in the quit method, hang around a bit, then step through, all things work
as expected, as the plugin container has time to die before the web driver does.

So, at present, either only ever run the Firefox webdriver with debug points in the
driver quit method, or deactivate the flash plugin.

There may be other plugins that cause the behaviour observed, so see (by turning them
on or off)

Reported by jimmer.ball on 2014-06-18 10:35:26

Member

lukeis commented Mar 3, 2016

I found this with Firefox 30 and Selenium 2.42.2 as well.  What is complaining is the
plugin container in Firefox, which at webdriver shutdown cannot stop all the plugins
it needs to.  After a good deal of too-ing and fro-ing I discovered that the Flash
plugin in Firefox was preventing a clean shutdown of the plugin container.

After disabling the Flash plugin, then the webdriver shuts down as expected.

With the debugger on and stepping through the FirefoxDriver code in the quit method,
it looks like a timing thing.  Basically, the plugin container in firefox hasn't fully
gone before the parent webdriver is no longer there (it seems to me).  If you place
break points in the quit method, hang around a bit, then step through, all things work
as expected, as the plugin container has time to die before the web driver does.

So, at present, either only ever run the Firefox webdriver with debug points in the
driver quit method, or deactivate the flash plugin.

There may be other plugins that cause the behaviour observed, so see (by turning them
on or off)

Reported by jimmer.ball on 2014-06-18 10:35:26

@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Mar 3, 2016

Member
Got the same problem with:

Environment information : Windows 7 (64-bit)
Firefox : 30.0
Selenium server : 2.42.2

Using following solution for now:

//driver.quit();
Runtime.getRuntime().exec("taskkill /F /IM firefox.exe");
Thread.sleep(5000);
Runtime.getRuntime().exec("taskkill /F /IM plugin-container.exe");
Runtime.getRuntime().exec("taskkill /F /IM WerFault.exe");

Reported by PSBBel on 2014-06-18 10:47:08

Member

lukeis commented Mar 3, 2016

Got the same problem with:

Environment information : Windows 7 (64-bit)
Firefox : 30.0
Selenium server : 2.42.2

Using following solution for now:

//driver.quit();
Runtime.getRuntime().exec("taskkill /F /IM firefox.exe");
Thread.sleep(5000);
Runtime.getRuntime().exec("taskkill /F /IM plugin-container.exe");
Runtime.getRuntime().exec("taskkill /F /IM WerFault.exe");

Reported by PSBBel on 2014-06-18 10:47:08

@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Mar 3, 2016

Member
Got the same problem with:

Environment information : Windows 7 (64-bit)
Firefox : 30.0
Selenium server : 2.41.0

Using following solution for now (to disable Flash):

    // http://serverfault.com/a/447214
    profile.setPreference("plugin.state.flash", 0);

Reported by PaulGrime on 2014-06-29 14:43:20

Member

lukeis commented Mar 3, 2016

Got the same problem with:

Environment information : Windows 7 (64-bit)
Firefox : 30.0
Selenium server : 2.41.0

Using following solution for now (to disable Flash):

    // http://serverfault.com/a/447214
    profile.setPreference("plugin.state.flash", 0);

Reported by PaulGrime on 2014-06-29 14:43:20

@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Mar 3, 2016

Member
got the same problem with:
Environment information : Windows 7 (64-bit)
Firefox : 30.0
Selenium server : 2.39.0

Reported by ranjitargautam on 2014-07-17 07:37:36

Member

lukeis commented Mar 3, 2016

got the same problem with:
Environment information : Windows 7 (64-bit)
Firefox : 30.0
Selenium server : 2.39.0

Reported by ranjitargautam on 2014-07-17 07:37:36

@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Mar 3, 2016

Member
please re-open issue, as it is present again.

Reported by alejandro.moncayo@studentuniverse.com on 2014-07-18 13:30:32

Member

lukeis commented Mar 3, 2016

please re-open issue, as it is present again.

Reported by alejandro.moncayo@studentuniverse.com on 2014-07-18 13:30:32

@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Mar 3, 2016

Member
See issue 7506

Reported by barancev on 2014-07-18 13:44:24

Member

lukeis commented Mar 3, 2016

See issue 7506

Reported by barancev on 2014-07-18 13:44:24

@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Mar 3, 2016

Member
The same problem with,

Environment information : Windows 7 (64-bit)
Firefox : 30.0
Selenium server : 2.42.2

Reported by shilu.s.s on 2014-07-31 07:41:28

Member

lukeis commented Mar 3, 2016

The same problem with,

Environment information : Windows 7 (64-bit)
Firefox : 30.0
Selenium server : 2.42.2

Reported by shilu.s.s on 2014-07-31 07:41:28

@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Mar 3, 2016

Member
It is a new issue in FF30, see https://code.google.com/p/selenium/issues/detail?id=7506#c11

Reported by barancev on 2014-07-31 07:45:37

Member

lukeis commented Mar 3, 2016

It is a new issue in FF30, see https://code.google.com/p/selenium/issues/detail?id=7506#c11

Reported by barancev on 2014-07-31 07:45:37

@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Mar 3, 2016

Member
Found a solution:

Go to \\Program Files (x86)\Mozilla Firefox\

find plugin-container.exe

delete or rename it!

Cheers!

Reported by dimapetrisor on 2014-09-09 15:06:50

Member

lukeis commented Mar 3, 2016

Found a solution:

Go to \\Program Files (x86)\Mozilla Firefox\

find plugin-container.exe

delete or rename it!

Cheers!

Reported by dimapetrisor on 2014-09-09 15:06:50

@lukeis

This comment has been minimized.

Show comment
Hide comment
@lukeis

lukeis Mar 3, 2016

Member

Reported by luke.semerau on 2015-09-17 18:14:47

  • Labels added: Restrict-AddIssueComment-Commit
Member

lukeis commented Mar 3, 2016

Reported by luke.semerau on 2015-09-17 18:14:47

  • Labels added: Restrict-AddIssueComment-Commit

@lukeis lukeis closed this Mar 3, 2016

@SeleniumHQ SeleniumHQ locked and limited conversation to collaborators Mar 4, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.