Closed
Bug 145994
Opened 23 years ago
Closed 21 years ago
Crash in urildr.dll from some embedding clients
Categories
(Core Graveyard :: Embedding: APIs, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: chak, Assigned: chak)
References
Details
(Keywords: crash, topembed-)
Attachments
(2 files, 2 obsolete files)
2.18 KB,
patch
|
chak
:
review+
alecf
:
superreview+
scc
:
approval+
|
Details | Diff | Splinter Review |
2.39 KB,
patch
|
jst
:
review+
alecf
:
superreview+
|
Details | Diff | Splinter Review |
A crash occurs in urildr.dll when using certain embedding clients.
This started happening after the changes for
http://bugzilla.mozilla.org/show_bug.cgi?id=46856 went into the Mozila 1.0 branch.
A simple null check seems to prevent the crash, but, we need to make sure we're
not masking a bigger issue
Assignee | ||
Updated•23 years ago
|
Assignee | ||
Comment 1•23 years ago
|
||
The patch is just to show where the crash occurs - we still need to make sure
that we're not masking a bigger issue at hand...thanks
Comment 2•23 years ago
|
||
Removing adt1.0.0, as this has not received reviews, nor had it been nominated
as nsbeta1.
Comment 3•23 years ago
|
||
Updated•23 years ago
|
Attachment #84453 -
Attachment is obsolete: true
Assignee | ||
Comment 4•23 years ago
|
||
Comment on attachment 84509 [details] [diff] [review]
more comprehensive patch...
r=chak
Attachment #84509 -
Flags: review+
Assignee | ||
Comment 5•23 years ago
|
||
Cc:ing Alec for sr=
Comment 6•23 years ago
|
||
Comment on attachment 84509 [details] [diff] [review]
more comprehensive patch...
should we put some assertions in there too, or is this an expected behavior?
sr=alecf on this, but lets add assertions if this is truly unexpected
Attachment #84509 -
Flags: superreview+
Comment 8•23 years ago
|
||
hey alec,
this behavior is 'unexpected' but i don't think it's an error :-)
basically, this situation arises when Stop() is called within a notification
callback from the DocLoader... Stop() causes the internal list to be discarded
while it is being walked (higher up on the stack)...
i believe that we need to support this case. in fact, i think that we need
further QA test cases to verify that all of the notifications are generated
correctly in this (and other unexpected) situations...
but, at this point i don't think we need an assert... and hopefully, at some
point the assert in nsVoidArray (saying that the element is out of bounds) will
go away too :-)
-- rick
Keywords: adt1.0.0
Comment 9•23 years ago
|
||
patch is checked into the trunk.
Comment 10•23 years ago
|
||
rick, you want SafeElementAt if you need the bounds-checking and don't want the
assertion. ElementAt is the optimized-till-unsafe version.
/be
Comment 11•23 years ago
|
||
changing bug fields.
Status: NEW → RESOLVED
Closed: 23 years ago
Keywords: adt1.0.0
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.0
Comment 12•23 years ago
|
||
Comment on attachment 84509 [details] [diff] [review]
more comprehensive patch...
a=scc (on behalf of drivers) for checkin to the mozilla1.0 branch
Attachment #84509 -
Flags: approval+
Comment 13•23 years ago
|
||
adt1.0.0+ (on ADT's behalf) for approval to checkin to the 1.0 branch. After,
checking in, please add the fixed1.0 keyword.
Comment 14•23 years ago
|
||
Comment 15•23 years ago
|
||
I'd like to check the last patch (using SafeElementAt) onto the trunk.
The branch is safe with the original patch because no one is going to change the
implementation of nsVoidArray...
However, if this is changed on the trunk, then memory corruptions will occur!
-- rick
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•23 years ago
|
Keywords: fixed1.0.0
Comment 16•23 years ago
|
||
Comment on attachment 84548 [details] [diff] [review]
updated patch for the trunk using SafeElementAt(...)
sr=alecf
Attachment #84548 -
Flags: superreview+
Comment 17•23 years ago
|
||
Attachment #84548 -
Attachment is obsolete: true
Comment 18•23 years ago
|
||
Comment on attachment 84549 [details] [diff] [review]
oops... here's a cleaner patch.
that works too :)
sr=alecf
Attachment #84549 -
Flags: superreview+
Comment 19•23 years ago
|
||
according to bonsai, rpotts checked this in to the 1.0 branch last night.
05/21/2002 16:21
Comment 20•23 years ago
|
||
yes. i checked the first patch into both the branch and trunk.
i reopened the bug, so i could check in the changes from ElementAt() to
SafeElementAt() into the trunk (to prevent future memory corruptions...).
-- rick
Comment 21•23 years ago
|
||
This may be related. With build 2002060408 WinMe in the page
http://www.allied-telesyn.com/allied/products/viewproduct.asp?category=1&id=77&country=218&lang=en
selecting the link "AT-2700 series datasheet" crashes the browser.
Tried twice, crashed twice so looks reproducible.
Comment 22•22 years ago
|
||
Rick-- What is the next step with this bug?
Updated•22 years ago
|
Target Milestone: mozilla1.0 → ---
Comment 23•22 years ago
|
||
Chak, can you take a look see?
Assignee: rpotts → chak
Status: REOPENED → NEW
Comment 24•22 years ago
|
||
Discussed in topembed bug triage. Minusing.
Comment 25•22 years ago
|
||
adt: nsbeta1-
Updated•21 years ago
|
Severity: blocker → critical
Attachment #84549 -
Flags: review?(jst)
Comment 26•21 years ago
|
||
Comment on attachment 84549 [details] [diff] [review]
oops... here's a cleaner patch.
r=jst, but this aint fixing no crash, nsVoidArray::ElementAt() is null safe,
even if it asserts...
Attachment #84549 -
Flags: review?(jst) → review+
Comment 27•21 years ago
|
||
mozilla/uriloader/base/nsDocLoader.cpp 3.268
Status: NEW → RESOLVED
Closed: 23 years ago → 21 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•