Closed Bug 302119 Opened 19 years ago Closed 19 years ago

XULRunner restarts 3 times on startup even if profile exists

Categories

(Toolkit Graveyard :: XULRunner, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.8beta4

People

(Reporter: darin.moz, Assigned: darin.moz)

Details

(Keywords: regression)

Attachments

(1 file)

XULRunner restarts 3 times on startup even if profile exists

I have not yet confirmed this report, but I'm just filing it here as a reminder
to investigate this problem.  I hear that this problem started occuring sometime
after the 7/19 trunk builds.
I can reproduce this using today's build of xulrunner on Linux.  All I have to
do is run the simple testcase, and I observe it restarting twice until it tells
me that it prevented EM from restarting the app.  I don't know why EM would be
getting invoked at all since the simple app is configured to disable EM completely.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: blocking1.8b4?
Keywords: regression
OS: Windows XP → All
Hardware: PC → All
Target Milestone: --- → mozilla1.8beta4
This line of code appears to be the problem:
http://lxr.mozilla.org/mozilla/source/toolkit/xre/nsAppRunner.cpp#1666

It is comparing against aXULRunnerDir when it should be comparing against aAppDir.

Patch coming up...
Attached patch v1 patchSplinter Review
Attachment #190497 - Flags: first-review?(benjamin)
Comment on attachment 190497 [details] [diff] [review]
v1 patch

Yeah, I'm pretty sure that's what I meant.
Attachment #190497 - Flags: first-review?(benjamin)
Attachment #190497 - Flags: first-review+
Attachment #190497 - Flags: approval1.8b4+
Flags: blocking1.8b4? → blocking1.8b4+
fixed-on-trunk
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: