!!

Welcome to Selenium Webdriver Forum

As a web user you can read and search through forum content. Once you have registered and signed you can post topics, post replies, set up watch lists, modify forum settings, and use private messaging.

Author Topic: Problem with Firefox 3 on OS X  (Read 405 times)

Dante Briones

  • Web User
Problem with Firefox 3 on OS X
« on: February 23, 2012, 01:46:50 PM »
Hi folks,
 I've been having trouble with the Firefox driver on OS X:  My tests   
 run just fine against Firefox 2, but hang when running against Firefox   
 3.  I've played around a bit in the debugger, and it looks like the   
 call to clean the Firefox profile never returns.
 
I've tried opening up the terminal, setting the appropriate   
 environment vars, and running the same command that webdriver does:
 
dbriones@neo:~>export XRE_PROFILE_PATH=/tmp/webdriver4439profile
 dbriones@neo:~>export MOZ_NO_REMOTE=1
 dbriones@neo:~>/Applications/Firefox\ 3.app/Contents/MacOS/firefox-bin   
 --verbose -silent
 dbriones@neo:~>2009-03-03 09:28:40.695 firefox-bin[1837:10b] ***   
 _NSAutoreleaseNoPool(): Object 0x1a17900 of class NSCFString   
 autoreleased with no pool in place - just leaking
 Stack: (0x9540673f 0x95312e32 0x95320a18 0x953ea90c 0x953ea854   
 0x953ea7d7 0x95baa7de 0x953ea785 0x12969b6 0x1297326 0x129461c   
 0x128bb7b 0x1291bbd 0xd5dfb3 0xd5e683 0xd098c4 0xd05a10 0x14cc905   
 0xcefcc9 0xcf41ec 0xd9e04 0xcd2fa 0xda6ec 0xa2aa8 0xd03d8a 0xd044b3   
 0x14becb7 0x14bf17a 0x14bf26a 0x14bf77f 0x1490cf0 0xcab0a5 0xcaeeeb)
 
...followed by several screens full of messages similar to the last   
 one; the object IDs and types vary.
 
Interestingly, I only get this result when I pause the test at a   
 breakpoint right before it would execute the command and then attempt   
 to run the command manually.  If I then kill the manually launched   
 instance of FF and the test itself, then attempt to relaunch FF in the   
 same way, FF runs without complaint.
 
Is anyone else seeing this?  I took a look at the automated build for   
 Firefox on OSX; the build seems broken, but I can't figure out how to   
 see what caused the breakage:
 
http://xserve.openqa.org:8080/job/webdriver-firefox-os-x/
 
By the way, I'm running against jars built from rev. 851 of trunk.
 
Thanks,
 
Dante

Dante

  • Web User
Re: Problem with Firefox 3 on OS X
« Reply #1 on: February 23, 2012, 01:47:04 PM »
> I took a look at the automated build for   
 > Firefox on OSX; the build seems broken, but I can't figure out how to   
 > see what caused the breakage:
 > http://xserve.openqa.org:8080/job/webdriver-firefox-os-x/
 


I managed to find the console output (craftily hidden behind a link
 entitled "Console Output" :), but it looks like the breakage doesn't
 necessarily have to do with Firefox:
 <snip>
 
There was 1 error:
 1) junit.framework.TestSu...@90ffa7java.lang.RuntimeException:
 org.mortbay.util.MultiException[java.net.BindException: Address
 already in use, java.net.BindException: Address already in use]
         at org.openqa.selenium.environment.webserver.Jetty6AppServer.start
 (Jetty6AppServer.java:118)
         at org.openqa.selenium.environment.InProcessTestEnvironment.<init>
 (InProcessTestEnvironment.java:29)
         at org.openqa.selenium.EnvironmentStarter.setUp
 (EnvironmentStarter.java:38)
         at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
         at junit.extensions.TestSetup.run(TestSetup.java:27)
 Caused by: org.mortbay.util.MultiException[java.net.BindException:
 Address already in use, java.net.BindException: Address already in
 use]
         at org.mortbay.jetty.Server.doStart(Server.java:186)
         at org.mortbay.component.AbstractLifeCycle.start
 (AbstractLifeCycle.java:39)
         at org.openqa.selenium.environment.webserver.Jetty6AppServer.start
 (Jetty6AppServer.java:116)
         ... 10 more
 
FAILURES!!!
 Tests run: 0,  Failures: 0,  Errors: 1
 
</snip>
 
Looks like there's an old instance of Jetty hanging around.  It also
 looks like the build slave for OS X is offline at the moment...

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
808 Views
Last post February 21, 2012, 02:10:57 PM
by Jignesh
3 Replies
1525 Views
Last post February 21, 2012, 03:48:47 PM
by eXe
4 Replies
1155 Views
Last post February 23, 2012, 01:17:47 PM
by Simon Stewart
2 Replies
826 Views
Last post February 23, 2012, 02:18:52 PM
by Simon Stewart
firefox problem

Started by Samira MERZAK Selenium RC - Selenium 1.0

8 Replies
861 Views
Last post February 23, 2012, 07:10:46 PM
by G-Unit
17 Replies
1752 Views
Last post March 28, 2012, 06:48:36 PM
by Simon Stewart
0 Replies
184 Views
Last post March 18, 2013, 01:19:29 AM
by michaldec

Review www.seleniumwebdriver.com on alexa.com