Closed Bug 32381 Opened 24 years ago Closed 24 years ago

UMR: nsViewManager2::SetFrameRate()

Categories

(Core :: Web Painting, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: bruce, Assigned: kmcclusk)

Details

Seeing this on the tip today/yesterday.  Don't know if it was present before
that.  Can be triggered by loading sample #1 in viewer on Unix, don't know about
non-Unix platforms.

      UMR: Uninitialized memory read
      This is occurring while in:
            nsViewManager2::SetFrameRate(unsigned int) [nsViewManager2.cpp:380]
                       else
                               rv = NS_OK;
               
            =>         return rv;
               }
               
               NS_IMETHODIMP nsViewManager2::GetWindowDimensions(nscoord *width,
nscoord *height)
            nsViewManager2::RestartTimer() [nsViewManager2.cpp:2433]
            nsViewManager2::UpdateView(nsIView*,const nsRect&,unsigned int)
[nsViewManager2.cpp:1067]
            nsFrame::Invalidate(nsIPresContext*,const nsRect&,int)const
[nsFrame.cpp:1667]
            nsBlockFrame::ReflowLine(nsBlockReflowState&,nsLineBox*,int*,int)
[nsBlockFrame.cpp:2964]
            nsBlockFrame::ReflowDirtyLines(nsBlockReflowState&)
[nsBlockFrame.cpp:2658]
            nsBlockFrame::Reflow(nsIPresContext*,nsHTMLReflowMetrics&,const
nsHTMLReflowState&,unsigned int&) [nsBlockFrame.cpp:1577]
            nsBlockReflowContext::ReflowBlock(nsIFrame*,const
nsRect&,int,int,int,nsMargin&,unsigned int&) [nsBlockReflowContext.cpp:449]
            nsBlockFrame::ReflowBlockFrame(nsBlockReflowState&,nsLineBox*,int*)
[nsBlockFrame.cpp:3538]
            nsBlockFrame::ReflowLine(nsBlockReflowState&,nsLineBox*,int*,int)
[nsBlockFrame.cpp:2851]
            nsBlockFrame::ReflowDirtyLines(nsBlockReflowState&)
[nsBlockFrame.cpp:2658]
            nsBlockFrame::Reflow(nsIPresContext*,nsHTMLReflowMetrics&,const
nsHTMLReflowState&,unsigned int&) [nsBlockFrame.cpp:1577]
            nsAreaFrame::Reflow(nsIPresContext*,nsHTMLReflowMetrics&,const
nsHTMLReflowState&,unsigned int&) [nsAreaFrame.cpp:272]
           
nsContainerFrame::ReflowChild(nsIFrame*,nsIPresContext*,nsHTMLReflowMetrics&,const
nsHTMLReflowState&,int,int,unsigned int,unsigned int&)
[nsContainerFrame.cpp:646]
            RootFrame::Reflow(nsIPresContext*,nsHTMLReflowMetrics&,const
nsHTMLReflowState&,unsigned int&) [nsHTMLFrame.cpp:326]
           
nsContainerFrame::ReflowChild(nsIFrame*,nsIPresContext*,nsHTMLReflowMetrics&,const
nsHTMLReflowState&,int,int,unsigned int,unsigned int&)
[nsContainerFrame.cpp:646]
            nsScrollPortFrame::Reflow(nsIPresContext*,nsHTMLReflowMetrics&,const
nsHTMLReflowState&,unsigned int&) [nsScrollPortFrame.cpp:478]
           
nsContainerFrame::ReflowChild(nsIFrame*,nsIPresContext*,nsHTMLReflowMetrics&,const
nsHTMLReflowState&,int,int,unsigned int,unsigned int&)
[nsContainerFrame.cpp:646]
           
nsGfxScrollFrameInner::ReflowFrame(nsIPresContext*,nsHTMLReflowMetrics&,const
nsHTMLReflowState&,unsigned int&,nsIFrame*,const nsSize&,const
nsSize&,int&,nsIFrame*&) [nsGfxScrollFrame.cpp:1360]
           
nsGfxScrollFrameInner::ReflowScrollArea(nsIPresContext*,nsHTMLReflowMetrics&,const
nsHTMLReflowState&,unsigned int&,nsIFrame*&) [nsGfxScrollFrame.cpp:1425]
            nsGfxScrollFrame::Reflow(nsIPresContext*,nsHTMLReflowMetrics&,const
nsHTMLReflowState&,unsigned int&) [nsGfxScrollFrame.cpp:580]
           
nsContainerFrame::ReflowChild(nsIFrame*,nsIPresContext*,nsHTMLReflowMetrics&,const
nsHTMLReflowState&,int,int,unsigned int,unsigned int&)
[nsContainerFrame.cpp:646]
            ViewportFrame::Reflow(nsIPresContext*,nsHTMLReflowMetrics&,const
nsHTMLReflowState&,unsigned int&) [nsViewportFrame.cpp:530]
           
nsHTMLReflowCommand::Dispatch(nsIPresContext*,nsHTMLReflowMetrics&,const
nsSize&,nsIRenderingContext&) [nsHTMLReflowCommand.cpp:144]
            PresShell::ProcessReflowCommands(int) [nsPresShell.cpp:2052]
            PresShell::ExitReflowLock(int) [nsPresShell.cpp:906]
            PresShell::ContentAppended(nsIDocument*,nsIContent*,int)
[nsPresShell.cpp:2624]
            nsDocument::ContentAppended(nsIContent*,int) [nsDocument.cpp:1593]
            nsHTMLDocument::ContentAppended(nsIContent*,int)
[nsHTMLDocument.cpp:1128]
            HTMLContentSink::NotifyAppend(nsIContent*,int)
[nsHTMLContentSink.cpp:3977]
      Reading 4 bytes from 0xefffbb74 on the stack.
      Address 0xefffbb74 is local variable "rv" in function
nsViewManager2::SetFrameRate(unsigned int).
Fixed in 3/21/2000 build. 
This is a code-level change. The result value is not initialzed when it is 
declared.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Not seeing this anymore. Thanks.
Status: RESOLVED → VERIFIED
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.