Closed Bug 75190 Opened 24 years ago Closed 23 years ago

crash if <input type="image"> with bad src=

Categories

(Core :: Graphics: ImageLib, defect)

x86
Windows 2000
defect
Not set
critical

Tracking

()

VERIFIED FIXED

People

(Reporter: waterson, Assigned: pavlov)

Details

(Keywords: crash, regression, Whiteboard: [imagelib])

Attachments

(1 file)

If /a/lycos/ly25x25.gif doesn't exist in your filesystem, then loading this from a ``file:'' URL will crash: <html><body> <form> <input type="image" src="/a/lycos/ly25x25.gif"> </form> </body></html> here: nsImageFrame::Paint(nsImageFrame * const 0x00cb9b00, nsIPresContext * 0x02845b90, nsIRenderingContext & {...}, const nsRect & {x=0 y=0 width=15 height=15}, nsFramePaintLayer eFramePaintLayer_Underlay) line 980 + 53 bytes PresShell::Paint(PresShell * const 0x028793b4, nsIView * 0x028bdef0, nsIRenderingContext & {...}, const nsRect & {x=0 y=0 width=15 height=15}) line 4855 + 34 bytes nsView::Paint(nsView * const 0x028bdef0, nsIRenderingContext & {...}, const nsRect & {x=0 y=0 width=15 height=15}, unsigned int 128, int & 2458293) line 277 nsViewManager::RenderDisplayListElement(DisplayListElement2 * 0x028bfce0, nsIRenderingContext & {...}) line 1394 nsViewManager::RenderViews(nsIView * 0x028b8c40, nsIRenderingContext & {...}, const nsRect & {x=0 y=0 width=9180 height=4470}, int & 0) line 1319 nsViewManager::Refresh(nsIView * 0x028b8c40, nsIRenderingContext * 0x028be320, const nsRect * 0x0012f8b4 {x=0 y=0 width=9180 height=4470}, unsigned int 1) line 885 nsViewManager::DispatchEvent(nsViewManager * const 0x02846ba0, nsGUIEvent * 0x0012f9f4, nsEventStatus * 0x0012f8f8) line 1909 HandleEvent(nsGUIEvent * 0x0012f9f4) line 68 nsWindow::DispatchEvent(nsWindow * const 0x028b8344, nsGUIEvent * 0x0012f9f4, nsEventStatus & nsEventStatus_eIgnore) line 695 + 10 bytes nsWindow::DispatchWindowEvent(nsGUIEvent * 0x0012f9f4, nsEventStatus & nsEventStatus_eIgnore) line 721 nsWindow::OnPaint() line 3825 + 28 bytes nsWindow::ProcessMessage(unsigned int 15, unsigned int 0, long 0, long * 0x0012fdd4) line 2832 + 17 bytes nsWindow::WindowProc(HWND__ * 0x001505cc, unsigned int 15, unsigned int 0, long 0) line 950 + 27 bytes USER32! 77e13eb0() USER32! 77e1591b() USER32! 77e1595d() NTDLL! 77f9fb83() USER32! 77e192da() main(int 2, char * * 0x006358e0) line 157 + 11 bytes mainCRTStartup() line 338 + 17 bytes KERNEL32! 77e87903() Because mImageRequest == 0.
This makes it so that one of the block layout regression tests doesn't run.
Hmm, works for me W2K 2001040904
Depends on: 6074
I think this is still happening on 04/12 build (win2k), although I can't get to talkback at the moment it did crash with the testcase. Adding [imagelib] keyword to status.
Whiteboard: [imagelib]
No longer depends on: 6074
fixed
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Verified fixed w2k 2001081003
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: