Closed Bug 1189 Opened 26 years ago Closed 26 years ago

Assert in table code

Categories

(Core :: Layout: Tables, defect, P1)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: troy, Assigned: buster)

References

()

Details

Hitting an assert in the table code. Stack trace: NTDLL! 77f76148() nsDebug::PreCondition(const char * 0x0063372c, const char * 0x00633708, const char * 0x006336d4, int 574) line 75 + 13 bytes nsTableFrame::GetEffectiveColSpan(int 3, nsTableCellFrame * 0x00f40f60) line 574 + 40 bytes BasicTableLayoutStrategy::AssignPreliminaryColumnWidths() line 321 + 34 bytes BasicTableLayoutStrategy::Initialize(nsSize * 0x00000000, int 4) line 139 nsTableFrame::Reflow(nsTableFrame * const 0x00f42124, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 1645 nsContainerFrame::ReflowChild(nsIFrame * 0x00f42120, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 310 + 28 bytes nsTableOuterFrame::IR_InnerTableReflow(nsTableOuterFrame * const 0x00f421d0, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, OuterTableReflowState & {...}, unsigned int & 0) line 532 + 34 bytes nsTableOuterFrame::IR_TargetIsInnerTableFrame(nsTableOuterFrame * const 0x00f421d0, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, OuterTableReflowState & {...}, unsigned int & 0) line 316 + 31 bytes nsTableOuterFrame::IR_TargetIsChild(nsTableOuterFrame * const 0x00f421d0, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, OuterTableReflowState & {...}, unsigned int & 0, nsIFrame * 0x00f42120) line 289 + 31 bytes nsTableOuterFrame::IncrementalReflow(nsTableOuterFrame * const 0x00f421d0, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, OuterTableReflowState & {...}, unsigned int & 0) line 274 + 35 bytes nsTableOuterFrame::Reflow(nsTableOuterFrame * const 0x00f421d4, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 942 + 35 bytes nsInlineReflow::ReflowFrame(nsHTMLReflowMetrics & {...}, unsigned int & 0) line 486 nsInlineReflow::ReflowFrame(nsIFrame * 0x00f421d0) line 268 + 16 bytes nsBlockFrame::ReflowBlockFrame(nsBlockReflowState & {...}, LineData * 0x00f6e050, nsIFrame * 0x00f421d0, unsigned int & 16640) line 2959 + 12 bytes nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, LineData * 0x00f6e050, unsigned int & 16640) line 2615 + 24 bytes nsBlockFrame::ReflowLinesAt(nsBlockReflowState & {...}, LineData * 0x00f6e050) line 2485 + 20 bytes nsBlockFrame::ChildIncrementalReflow(nsBlockReflowState & {...}) line 2449 nsBlockFrame::Reflow(nsBlockFrame * const 0x00ee8934, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 1756 + 18 bytes nsBodyFrame::Reflow(nsBodyFrame * const 0x00ee6514, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 267 nsContainerFrame::ReflowChild(nsIFrame * 0x00ee6510, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 310 + 28 bytes RootContentFrame::Reflow(RootContentFrame * const 0x00ef7894, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 407 nsContainerFrame::ReflowChild(nsIFrame * 0x00ef7890, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 310 + 28 bytes RootFrame::Reflow(RootFrame * const 0x00eff864, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 164 nsHTMLReflowCommand::Dispatch(nsHTMLReflowCommand * const 0x013f83b0, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsSize & {...}, nsIRenderingContext & {...}) line 169 PresShell::ProcessReflowCommands() line 666 PresShell::ExitReflowLock(PresShell * const 0x00edba00) line 416 PresShell::ContentChanged(PresShell * const 0x00edba08, nsIDocument * 0x014155a0, nsIContent * 0x00f04b3c, nsISupports * 0x00000000) line 759 nsDocument::ContentChanged(nsDocument * const 0x014155a0, nsIContent * 0x00f04b3c, nsISupports * 0x00000000) line 522 UpdateImageFrame(nsIPresContext & {...}, nsIFrame * 0x00f43600, int 3) line 411 nsFrameImageLoader::ReflowFrame() line 344 + 29 bytes nsFrameImageLoader::Notify(nsIImageRequest * 0x00f6fb50, nsIImage * 0x00000000, nsImageNotification nsImageNotification_kDimensions, int 100, int 25, void * 0x00000000) line 199 ns_observer_proc(void * 0x00f6f930, long 2, void * 0x0012fd10, void * 0x00f6fb50) line 252 XP_NotifyObservers(OpaqueObserverList * 0x00f6f9c0, long 2, void * 0x0012fd10) line 260 + 28 bytes il_dimensions_notify(il_container_struct * 0x00f6f7c0, int 100, int 25) line 110 + 18 bytes il_size(il_container_struct * 0x00f6f7c0) line 583 + 29 bytes il_gif_write(il_container_struct * 0x00f6f7c0, const unsigned char * 0x0108cef0, long 128) line 1264 + 9 bytes IL_StreamWrite(il_container_struct * 0x00f6f7c0, const unsigned char * 0x0108cef0, long 128) line 791 + 18 bytes NetReaderImpl::Write(const unsigned char * 0x0108cef0, long 128) line 92 + 20 bytes ImageConsumer::OnDataAvailable(ImageConsumer * const 0x00f6f450, nsIURL * 0x00f6f3f0, nsIInputStream * 0x013f9250, int 999) line 237 nsDocumentBindInfo::OnDataAvailable(nsDocumentBindInfo * const 0x00f6f1a0, nsIURL * 0x00f6f3f0, nsIInputStream * 0x013f9250, int 999) line 1384 + 30 bytes OnDataAvailableProxyEvent::HandleEvent(OnDataAvailableProxyEvent * const 0x013fabf0) line 576 StreamListenerProxyEvent::HandlePLEvent(PLEvent * 0x013fabf4) line 421 + 12 bytes PL_HandleEvent(PLEvent * 0x013fabf4) line 395 + 10 bytes PL_ProcessPendingEvents(PLEventQueue * 0x00e76d50) line 357 + 9 bytes _md_EventReceiverProc(HWND__ * 0x0001057a, unsigned int 49396, unsigned int 0, long 15166800) line 675 + 9 bytes USER32! 77e71250() 00e76d50()
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
a minor bug I introduced while coding incremental reflow. I was passing the total column count to the layout strategy initialize method, rather than the resolved effective column count.
Status: RESOLVED → VERIFIED
verified on winnt 4.0 and win 95, build 98113011
You need to log in before you can comment on or make changes to this bug.