Closed
Bug 485031
Opened 16 years ago
Closed 16 years ago
WinCE Crash on First Startup (or command line environment passing)
Categories
(Toolkit Graveyard :: XULRunner, defect)
Tracking
(fennec1.0a1-wm+)
RESOLVED
FIXED
mozilla1.9.2a1
Tracking | Status | |
---|---|---|
fennec | 1.0a1-wm+ | --- |
People
(Reporter: dougt, Assigned: hiro)
Details
(Keywords: fixed1.9.1, Whiteboard: [fixed1.9.1b4])
Attachments
(2 files, 2 obsolete files)
59.46 KB,
application/x-zip-compressed
|
Details | |
1.65 KB,
patch
|
benjamin
:
review+
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
On first run, a dialog is presented saying "a problem has occured with xulrunner.exe" due to xulrunner crashing.
It crashes after xulrunner creates the profile directory, extensions, and other directories.
Reporter | ||
Updated•16 years ago
|
tracking-fennec: --- → ?
Updated•16 years ago
|
tracking-fennec: ? → 1.0a1-wm+
Comment 1•16 years ago
|
||
I was able to reproduce the error on omnia.
Comment 2•16 years ago
|
||
Additional info for comment #1
The build I made is based on the following changeset
changeset: 26816:1a6d30255368
tag: tip
user: Simon Montagu <smontagu@smontagu.org>
date: Wed Apr 01 06:56:13 2009 -0700
summary: Remove duplicate property added in bug 437276, rs=Neil
It is a optimized build. Produced with
Visual Studio 9 and windows mobile 6 sdk.
jemalloc was enabled in the build.
Assignee | ||
Comment 3•16 years ago
|
||
Use delete instead of free.
Attachment #371796 -
Flags: review?(bugmail)
Assignee | ||
Comment 4•16 years ago
|
||
And the patch also fixes another issue in ExtractEnvironmentFromCL that the arguments are overkilled.
Assignee | ||
Comment 5•16 years ago
|
||
To reproduce this crash easily, use --environ:"SOMETHING=something" option for xulrunner.exe.
Comment 6•16 years ago
|
||
Comment on attachment 371796 [details] [diff] [review]
Fix crash
switching the review to bsmedberg
Attachment #371796 -
Flags: review?(bugmail) → review?(benjamin)
Comment 7•16 years ago
|
||
Comment on attachment 371796 [details] [diff] [review]
Fix crash
Boy, rewriting argv like that sucks, but short of making a copy I guess that's the best we can do.
Attachment #371796 -
Flags: review?(benjamin) → review+
Comment 8•16 years ago
|
||
This patch fixes the first startup crashing for me.
This patch also fixes the "--environ=EM_NO_RESTART=1" crashing for me.
Assignee | ||
Comment 9•16 years ago
|
||
Modified copied arguments.
Benjamin, could you please review this patch again?
Attachment #371796 -
Attachment is obsolete: true
Attachment #372017 -
Flags: review?(benjamin)
Comment 10•16 years ago
|
||
Comment on attachment 372017 [details] [diff] [review]
Update patch
>diff -r 3051d82cb64f toolkit/xre/nsWindowsWMain.cpp
>- for (int i=0; i<argc; i++)
>+ for (int i=0; i< argc; i++)
> deleteUs[i] = argvConverted[i];
If you want to change this, put spaces between the "=" and the "<" to match the prevailing style. If you didn't mean to change it, undo this single space change.
Assignee | ||
Comment 11•16 years ago
|
||
Put some spaces.
Attachment #372017 -
Attachment is obsolete: true
Attachment #372039 -
Flags: review?(benjamin)
Attachment #372017 -
Flags: review?(benjamin)
Updated•16 years ago
|
Attachment #372039 -
Flags: review?(benjamin) → review+
Updated•16 years ago
|
Summary: "a problem has occured with xulrunner.exe" crash → WinCE Crash on First Startup (or command line environment passing)
Updated•16 years ago
|
Keywords: checkin-needed
Comment 12•16 years ago
|
||
Updated•16 years ago
|
Component: General → XULRunner
Product: Fennec → Toolkit
QA Contact: general → xulrunner
Updated•16 years ago
|
Attachment #372039 -
Flags: approval1.9.1?
Updated•16 years ago
|
Attachment #372039 -
Flags: approval1.9.1? → approval1.9.1+
Comment 13•16 years ago
|
||
Comment on attachment 372039 [details] [diff] [review]
Revised patch
[Checkin: Comment 12 & 14]
a191=beltzner
Updated•16 years ago
|
Assignee: nobody → ikezoe
Keywords: checkin-needed
Comment 14•16 years ago
|
||
Comment on attachment 372039 [details] [diff] [review]
Revised patch
[Checkin: Comment 12 & 14]
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/9bec603454c2
Attachment #372039 -
Attachment description: Revised patch → Revised patch
[Checkin: Comment 12 & 14]
Updated•16 years ago
|
Keywords: checkin-needed → fixed1.9.1
Whiteboard: [fixed1.9.1b4]
Target Milestone: --- → mozilla1.9.2a1
Updated•9 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•