Closed Bug 9891 Opened 26 years ago Closed 26 years ago

Crash when inserting item in select list

Categories

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

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: slamm, Assigned: troy)

References

Details

Attachments

(1 file)

#0 IsGeneratedContentFor (aContent=0x820f5f8, aFrame=0x0) at nsCSSFrameConstructor.cpp:4076 #1 0x40bc10c4 in nsCSSFrameConstructor::ContentInserted (this=0x81f98b0, aPresContext=0x818d6e0, aContainer=0x820f5f8, aChild=0x820f7a4, aIndexInContainer=0) at nsCSSFrameConstructor.cpp:4420 #2 0x40c8ecc1 in StyleSetImpl::ContentInserted (this=0x81f9868, aPresContext=0x818d6e0, aContainer=0x820f5f8, aChild=0x820f7a4, aIndexInContainer=0) at nsStyleSet.cpp:803 #3 0x40ad27a0 in PresShell::ContentInserted (this=0x81fa480, aDocument=0x813d7a8, aContainer=0x820f5f8, aChild=0x820f7a4, aIndexInContainer=0) at nsPresShell.cpp:1709 #4 0x40c5a207 in nsDocument::ContentInserted (this=0x813d7a8, aContainer=0x820f5f8, aChild=0x820f7a4, aIndexInContainer=0) at nsDocument.cpp:1569 #5 0x40b73c12 in nsHTMLDocument::ContentInserted (this=0x813d7a8, aContainer=0x820f5f8, aChild=0x820f7a4, aIndexInContainer=0) at nsHTMLDocument.cpp:828 #6 0x40ae957c in nsGenericHTMLContainerElement::InsertChildAt ( this=0x820f60c, aKid=0x820f7a4, aIndex=0, aNotify=1) at nsGenericHTMLElement.cpp:2634 #7 0x40ae8b23 in nsGenericHTMLContainerElement::InsertBefore (this=0x820f60c, aNewChild=0x820f798, aRefChild=0x820f878, aReturn=0xbfffe038) at nsGenericHTMLElement.cpp:2380 #8 0x40b47836 in nsHTMLSelectElement::InsertBefore (this=0x820f5e8, aNewChild=0x820f798, aRefChild=0x820f878, aReturn=0xbfffe038) at nsHTMLSelectElement.cpp:120
Blocks: 9738
QA Contact: gerardok → phillip
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Thanks for the nice simple test case. I added a NULL pointer check and that fixes the crash
*** Bug 9954 has been marked as a duplicate of this bug. ***
*** Bug 9929 has been marked as a duplicate of this bug. ***
Status: RESOLVED → VERIFIED
verified on 1999-07-19-11 RedHat Linux 5.2 (GNOME/enlightenment) 1999-07-19-08 WinNT 4.0 sp4 1999-07-19-08 MacOS 8.51
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: