New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox 38 doesn't work with WebDriver 2.45.1 #437

Closed
szimek opened this Issue Apr 9, 2015 · 27 comments

Comments

Projects
None yet
@szimek

szimek commented Apr 9, 2015

Firefox beta has been just updated to version 38 and it no longer works with WebDriver 2.45.1. I'm getting the following error:

Using FirefoxDriver directly...
[launcher] Running 1 instances of WebDriver
ERROR - Unable to start a WebDriver session.

/Users/.../node_modules/gulp-protractor/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1877
      var result = fn();
                   ^
Error: Failed to install profile; firefox terminated with Result(code=null, signal=SIGSEGV)
    at Error (<anonymous>)
    at /Users/.../node_modules/gulp-protractor/node_modules/protractor/node_modules/selenium-webdriver/firefox/binary.js:238:15
    at [object Object].promise.ControlFlow.runInFrame_ (/Users/.../node_modules/gulp-protractor/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1877:20)
    at [object Object].promise.Callback_.goog.defineClass.notify (/Users/.../node_modules/gulp-protractor/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:2464:25)
    at [object Object].promise.Promise.notify_ (/Users/.../node_modules/gulp-protractor/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:563:12)
    at Array.forEach (native)
    at Object.goog.array.forEach (/Users/.../node_modules/gulp-protractor/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/array/array.js:203:43)
    at [object Object].promise.Promise.notifyAll_ (/Users/.../node_modules/gulp-protractor/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:552:16)
    at [object Object].goog.async.run.processWorkQueue [as _onTimeout] (/Users/.../node_modules/gulp-protractor/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/async/run.js:125:21)
    at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)
From: Task: WebDriver.createSession()
    at Function.webdriver.WebDriver.acquireSession_ (/Users/.../node_modules/gulp-protractor/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:155:22)
    at Function.webdriver.WebDriver.createSession (/Users/.../node_modules/gulp-protractor/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:129:30)
    at new Driver (/Users/.../node_modules/gulp-protractor/node_modules/protractor/node_modules/selenium-webdriver/firefox/index.js:272:36)
    at [object Object].DirectDriverProvider.getNewDriver (/Users/.../node_modules/gulp-protractor/node_modules/protractor/lib/driverProviders/direct.js:75:16)
    at [object Object].Runner.createBrowser (/Users/.../node_modules/gulp-protractor/node_modules/protractor/lib/runner.js:180:37)
    at /Users/.../node_modules/gulp-protractor/node_modules/protractor/lib/runner.js:257:21
    at _fulfilled (/Users/.../node_modules/gulp-protractor/node_modules/protractor/node_modules/q/q.js:797:54)
    at self.promiseDispatch.done (/Users/.../node_modules/gulp-protractor/node_modules/protractor/node_modules/q/q.js:826:30)
    at Promise.promise.promiseDispatch (/Users/.../node_modules/gulp-protractor/node_modules/protractor/node_modules/q/q.js:759:13)
    at /Users/.../node_modules/gulp-protractor/node_modules/protractor/node_modules/q/q.js:573:44
    at flush (/Users/.../node_modules/gulp-protractor/node_modules/protractor/node_modules/q/q.js:108:17)
    at process._tickCallback (node.js:442:13)
    at Function.Module.runMain (module.js:499:11)
    at startup (node.js:119:16)
    at node.js:929:3

The latest stable version of Firefox (37.01) works fine. I'm using OS X 10.10.2, protractor 2.0.0 and selenium-webdriver 2.45.1.

@szimek szimek changed the title from Firefox 38 doesn't work with WebDriver 2.45.0 to Firefox 38 doesn't work with WebDriver 2.45.1 Apr 9, 2015

@andreastt andreastt added the D-firefox label Apr 9, 2015

@andreastt

This comment has been minimized.

Show comment
Hide comment
Member

andreastt commented Apr 9, 2015

@barancev

This comment has been minimized.

Show comment
Hide comment
@barancev

barancev Apr 9, 2015

Member

Summoning @jleyba, it seems to be a javascript binding issue.

Member

barancev commented Apr 9, 2015

Summoning @jleyba, it seems to be a javascript binding issue.

@barancev

This comment has been minimized.

Show comment
Hide comment
@barancev

barancev Apr 9, 2015

Member

By the way, do you use a custom Firefox profile or just allow Selenium to create a new empty profile?

Member

barancev commented Apr 9, 2015

By the way, do you use a custom Firefox profile or just allow Selenium to create a new empty profile?

@szimek

This comment has been minimized.

Show comment
Hide comment
@szimek

szimek Apr 9, 2015

I'm not sure, I guess (hope) it's creating a new empty one.

szimek commented Apr 9, 2015

I'm not sure, I guess (hope) it's creating a new empty one.

@jleyba

This comment has been minimized.

Show comment
Hide comment
@jleyba

jleyba Apr 9, 2015

Contributor

All Selenium 2.45.1 tests pass against Firefox 38.0b1 on Ubuntu 14.04.

Will check OSX when I have a chance, but it may be a few days.

Contributor

jleyba commented Apr 9, 2015

All Selenium 2.45.1 tests pass against Firefox 38.0b1 on Ubuntu 14.04.

Will check OSX when I have a chance, but it may be a few days.

@szimek

This comment has been minimized.

Show comment
Hide comment
@szimek

szimek Apr 9, 2015

Sorry, false alarm. I've just reinstalled Firefox 38 beta on top of 37 stable (previously it updated itself automatically) and everything works fine. Most likely it was some issue with permissions caused by Firefox updater.

szimek commented Apr 9, 2015

Sorry, false alarm. I've just reinstalled Firefox 38 beta on top of 37 stable (previously it updated itself automatically) and everything works fine. Most likely it was some issue with permissions caused by Firefox updater.

@mgol

This comment has been minimized.

Show comment
Hide comment
@mgol

mgol May 14, 2015

I experience the same issue, see angular/protractor#2134. I got my Firefox 37 updated to v38 normally. I think this issue should be reopened.

mgol commented May 14, 2015

I experience the same issue, see angular/protractor#2134. I got my Firefox 37 updated to v38 normally. I think this issue should be reopened.

@markvantilburg

This comment has been minimized.

Show comment
Hide comment
@markvantilburg

markvantilburg May 14, 2015

2.45.0: Firefox 38 crashes after every test.
Windows 2012 R2 server, Firefox 38, empty profile.

2.45.0: Firefox 38 crashes after every test.
Windows 2012 R2 server, Firefox 38, empty profile.

@tobli

This comment has been minimized.

Show comment
Hide comment
@tobli

tobli May 15, 2015

Contributor

Same issue, running on OS X 10.10.3

Contributor

tobli commented May 15, 2015

Same issue, running on OS X 10.10.3

@feigaoxyz

This comment has been minimized.

Show comment
Hide comment
@feigaoxyz

feigaoxyz May 16, 2015

same issue,
selenium 2.45.0
firefox 38.0
os x 10.9.5

same issue,
selenium 2.45.0
firefox 38.0
os x 10.9.5

@szimek szimek reopened this May 18, 2015

@szimek

This comment has been minimized.

Show comment
Hide comment
@szimek

szimek May 18, 2015

Actually I still have this issue as well. I tried reinstalling Firefox 38(.0.1), but it fails with the same error message.

szimek commented May 18, 2015

Actually I still have this issue as well. I tried reinstalling Firefox 38(.0.1), but it fails with the same error message.

@scypio

This comment has been minimized.

Show comment
Hide comment
@scypio

scypio May 18, 2015

Firefox auto-updated today to version 38 and selenium stopped working immediately after.

I needed to downgrade it to version 37 and disable auto-updates.

scypio commented May 18, 2015

Firefox auto-updated today to version 38 and selenium stopped working immediately after.

I needed to downgrade it to version 37 and disable auto-updates.

@kcyeu

This comment has been minimized.

Show comment
Hide comment
@kcyeu

kcyeu May 18, 2015

Same issue on Windows.

  • Selenium v2.45.0, with Core v2.45.0. Built from revision 5017cb8
  • Firefox 38.0.1
  • Windows 7 x86

kcyeu commented May 18, 2015

Same issue on Windows.

  • Selenium v2.45.0, with Core v2.45.0. Built from revision 5017cb8
  • Firefox 38.0.1
  • Windows 7 x86
@theansaname

This comment has been minimized.

Show comment
Hide comment
@theansaname

theansaname May 18, 2015

Having the same issues tho not a severe as some of you folks.
firefox crash report

Process: firefox-bin [47293]
Path: /Applications/Firefox.app/Contents/MacOS/firefox-bin
Identifier: org.mozilla.firefox
Version: 38.0.1 (3815.5.13)
Code Type: X86-64 (Native)
Parent Process: ruby [47290]
Responsible: iTerm [1602]
User ID: 502

Date/Time: 2015-05-18 11:19:30.437 -0400
OS Version: Mac OS X 10.10.3 (14D136)
Report Version: 11

Time Awake Since Boot: 170000 seconds
Time Since Wake: 8200 seconds

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

Having the same issues tho not a severe as some of you folks.
firefox crash report

Process: firefox-bin [47293]
Path: /Applications/Firefox.app/Contents/MacOS/firefox-bin
Identifier: org.mozilla.firefox
Version: 38.0.1 (3815.5.13)
Code Type: X86-64 (Native)
Parent Process: ruby [47290]
Responsible: iTerm [1602]
User ID: 502

Date/Time: 2015-05-18 11:19:30.437 -0400
OS Version: Mac OS X 10.10.3 (14D136)
Report Version: 11

Time Awake Since Boot: 170000 seconds
Time Since Wake: 8200 seconds

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

@CITguy

This comment has been minimized.

Show comment
Hide comment
@CITguy

CITguy May 18, 2015

same issue,
selenium 2.45.0
firefox 38.0.1
os x 10.8.5

It doesn't seem to block interaction with the browser, it just brings up the crash report window every time I run protractor tests.

CITguy commented May 18, 2015

same issue,
selenium 2.45.0
firefox 38.0.1
os x 10.8.5

It doesn't seem to block interaction with the browser, it just brings up the crash report window every time I run protractor tests.

@ericmandel

This comment has been minimized.

Show comment
Hide comment
@ericmandel

ericmandel May 19, 2015

same issue after last night's auto-update
selenium 2.45.1
firefox 38.0.1
os x 10.10.3

same issue after last night's auto-update
selenium 2.45.1
firefox 38.0.1
os x 10.10.3

@nareshrao

This comment has been minimized.

Show comment
Hide comment
@nareshrao

nareshrao May 19, 2015

Facing the same issue with firefox 38.0.1 and mac os x 10.9.5

Facing the same issue with firefox 38.0.1 and mac os x 10.9.5

@yabab

This comment has been minimized.

Show comment
Hide comment
@yabab

yabab May 19, 2015

Facing the same issue with Firefox 38.0.1, OSX 10.10.1 and Webdriver 2.45.0

yabab commented May 19, 2015

Facing the same issue with Firefox 38.0.1, OSX 10.10.1 and Webdriver 2.45.0

@sunqing99

This comment has been minimized.

Show comment
Hide comment
@sunqing99

sunqing99 May 19, 2015

I got the same issue on my Windows 7 machine. The issue happens only for Firefox 38 (including 38.0, 38.0.1, and a number of betas). Firefox 37 was fine.

Here is the steps to reproduce:

Save below code as StartFirefox.java
/////////////////////
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.firefox.FirefoxProfile;

public class StartFirefox {
public static void main(String[] args) {
String startURL = "http://www.seleniumhq.org/";
FirefoxProfile profile = new FirefoxProfile();
WebDriver wd = new FirefoxDriver(profile);
wd.get(startURL);
}
}
////////////////

Then run it as follows,
SET PATH=%PATH%;"C:\Program Files (x86)\Java\jdk1.8.0_45\bin"
javac -cp selenium-java-2.45.0.jar StartFirefox.java
java -cp .;selenium-java-2.45.0.jar;libs* StartFirefox

With Firefox 37 it will just open up Firefox and get the URL. But with Firefox 38, what I got is a popup with the following message:

Firefox has stopped working

Windows can check online for a solution to the problem.

-> Check online for a solution and close the program
-> Close the program

Problem details

Problem signature:
Problem Event Name: APPCRASH
Application Name: firefox.exe
Application Version: 38.0.1.5611
Application Timestamp: 55540a1a
Fault Module Name: xul.dll
Fault Module Version: 38.0.1.5611
Fault Module Timestamp: 55541969
Exception Code: c0000005
Exception Offset: 0035669b
OS Version: 6.1.7601.2.1.0.256.4
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt

I got the same issue on my Windows 7 machine. The issue happens only for Firefox 38 (including 38.0, 38.0.1, and a number of betas). Firefox 37 was fine.

Here is the steps to reproduce:

Save below code as StartFirefox.java
/////////////////////
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.firefox.FirefoxProfile;

public class StartFirefox {
public static void main(String[] args) {
String startURL = "http://www.seleniumhq.org/";
FirefoxProfile profile = new FirefoxProfile();
WebDriver wd = new FirefoxDriver(profile);
wd.get(startURL);
}
}
////////////////

Then run it as follows,
SET PATH=%PATH%;"C:\Program Files (x86)\Java\jdk1.8.0_45\bin"
javac -cp selenium-java-2.45.0.jar StartFirefox.java
java -cp .;selenium-java-2.45.0.jar;libs* StartFirefox

With Firefox 37 it will just open up Firefox and get the URL. But with Firefox 38, what I got is a popup with the following message:

Firefox has stopped working

Windows can check online for a solution to the problem.

-> Check online for a solution and close the program
-> Close the program

Problem details

Problem signature:
Problem Event Name: APPCRASH
Application Name: firefox.exe
Application Version: 38.0.1.5611
Application Timestamp: 55540a1a
Fault Module Name: xul.dll
Fault Module Version: 38.0.1.5611
Fault Module Timestamp: 55541969
Exception Code: c0000005
Exception Offset: 0035669b
OS Version: 6.1.7601.2.1.0.256.4
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt

@mcwp

This comment has been minimized.

Show comment
Hide comment
@mcwp

mcwp May 19, 2015

Same.
selenium 2.45.0
firefox 38.0.1
os x 10.9.5

mcwp commented May 19, 2015

Same.
selenium 2.45.0
firefox 38.0.1
os x 10.9.5

@rdharrison2

This comment has been minimized.

Show comment
Hide comment
@rdharrison2

rdharrison2 May 19, 2015

I raised a bug on Firefox a while ago for this I think: https://bugzilla.mozilla.org/show_bug.cgi?id=1157672

Sadly no one has commented on it but not surprising as there are so many open bugs.

I raised a bug on Firefox a while ago for this I think: https://bugzilla.mozilla.org/show_bug.cgi?id=1157672

Sadly no one has commented on it but not surprising as there are so many open bugs.

@sataris

This comment has been minimized.

Show comment
Hide comment
@sataris

sataris May 20, 2015

Same,

Selenium 2.45.0
firefox 38
Ubuntu 15.0.4

sataris commented May 20, 2015

Same,

Selenium 2.45.0
firefox 38
Ubuntu 15.0.4

@jayp-ezdi

This comment has been minimized.

Show comment
Hide comment
@jayp-ezdi

jayp-ezdi May 20, 2015

Same,

Selenium 2.45.0
firefox 38
windows 7

Same,

Selenium 2.45.0
firefox 38
windows 7

@imtihoss

This comment has been minimized.

Show comment
Hide comment
@imtihoss

imtihoss May 20, 2015

Same issue

selenium 2.45.0
firefox 38.0.1
OSX 10.10.1

Same issue

selenium 2.45.0
firefox 38.0.1
OSX 10.10.1

@andreastt

This comment has been minimized.

Show comment
Hide comment
@andreastt

andreastt May 20, 2015

Member

I’m locking this issue due to all the people repeating themselves in the comments. If the issue is confirmed by a developer, it’s fine.

Member

andreastt commented May 20, 2015

I’m locking this issue due to all the people repeating themselves in the comments. If the issue is confirmed by a developer, it’s fine.

@SeleniumHQ SeleniumHQ locked and limited conversation to collaborators May 20, 2015

@jleyba

This comment has been minimized.

Show comment
Hide comment
@jleyba

jleyba May 22, 2015

Contributor

Fixed for

.NET client needs to be updated then we should be able to close this.

Contributor

jleyba commented May 22, 2015

Fixed for

.NET client needs to be updated then we should be able to close this.

@jleyba

This comment has been minimized.

Show comment
Hide comment
@jleyba

jleyba May 22, 2015

Contributor

.NET updated in 04e6815

Contributor

jleyba commented May 22, 2015

.NET updated in 04e6815

@jleyba jleyba closed this May 22, 2015

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