Closed Bug 62887 Opened 25 years ago Closed 24 years ago

browser crashes due to invalid markup for a plugin

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED
mozilla0.8

People

(Reporter: shrir, Assigned: peterlubczynski-bugs)

References

()

Details

(Keywords: crash)

Attachments

(2 files)

Plugin :Flash 5.0 Build :trunk 12/14 This is working fine on the branch build 1211. Steps: 1 Go to the above url 2 Click on "10 Best cars" from the menu on left 3 Observe taht as the page is about to load, 6.0 crashes. Stack: Call Stack: (Signature = nsHTMLContainerFrame::ReparentFrameViewList bcf31081) nsHTMLContainerFrame::ReparentFrameViewList [d:\builds\seamonkey\mozilla\layout\html\base\src\nsHTMLContainerFrame.cpp, line 366] MoveChildrenTo [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 434] nsCSSFrameConstructor::SplitToContainingBlock [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 13160] nsCSSFrameConstructor::CantRenderReplacedElement [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 10751] StyleSetImpl::CantRenderReplacedElement [d:\builds\seamonkey\mozilla\layout\base\src\nsStyleSet.cpp, line 1248] FrameManager::HandlePLEvent [d:\builds\seamonkey\mozilla\layout\html\base\src\nsFrameManager.cpp, line 917] PL_HandleEvent [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 577] PL_ProcessPendingEvents [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 513] _md_EventReceiverProc [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 1055] Registers:
Attached file simple testcase
This is not a plugin bug. The page has invalid markup that the parser should catch. I have attached a simplified testcase. Tested with today's pull on W2K. Cc:ing buster just in case it's something in frames as the stack trace suggests. Updating URL, owner, keywords, and summary.
Assignee: av → harishd
Component: Plug-ins → Parser
Keywords: crash
QA Contact: shrir → janc
Summary: browser crashes as plugin is about to load → browser crashes due to invalid markup for a plugin
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.8
Peter, IMO, the plug-in code should be more robust whether or not the parser catches invalid markup. I'll take a look at the parser end for the invalid markup but I'd strongly recommend you to make the plug-in code more robust.
Giving bug back to peterlubczynski@netscape.com.
Assignee: harishd → peterlubczynski
Status: ASSIGNED → NEW
well ,the original page does not crash anymore on 20010116 trunk on windows.
QA Contact: janc → shrir
Marking FIXED as none of the testcases crash now.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
yep ,verified fixed (0116)trunk and branch.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: