Closed Bug 5677 Opened 25 years ago Closed 25 years ago

[PP]Test cases for HTMLObjectElement are crashing on the Mac

Categories

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

PowerPC
Mac System 8.5
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: jcarpenter0524, Assigned: beard)

References

()

Details

(Whiteboard: looking at tonight)

Build: 1999-04-27-08 MacPPC only - tests run fine on all other platforms. - Go to the URL: http://marvin/NGDriver/suites/dom1/hobj004.html (also crashes on all of these similar tests: hobj005.html, hobj009.html, hobj014.html, hobj016.html, hobj018.html, hobj030.html, hobj034.htm) - The system crashes immediately These are all tests for the HTMLObjectElement properties reduced HTML code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>object element test</TITLE></HEAD> <BODY> <OBJECT DATA="../testdata/test.gif" TYPE="image/gif" ALIGN="right" BORDER="4"> This is a <EM>picture</EM> of the word Marvin with a border of 4. </OBJECT> </BODY> </HTML>
QA Contact: 4015 → 3847
Assignee: vidur → amusil
The crash seems to have nothing to do with the DOM. The reduced test case shows that it's just OBJECT elements that correspond to images that seem to have the problem.
Assignee: amusil → av
Target Milestone: M7
Status: NEW → ASSIGNED
Summary: Test cases for HTMLObjectElement are crashing on the Mac → [PP]Test cases for HTMLObjectElement are crashing on the Mac
Patric, if you have a minute could you please look at where it crashes. I am not a Mac person and I do not have a Mac.
It crashes in at nsPluginInstanceOwner::GetPluginPort()+00044. Since plugins are involved, I guess it should be reassigned to Patrick. The stack trace is below: Calling chain using A6/R1 links Back chain ISA Caller 00000000 PPC 034DA93C 03EC3B40 PPC 034C04A8 main+000A0 03EC3AF0 PPC 034BF8DC nsNativeViewerApp::Run()+00044 03EC3AB0 PPC 031B0678 nsAppShell::Run()+00060 03EC3A30 PPC 031B13BC nsMacMessagePump::DoMessagePump()+00054 03EC39E0 PPC 031B1618 nsMacMessagePump::DispatchEvent(int, EventRecord*)+ 000BC 03EC3990 PPC 031B180C nsMacMessagePump::DoUpdate(EventRecord&)+00060 03EC3940 PPC 031B2540 nsMacMessagePump::DispatchOSEventToRaptor(EventRecord&, GrafPort*)+0005C 03EC38F0 PPC 031AB394 nsMacMessageSink::DispatchOSEvent(EventRecord&, GrafPort*)+00054 03EC38B0 PPC 031A4CB0 nsMacWindow::HandleOSEvent(EventRecord&)+0005C 03EC3850 PPC 031A5338 nsMacEventHandler::HandleOSEvent(EventRecord&)+000A0 03EC3800 PPC 031A6A18 nsMacEventHandler::HandleUpdateEvent(EventRecord&)+ 00030 03EC37C0 PPC 0318F364 nsWindow::HandleUpdateEvent()+001F4 03EC3720 PPC 0318F6A4 nsWindow::UpdateWidget(nsRect&, nsIRenderingContext* )+00284 03EC3660 PPC 0318F6A4 nsWindow::UpdateWidget(nsRect&, nsIRenderingContext* )+00284 03EC35A0 PPC 0318F6A4 nsWindow::UpdateWidget(nsRect&, nsIRenderingContext* )+00284 03EC34E0 PPC 0318F4DC nsWindow::UpdateWidget(nsRect&, nsIRenderingContext* )+000BC 03EC3420 PPC 0318FE40 nsWindow::DispatchWindowEvent(nsGUIEvent&)+00038 03EC33E0 PPC 0318FD30 nsWindow::DispatchEvent(nsGUIEvent*, nsEventStatus& )+000B8 03EC3390 PPC 02A17BD0 HandleEvent(nsGUIEvent*)+00070 03EC3340 PPC 02A1432C nsViewManager::DispatchEvent(nsGUIEvent*, nsEventStatus&)+003E0 03EC3180 PPC 02A115B4 nsViewManager::Refresh(nsIView*, nsIRenderingContext*, const nsRect*, unsigned int)+0021C 03EC30D0 PPC 02A11DA0 nsViewManager::RenderViews(nsIView*, nsIRenderingContext&, const nsRect&, int&)+0062C 03EC2E50 PPC 02A13734 nsViewManager::RenderView(nsIView*, nsIRenderingContext&, const nsRect&, nsRect&, int&)+00108 03EC2DF0 PPC 02A18814 nsView::Paint(nsIRenderingContext&, const nsRect&, unsigned int, int&)+00194 03EC2B30 PPC 02B88E0C PresShell::Paint(nsIView*, nsIRenderingContext&, const nsRect&)+0010C 03EC2AB0 PPC 02B9F838 nsHTMLContainerFrame::Paint(nsIPresContext&, nsIRenderingContext&, const nsRect&, nsFramePaintLayer)+00170 03EC2A30 PPC 02B65DA4 nsContainerFrame::PaintChildren(nsIPresContext&, nsIRenderingContext&, const nsRect&, nsFramePaintLayer)+000E8 03EC29C0 PPC 02B66070 nsContainerFrame::PaintChild(nsIPresContext&, nsIRenderingContext&, const nsRect&, nsIFrame*, nsFramePaintLayer)+001E8 03EC2940 PPC 02B565CC nsAreaFrame::Paint(nsIPresContext&, nsIRenderingContext&, const nsRect&, nsFramePaintLayer)+00048 03EC2700 PPC 02DAB834 nsBlockFrame::Paint(nsIPresContext&, nsIRenderingContext&, const nsRect&, nsFramePaintLayer)+001C4 03EC2670 PPC 02DABB0C nsBlockFrame::PaintChildren(nsIPresContext&, nsIRenderingContext&, const nsRect&, nsFramePaintLayer)+000AC 03EC2610 PPC 02B66070 nsContainerFrame::PaintChild(nsIPresContext&, nsIRenderingContext&, const nsRect&, nsIFrame*, nsFramePaintLayer)+001E8 03EC2590 PPC 02DAB810 nsBlockFrame::Paint(nsIPresContext&, nsIRenderingContext&, const nsRect&, nsFramePaintLayer)+001A0 03EC2500 PPC 02DAB9C0 nsBlockFrame::PaintFloaters(nsIPresContext&, nsIRenderingContext&, const nsRect&)+000D4 03EC24A0 PPC 02B66070 nsContainerFrame::PaintChild(nsIPresContext&, nsIRenderingContext&, const nsRect&, nsIFrame*, nsFramePaintLayer)+001E8 03EC2420 PPC 02C485E0 nsObjectFrame::Paint(nsIPresContext&, nsIRenderingContext&, const nsRect&, nsFramePaintLayer)+00040 03EC23E0 PPC 02C4BBA8 nsPluginInstanceOwner::Paint(const nsRect&)+00038
Whiteboard: reassign to beard? - no fix in hand
Assignee: av → beard
Status: ASSIGNED → NEW
Whiteboard: reassign to beard? - no fix in hand
reassigned to beard
Whiteboard: looking at tonight
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Had inadvertantly turned off the image drawing code on XP_MAC. Turned it back on, and put in some bulletproofing. The fix will be checked in to: mozilla/layout/html/base/src/nsObjectFrame.cpp,1.94
Status: RESOLVED → VERIFIED
Verified: 1999-06-17-08-M7
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.