Closed Bug 279788 Opened 20 years ago Closed 20 years ago

Autocomplete crashes in mail compose - TBTrunk [@ nsGenericElement::isSelfOrAncestor][@ nsIContent::GetParent - nsGenericElement::isSelfOrAncestor]

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows XP
defect
Not set
blocker

Tracking

()

VERIFIED FIXED

People

(Reporter: mscott, Assigned: sicking)

References

Details

(Keywords: crash, smoketest, topcrash)

Crash Data

Attachments

(1 file)

This was a regression introduced by Bug #279155 last night.

Bring up the compose window. Type in an address with multiple auto complete
matches. Choose a match and hit enter. Application crashes in
nsGenericElement::isSelfOrAncestor. aNode is NULL.

nsIContent::GetParent() line 128 + 3 bytes
nsGenericElement::isSelfOrAncestor(nsIContent * 0x00000000, nsIContent *
0x031ba5f8) line 2669 + 8 bytes
nsXULElement::RemoveChildAt(unsigned int 2, int 1) line 1143 + 23 bytes
nsGenericElement::ReplaceChild(nsGenericElement * const 0x03336cc8, nsIDOMNode *
0x042431c4, nsIDOMNode * 0x031ba614, nsIDOMNode * * 0x0012b954) line 3055 + 17 bytes
nsXULElement::ReplaceChild(nsXULElement * const 0x03336cc8, nsIDOMNode *
0x042431c4, nsIDOMNode * 0x031ba614, nsIDOMNode * * 0x0012b954) line 547 + 24 bytes
This Crash occours in Mozilla-Suite MailNews too. Using latest Nightly:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050125
Mnenhy/0.7.1 {Build ID: 2005012506}

Add Talkback Incident: TB3285013K

Think we have to adjust the Bug-Subject to "Thunderbird and MailNews
Autocomplete crashes in mail compose" or similar.
This is all mine, looking...
Status: NEW → ASSIGNED
Attached patch patch to fixSplinter Review
GetCurrentItem must be returning null. Either way, this is what the code used
to do.
Comment on attachment 172381 [details] [diff] [review]
patch to fix

r+sr=bzbarsky
Attachment #172381 - Flags: superreview+
Attachment #172381 - Flags: review+
Checked in. Scott, please check to make sure that this helped.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
yeah that fixed it. Thank you for the quick turn around. 
awesome, marking verified. Sorry for the regression.
Status: RESOLVED → VERIFIED
Keywords: crash
Summary: Thunderbird Autocomplete crashes in mail compose → Thunderbird Autocomplete crashes in mail compose [@ nsGenericElement::isSelfOrAncestor][@ nsIContent::GetParent - nsGenericElement::isSelfOrAncestor]
Summary: Thunderbird Autocomplete crashes in mail compose [@ nsGenericElement::isSelfOrAncestor][@ nsIContent::GetParent - nsGenericElement::isSelfOrAncestor] → Autocomplete crashes in mail compose [@ nsGenericElement::isSelfOrAncestor][@ nsIContent::GetParent - nsGenericElement::isSelfOrAncestor]
*** Bug 279873 has been marked as a duplicate of this bug. ***
Does today's build include this fix?
I guess any build later then 200501251329 should have the fix. I'm not sure when
the nightly builds are made.
Adding topcrash info for future reference.
Keywords: topcrash
Summary: Autocomplete crashes in mail compose [@ nsGenericElement::isSelfOrAncestor][@ nsIContent::GetParent - nsGenericElement::isSelfOrAncestor] → Autocomplete crashes in mail compose - TBTrunk [@ nsGenericElement::isSelfOrAncestor][@ nsIContent::GetParent - nsGenericElement::isSelfOrAncestor]
*** Bug 281686 has been marked as a duplicate of this bug. ***
Component: DOM: Core → DOM: Core & HTML
QA Contact: ian → general
Crash Signature: [@ nsGenericElement::isSelfOrAncestor] [@ nsIContent::GetParent - nsGenericElement::isSelfOrAncestor]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: