Closed Bug 1157672 Opened 9 years ago Closed 8 years ago

Firefox crashes on shutdown when invoked with -silent and empty profile directory

Categories

(Core Graveyard :: Profile: BackEnd, defect)

38 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: rdharrison2, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36

Steps to reproduce:

If you run Firefox 38 beta6 with Selenium, Firefox crashes the first time Selenium starts it up. After debugging this, I think it's reproduceable on Windows7 (and Mac OSX) by running:

Firefox.exe --profile C:\tmp\test_profile -silent

where C:\tmp\test_profile is a directory that exists but is empty.



Actual results:

Firefox populates C:\tmp\test_profile with a profile but crashes everytime in xul.dll on shutting down.

If you run the command again Firefox doesn't crash which makes me think it's related to the empty profile directory. Also, it you omit the -silent option, Firefox doesn't crash when you shut it down either.

I've tested this with the Firefox 38 betas and the crash first occurs in 38.0b2, and doesn't occur in 38.0b1.


Expected results:

Firefox should populate the profile directory and then shutdown without crashing.
Is this an issue with release 38? Mozregression should be able to get a one day or better regression range. https://github.com/mozilla/mozregression
Please also see https://github.com/SeleniumHQ/selenium/issues/437 where this affects lots of users.
Confirmed on OS X 10.10.3 via:

open /Applications/Firefox.app --args --profile ~/test_profile -silent 

I'm changing the status to NEW.
Status: UNCONFIRMED → NEW
Ever confirmed: true
If anyone considers that the component is not the right one, please change it to a more appropriate one.
Component: Untriaged → Profile: BackEnd
Product: Firefox → Core
This bug is filed in a bugzilla component related to pre-Firefox code which no longer exists. I believe it is no longer relevant and I am therefore closing it INCOMPLETE.

If you believe that this bug is still valid and needs to be fixed, please reopen it and move it to the Toolkit:Startup and Profile System product/component.
No longer blocks: 1243899
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.