Closed Bug 4625 Opened 26 years ago Closed 26 years ago

UMR: PickASizeAndLoad()

Categories

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

Sun
Solaris
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: bruce, Assigned: erik)

Details

(Whiteboard: Came up with a fix for this. Need to test, and then check in)

Solaris 2.6, gcc 2.7.2.3, purify. pull/build from midnight, March 6, 1999. possibly related to bug #4624 and related to yet another one that precedes a crash at startup for both apprunner and viewer. **** Purify instrumented ./apprunner.pure (pid 27193) **** UMR: Uninitialized memory read (4 times): * This is occurring while in: PickASizeAndLoad(nsFontSearch*,nsFontStretch*,nsFontCharSet*) [nsFontMetricsGTK.cpp:1429] TryCharSet(nsFontSearch*,nsFontCharSet*) [nsFontMetricsGTK.cpp:1731] SearchCharSet(PLHashEntry*,int,void*) [nsFontMetricsGTK.cpp:1754] PL_HashTableEnumerateEntries [plhash.c:368] TryFamily(nsFontSearch*,nsFontFamily*) [nsFontMetricsGTK.cpp:1768] SearchFamily(PLHashEntry*,int,void*) [nsFontMetricsGTK.cpp:1777] PL_HashTableEnumerateEntries [plhash.c:368] nsFontMetricsGTK::FindFont(unsigned short) [nsFontMetricsGTK.cpp:2116] nsFontMetricsGTK::Init(const nsFont&,nsIDeviceContext*) [nsFontMetricsGTK.cpp:153] nsFontCache::GetMetricsFor(const nsFont&,nsIFontMetrics*&) [nsDeviceContext.cpp:669] DeviceContextImpl::GetMetricsFor(const nsFont&,nsIFontMetrics*&) [nsDeviceContext.cpp:244] nsPresContext::GetMetricsFor(const nsFont&,nsIFontMetrics**) [nsPresContext.cpp:457] TextFrame::TextStyle::TextFrame::TextStyle(nsIPresContext&,nsIRenderingContext&, nsIStyleContext*) [nsTextFrame.cpp:204] TextFrame::Reflow(nsIPresContext&,nsHTMLReflowMetrics&,const nsHTMLReflowState&,unsigned int&) [nsTextFrame.cpp:2200] nsLineLayout::ReflowFrame(nsIFrame*,nsIFrame**,unsigned int&) [nsLineLayout.cpp:836] nsBlockFrame::ReflowInlineFrame(nsBlockReflowState&,nsLineBox*,nsIFrame*,unsigne d char*) [nsBlockFrame.cpp:2860] nsBlockFrame::ReflowInlineFrames(nsBlockReflowState&,nsLineBox*,int*) [nsBlockFrame.cpp:2742] 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] nsBlockReflowContext::ReflowBlock(nsIFrame*,const nsRect&,int,int,int,nsMargin&,unsigned int&) [nsBlockReflowContext.cpp:225] nsBlockFrame::ReflowBlockFrame(nsBlockReflowState&,nsLineBox*,int*) [nsBlockFrame.cpp:2527] nsBlockFrame::ReflowLine(nsBlockReflowState&,nsLineBox*,int*) [nsBlockFrame.cpp:1961] nsBlockFrame::ReflowDirtyLines(nsBlockReflowState&) [nsBlockFrame.cpp:1769] nsBlockFrame::Reflow(nsIPresContext&,nsHTMLReflowMetrics&,const nsHTMLReflowState&,unsigned int&) [nsBlockFrame.cpp:1206] nsBlockReflowContext::ReflowBlock(nsIFrame*,const nsRect&,int,int,int,nsMargin&,unsigned int&) [nsBlockReflowContext.cpp:225] nsBlockFrame::ReflowBlockFrame(nsBlockReflowState&,nsLineBox*,int*) [nsBlockFrame.cpp:2527] nsBlockFrame::ReflowLine(nsBlockReflowState&,nsLineBox*,int*) [nsBlockFrame.cpp:1961] nsBlockFrame::ReflowDirtyLines(nsBlockReflowState&) [nsBlockFrame.cpp:1769] nsBlockFrame::Reflow(nsIPresContext&,nsHTMLReflowMetrics&,const nsHTMLReflowState&,unsigned int&) [nsBlockFrame.cpp:1206] * Reading 4 bytes from 0xe8fb10 in the heap. * Address 0xe8fb10 is at the beginning of a malloc'd block of 48 bytes. * This block was allocated from: malloc [rtlib.o] __bUiLtIn_nEw [libgcc.a] __builtin_new [rtlib.o] __bUiLtIn_vEc_nEw [libgcc.a] __builtin_vec_new [rtlib.o] PickASizeAndLoad(nsFontSearch*,nsFontStretch*,nsFontCharSet*) [nsFontMetricsGTK.cpp:1407] TryCharSet(nsFontSearch*,nsFontCharSet*) [nsFontMetricsGTK.cpp:1731] SearchCharSet(PLHashEntry*,int,void*) [nsFontMetricsGTK.cpp:1754] PL_HashTableEnumerateEntries [plhash.c:368] TryFamily(nsFontSearch*,nsFontFamily*) [nsFontMetricsGTK.cpp:1768] SearchFamily(PLHashEntry*,int,void*) [nsFontMetricsGTK.cpp:1777] PL_HashTableEnumerateEntries [plhash.c:368] nsFontMetricsGTK::FindFont(unsigned short) [nsFontMetricsGTK.cpp:2116] nsFontMetricsGTK::Init(const nsFont&,nsIDeviceContext*) [nsFontMetricsGTK.cpp:153] nsFontCache::GetMetricsFor(const nsFont&,nsIFontMetrics*&) [nsDeviceContext.cpp:669] DeviceContextImpl::GetMetricsFor(const nsFont&,nsIFontMetrics*&) [nsDeviceContext.cpp:244] nsPresContext::GetMetricsFor(const nsFont&,nsIFontMetrics**) [nsPresContext.cpp:457] TextFrame::TextStyle::TextFrame::TextStyle(nsIPresContext&,nsIRenderingContext&, nsIStyleContext*) [nsTextFrame.cpp:204] TextFrame::Reflow(nsIPresContext&,nsHTMLReflowMetrics&,const nsHTMLReflowState&,unsigned int&) [nsTextFrame.cpp:2200] nsLineLayout::ReflowFrame(nsIFrame*,nsIFrame**,unsigned int&) [nsLineLayout.cpp:836] nsBlockFrame::ReflowInlineFrame(nsBlockReflowState&,nsLineBox*,nsIFrame*,unsigne d char*) [nsBlockFrame.cpp:2860] nsBlockFrame::ReflowInlineFrames(nsBlockReflowState&,nsLineBox*,int*) [nsBlockFrame.cpp:2742] 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] nsBlockReflowContext::ReflowBlock(nsIFrame*,const nsRect&,int,int,int,nsMargin&,unsigned int&) [nsBlockReflowContext.cpp:225] nsBlockFrame::ReflowBlockFrame(nsBlockReflowState&,nsLineBox*,int*) [nsBlockFrame.cpp:2527] nsBlockFrame::ReflowLine(nsBlockReflowState&,nsLineBox*,int*) [nsBlockFrame.cpp:1961] nsBlockFrame::ReflowDirtyLines(nsBlockReflowState&) [nsBlockFrame.cpp:1769] nsBlockFrame::Reflow(nsIPresContext&,nsHTMLReflowMetrics&,const nsHTMLReflowState&,unsigned int&) [nsBlockFrame.cpp:1206]
Assignee: pavlov → erik
reassign to erik@netscape.com
Status: NEW → ASSIGNED
Came up with a fix for this. Need to test, and then check in.
Target Milestone: M4
Whiteboard: Came up with a fix for this. Need to test, and then check in
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
erik ask me to mark it as fixed for him. he just check in the fix.
Status: RESOLVED → VERIFIED
Fixed! Thanks.
*** Bug 4858 has been marked as a duplicate of this bug. ***
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.