Closed Bug 94898 Opened 24 years ago Closed 23 years ago

page fails to load - infinite loop in nsImageFrame.cpp?

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: saari, Assigned: pavlov)

References

()

Details

(Keywords: hang)

http://www.topgear.beeb.com/homepage/ Just sits and spins trying to load and if you hit stop the page is rendered with way down with a full screen of blank white space above it
Reprodcued on linux , -> imglib for a first look. We end up calling nsHttpHandler::NewURI for what looks like an infinite number of times (for spacer.gif). Stack trace points to nsImageFrame.cpp. I could see this in 0.9.3, so its probably not related to the imglib landing. spacer.gif appears lots of times in the page, but I must have skipped over at least 100 of them before: #0 nsHttpHandler::NewURI (this=0x81de1a8, aSpec=0x431893a8 "http://www.topgear.beeb.com/images/white.gif", aBaseURI=0x0, aURI=0xbfff9640) at nsHttpHandler.cpp:1555 #1 0x40964b8a in nsIOService::NewURI (this=0x81077a0, aSpec=0x431893a8 "http://www.topgear.beeb.com/images/white.gif", aBaseURI=0x42aec708, result=0xbfff9640) at ../../../dist/include/nsCOMPtr.h:649 #2 0x41fc9074 in nsImageFrame::GetRealURI (this=0x43157840, aSpec=@0xbfff9780, aURI=0xbfff9640) at ../../../../dist/include/nsNetUtil.h:80 #3 0x41e0953a in nsImageFrame::LoadImage (this=0x43157840, aSpec=@0xbfff9780, aPresContext=0x87137c0, aRequest=0x43157874) at ../../../../dist/include/nsCOMPtr.h:1053 #4 0x41e04796 in nsImageFrame::Init (this=0x43157840, aPresContext=0x87137c0, aContent=0x42acdc90, aParent=0x4316c848, aContext=0x43158094, aPrevInFlow=0x0) at ../../../../dist/include/nsCOMPtr.h:1053 #5 0x41ec42d7 in nsCSSFrameConstructor::InitAndRestoreFrame (this=0x42a7eb50, aPresContext=0x87137c0, aState=@0xbfffcd40, aContent=0x42acdc90, aParentFrame=0x4316c848, aStyleContext=0x43158094, aPrevInFlow=0x0, aNewFrame=0x43157840) at nsCSSFrameConstructor.cpp:6799 #6 0x41ebfba8 in nsCSSFrameConstructor::ConstructFrameByTag (this=0x42a7eb50, aPresShell=0x42adef70, aPresContext=0x87137c0, aState=@0xbfffcd40, aContent=0x42acdc90, aParentFrame=0x4316c848, aTag=0x81a1158, and then gdb crashed.
Assignee: asa → pavlov
Component: Browser-General → ImageLib
Keywords: hang
OS: Windows 2000 → All
QA Contact: doronr → tpreston
Hardware: PC → All
Summary: page fails to load → page fails to load - infinite loop in nsImageFrame.cpp?
Target Milestone: --- → Future
WFM: Mozilla 1.0rc1 {Build ID: 2002041711} Debian Linux 2.4.17 kernel
Component: ImageLib → Image: Layout
WFM on BuildID 2002080508 on WinXP marking as such, reopen if it's still happening
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.