Closed
Bug 4625
Opened 26 years ago
Closed 26 years ago
UMR: PickASizeAndLoad()
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
VERIFIED
FIXED
M4
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]
Updated•26 years ago
|
Assignee: pavlov → erik
reassign to erik@netscape.com
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•26 years ago
|
||
Came up with a fix for this. Need to test, and then check in.
Assignee | ||
Updated•26 years ago
|
Target Milestone: M4
Updated•26 years ago
|
Whiteboard: Came up with a fix for this. Need to test, and then check in
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Comment 3•26 years ago
|
||
erik ask me to mark it as fixed for him. he just check in the fix.
Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 4•26 years ago
|
||
Fixed! Thanks.
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.
Description
•