Closed Bug 4624 Opened 26 years ago Closed 26 years ago

UMR: GetFontNames()

Categories

(Core :: Layout: Form Controls, defect, P3)

Sun
Solaris
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: bruce, Assigned: erik)

Details

(Whiteboard: [vendor])

Solaris 2.6, gcc 2.7.2.3, purify. current build from March 6, 1999, near midnight. This may be leading up to my crash which happens after another font UMR that I'm about to report. **** Purify instrumented ./apprunner.pure (pid 27193) **** UMR: Uninitialized memory read: * This is occurring while in: XListFonts [FontNames.c] GetFontNames(char*) [nsFontMetricsGTK.cpp:1792] nsFontMetricsGTK::FindFont(unsigned short) [nsFontMetricsGTK.cpp:2084] nsFontMetricsGTK::Init(const nsFont&,nsIDeviceContext*) [nsFontMetricsGTK.cpp:153] nsFontCache::GetMetricsFor(const nsFont&,nsIFontMetrics*&) [nsDeviceContext.cpp:669] DeviceContextImpl::GetMetricsFor(const nsFont&,nsIFontMetrics*&) [nsDeviceContext.cpp:244] nsRenderingContextGTK::SetFont(const nsFont&) [nsRenderingContextGTK.cpp:493] nsLineLayout::VerticalAlignFrames(nsLineLayout::PerSpanData*) [nsLineLayout.cpp:1476] nsLineLayout::VerticalAlignFrames(nsRect&,nsSize&) [nsLineLayout.cpp:1258] nsBlockFrame::PlaceLine(nsBlockReflowState&,nsLineBox*,int*) [nsBlockFrame.cpp:3155] nsBlockFrame::ReflowInlineFrames(nsBlockReflowState&,nsLineBox*,int*) [nsBlockFrame.cpp:2826] nsBlockFrame::ReflowLine(nsBlockReflowState&,nsLineBox*,int*) [nsBlockFrame.cpp:1964] nsBlockFrame::ReflowDirtyLines(nsBlockReflowState&) [nsBlockFrame.cpp:1769] nsBlockFrame::Reflow(nsIPresContext&,nsHTMLReflowMetrics&,const nsHTMLReflowState&,unsigned int&) [nsBlockFrame.cpp:1206] nsAreaFrame::Reflow(nsIPresContext&,nsHTMLReflowMetrics&,const nsHTMLReflowState&,unsigned int&) [nsAreaFrame.cpp:465] nsContainerFrame::ReflowChild(nsIFrame*,nsIPresContext&,nsHTMLReflowMetrics&,con st nsHTMLReflowState&,unsigned int&) [nsContainerFrame.cpp:388] RootFrame::Reflow(nsIPresContext&,nsHTMLReflowMetrics&,const nsHTMLReflowState&,unsigned int&) [nsHTMLFrame.cpp:231] nsContainerFrame::ReflowChild(nsIFrame*,nsIPresContext&,nsHTMLReflowMetrics&,con st nsHTMLReflowState&,unsigned int&) [nsContainerFrame.cpp:388] ViewportFrame::Reflow(nsIPresContext&,nsHTMLReflowMetrics&,const nsHTMLReflowState&,unsigned int&) [nsViewportFrame.cpp:432] PresShell::InitialReflow(int,int) [nsPresShell.cpp:897] HTMLContentSink::StartLayout() [nsHTMLContentSink.cpp:2043] HTMLContentSink::CloseFrameset(const nsIParserNode&) [nsHTMLContentSink.cpp:1894] CNavDTD::CloseFrameset(const nsIParserNode&) [CNavDTD.cpp:2212] CNavDTD::CloseContainer(const nsIParserNode&,nsHTMLTag,int) [CNavDTD.cpp:2347] CNavDTD::CloseContainersTo(int,nsHTMLTag,int) [CNavDTD.cpp:2383] CNavDTD::CloseContainersTo(nsHTMLTag,int) [CNavDTD.cpp:2404] CNavDTD::HandleEndToken(CToken*) [CNavDTD.cpp:1336] NavDispatchTokenHandler(CToken*,nsIDTD*) [CNavDTD.cpp:245] CTokenHandler::operator ()(CToken*,nsIDTD*) [nsTokenHandler.cpp:80] CNavDTD::HandleToken(CToken*,nsIParser*) [CNavDTD.cpp:633] * Reading 1 byte from 0xb49f10 in the heap. * Address 0xb49f10 is 1576 bytes into a malloc'd block at 0xb498e8 of 1577 bytes. * This block was allocated from: malloc [rtlib.o] XListFonts [FontNames.c] GetFontNames(char*) [nsFontMetricsGTK.cpp:1792] nsFontMetricsGTK::FindFont(unsigned short) [nsFontMetricsGTK.cpp:2084] nsFontMetricsGTK::Init(const nsFont&,nsIDeviceContext*) [nsFontMetricsGTK.cpp:153] nsFontCache::GetMetricsFor(const nsFont&,nsIFontMetrics*&) [nsDeviceContext.cpp:669] DeviceContextImpl::GetMetricsFor(const nsFont&,nsIFontMetrics*&) [nsDeviceContext.cpp:244] nsRenderingContextGTK::SetFont(const nsFont&) [nsRenderingContextGTK.cpp:493] nsLineLayout::VerticalAlignFrames(nsLineLayout::PerSpanData*) [nsLineLayout.cpp:1476] nsLineLayout::VerticalAlignFrames(nsRect&,nsSize&) [nsLineLayout.cpp:1258] nsBlockFrame::PlaceLine(nsBlockReflowState&,nsLineBox*,int*) [nsBlockFrame.cpp:3155] nsBlockFrame::ReflowInlineFrames(nsBlockReflowState&,nsLineBox*,int*) [nsBlockFrame.cpp:2826] nsBlockFrame::ReflowLine(nsBlockReflowState&,nsLineBox*,int*) [nsBlockFrame.cpp:1964] nsBlockFrame::ReflowDirtyLines(nsBlockReflowState&) [nsBlockFrame.cpp:1769] nsBlockFrame::Reflow(nsIPresContext&,nsHTMLReflowMetrics&,const nsHTMLReflowState&,unsigned int&) [nsBlockFrame.cpp:1206] nsAreaFrame::Reflow(nsIPresContext&,nsHTMLReflowMetrics&,const nsHTMLReflowState&,unsigned int&) [nsAreaFrame.cpp:465] nsContainerFrame::ReflowChild(nsIFrame*,nsIPresContext&,nsHTMLReflowMetrics&,con st nsHTMLReflowState&,unsigned int&) [nsContainerFrame.cpp:388] RootFrame::Reflow(nsIPresContext&,nsHTMLReflowMetrics&,const nsHTMLReflowState&,unsigned int&) [nsHTMLFrame.cpp:231] nsContainerFrame::ReflowChild(nsIFrame*,nsIPresContext&,nsHTMLReflowMetrics&,con st nsHTMLReflowState&,unsigned int&) [nsContainerFrame.cpp:388] ViewportFrame::Reflow(nsIPresContext&,nsHTMLReflowMetrics&,const nsHTMLReflowState&,unsigned int&) [nsViewportFrame.cpp:432] PresShell::InitialReflow(int,int) [nsPresShell.cpp:897] HTMLContentSink::StartLayout() [nsHTMLContentSink.cpp:2043] HTMLContentSink::CloseFrameset(const nsIParserNode&) [nsHTMLContentSink.cpp:1894] CNavDTD::CloseFrameset(const nsIParserNode&) [CNavDTD.cpp:2212] CNavDTD::CloseContainer(const nsIParserNode&,nsHTMLTag,int) [CNavDTD.cpp:2347] CNavDTD::CloseContainersTo(int,nsHTMLTag,int) [CNavDTD.cpp:2383] CNavDTD::CloseContainersTo(nsHTMLTag,int) [CNavDTD.cpp:2404] CNavDTD::HandleEndToken(CToken*) [CNavDTD.cpp:1336] NavDispatchTokenHandler(CToken*,nsIDTD*) [CNavDTD.cpp:245] CTokenHandler::operator ()(CToken*,nsIDTD*) [nsTokenHandler.cpp:80]
Assignee: pavlov → erik
reassign to erik@netscape.com
Status: NEW → ASSIGNED
Target Milestone: M5
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
I believe this is a bug in Solaris (XListFonts). Marking INVALID.
Status: RESOLVED → VERIFIED
Whiteboard: [vendor]
Moving all Widget Set bugs, past and present, to new HTML Form Controls component per request from karnaze. Widget Set component will be retired shortly.
You need to log in before you can comment on or make changes to this bug.