Closed
Bug 236673
Opened 20 years ago
Closed 20 years ago
Firefox crashes if there is no profile (import wizard dialog appears)
Categories
(Firefox :: Migration, defect)
Tracking
()
RESOLVED
FIXED
Firefox0.9
People
(Reporter: bugzilla, Assigned: bugs)
References
Details
(Keywords: crash, regression)
Attachments
(3 files)
Hello, I've tried the latest version of firefox with no profile: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040305 Firefox/0.8.0+ a window that says "Import Wizard" appears for a split second and then closes... firefox never starts. Steps to reproduce: 1. download latest firefox nightly 2. Start it without having a profile Reproducible: always The build works fine if a profile already exists.
Reporter | ||
Updated•20 years ago
|
Severity: normal → critical
Comment 1•20 years ago
|
||
I'm seeing this on Windows too. --> All/All --> Migration
Assignee: firefox → bugs
Component: General → Migration
OS: Linux → All
Hardware: PC → All
Updated•20 years ago
|
Keywords: regression
Comment 2•20 years ago
|
||
I'm not getting anything to start (let alone the Import Wizard) unless there is a pre-existing profile on Windows XP. Could this be related to the pending change from %AppData%Phoenix to %Appdata%Firefox (or whatever)?
On Mac OS X 10.2.8, starting with no profile, the Import Wizard displays but is non-functional. After force-quitting the Import Wizard, Firefox automatically started (I did not click the dock icon to re-launch) and automatically created a new profile. Firefox worked properly after that.
Comment 4•20 years ago
|
||
Confirming. Linux - self build from CVS. With clear profile migration window opens but it's not functional.
Comment 5•20 years ago
|
||
./firefox > log.txt
Comment 6•20 years ago
|
||
./firefox 2> log2.txt
Comment 7•20 years ago
|
||
This WFM with the latest nightly on WinXP (2004-03-12). I think it was probably fixed by Ben with the checkin here: http://bonsai.mozilla.org/cvslog.cgi?file=mozilla/browser/components/migration/src/nsProfileMigrator.cpp&root=/cvsroot (rev. 1.6 is the relavent entry). Can anyone reproduce with a new nightly? If not, please mark this fixed.
Comment 8•20 years ago
|
||
IMO this bug is a blocker. "Blocker: Blocks development and/or testing work"
Comment 9•20 years ago
|
||
I agree: although Ben does not specifically mention this bug num, the description for the checkin to nsProfileMigrator.cpp does indicate resolution of this issue. The problem does in fact seem to be fixed in the builds I have produced since then. Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040312 Firefox/0.8.0+ (.:MrC:.)
Comment 10•20 years ago
|
||
Fixed on Mac OS X as well, using 20040313 Firefox/0.8.0+, even after testing migration from several different prefs, or none at all. Since that covers the major platforms, I'll resolve it as fixed.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 11•20 years ago
|
||
confirming WFM on Windows & Linux nightlies
Comment 12•20 years ago
|
||
Not fixed in: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.7b) Gecko/20040315 Firefox/0.8.0+ (scragz) If I don't have a pre-existing C:\windows\Application Data\Firefox containing at least the registry.dat and pluginreg.dat files, Firefox crashes. With the required files, then it does not crash even if the profile is under Phoenix (as mine is) and not under Firefox.
Comment 13•20 years ago
|
||
Also still reproducible on build 20040316 Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7b) Gecko/20040316 Firefox/0.8.0+ Looking though the CVS log referenced in comment #7, the problem is reportedly fixed only on Linux and the Mac... but still crashing here on Windows 98 SE Reopening.
Status: RESOLVED → REOPENED
OS: All → Windows 98
Hardware: All → PC
Resolution: FIXED → ---
Comment 14•20 years ago
|
||
Crash also will occur in XP. Currently using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040320 Firefox/0.8.0+ (zip build) crashed if no profile. previous few nightly builds also crash if no profile exists.
Comment 15•20 years ago
|
||
This crash is in: http://lxr.mozilla.org/mozilla/source/browser/components/migration/src/nsOperaProfileMigrator.cpp#209 The problem occurs if you do *not* have an Opera profile on your system: nsLocalFile::GetDirectoryEntries() returns a failure nsresult and never fills in e, leading to the null pointer dereference.
Comment 16•20 years ago
|
||
This fixes the crash.
Comment 17•20 years ago
|
||
Well done for this one. I installed Opera, and no more crash ! :)
Comment 18•20 years ago
|
||
Verified this fixes crashing on launch with my homebuilt Firefox on Win XP SP1. Patch applied to CVS tree pulled Sat Mar 20 19:24:55 NZDT 2004 (GMT+13), and mozilla/browser rebuilt. Eric, you should set a review request on your patch to attract developer attention. I've set the blocking0.9? flag for the same reason. Finally, I have never had Opera installed so there is probably another issue here. I did run a nightly after the initial landing of the migration code and before the major set of bug fixes were checked in.
Flags: blocking0.9?
Comment 19•20 years ago
|
||
WFM on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040321 Firefox/0.8.0+
Updated•20 years ago
|
Attachment #144468 -
Flags: review?(bugs)
Comment 20•20 years ago
|
||
I'm using the 2003-03-29 build on Windows XP and still seeing this crash (nothing appears before crashing). As described in comment 12, one workaround is to copy everything in "Application Data\Phoenix" to "Application Data\Firefox" and then firefox will start normally.
Comment 21•20 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040325 Firefox/0.8.0+ (MozJF) Like comments #15 and #17 say, installing Opera fixes the crash.
Comment 22•20 years ago
|
||
what should i do to get this reviewed?
Assignee | ||
Comment 23•20 years ago
|
||
Comment on attachment 144468 [details] [diff] [review] Fix for crash r=ben@mozilla.org
Attachment #144468 -
Flags: review?(bugs) → review+
Comment 24•20 years ago
|
||
anyone in perticular i should get the sr= from?
Comment 25•20 years ago
|
||
You don't need sr= on Firefox. Just find someone to check it in for you now.
Comment 26•20 years ago
|
||
who wants to check it in, then? =)
Comment 27•20 years ago
|
||
it's checked in. thanks eric!
Status: REOPENED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox0.9
Comment 28•20 years ago
|
||
*** Bug 239270 has been marked as a duplicate of this bug. ***
Comment 29•20 years ago
|
||
*** Bug 236607 has been marked as a duplicate of this bug. ***
Comment 30•20 years ago
|
||
*** Bug 239011 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Flags: blocking0.9?
You need to log in
before you can comment on or make changes to this bug.
Description
•