Closed Bug 4255 Opened 26 years ago Closed 26 years ago

UMR: TextFrame::PaintAsciiText() and into GTK land

Categories

(Core :: DOM: Selection, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: bruce, Assigned: mjudge)

References

()

Details

(Whiteboard: waiting for reporter/developer to verify)

Drag in the PRE area on the given URL. This happens after the bugs previously reported that are similar to this one. #3702 and #4254. Build from March 23, 1999. UMR: Uninitialized memory read (106 times): * This is occurring while in: XTextWidth [TextExt.c] gdk_text_width [gdkfont.c:265] nsRenderingContextGTK::GetWidth(const char*,unsigned int,int&) [nsRender ingContextGTK.cpp:872] TextFrame::PaintAsciiText(nsIPresContext&,nsIRenderingContext&,nsIStyleC ontext*,TextFrame::TextStyle&,int,int) [nsTextFrame.cpp:1524] TextFrame::Paint(nsIPresContext&,nsIRenderingContext&,const nsRect&,nsFr amePaintLayer) [nsTextFrame.cpp:544] nsContainerFrame::PaintChild(nsIPresContext&,nsIRenderingContext&,const nsRect&,nsIFrame*,nsFramePaintLayer) [nsContainerFrame.cpp:276] * Reading 1 byte from 0xefffd702 on the stack. * Address 0xefffd702 is 1970 bytes past start of local variable "rawPaintBufMe m" in function TextFrame::PaintAsciiText(nsIPresContext&,nsIRenderingContext&,ns IStyleContext*,TextFrame::TextStyle&,int,int).
fyi, this behavior results in a crash on Linux builds (3/24) and poor highlighting/displaying garbage text on NT and Mac.....
Status: NEW → ASSIGNED
*** Bug 4146 has been marked as a duplicate of this bug. ***
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
this works now no crashing only pleasant selecting. minus the flickering :)
Whiteboard: waiting for reporter/developer to verify
Status: RESOLVED → VERIFIED
no more UMR.
Per a request from Selection and Search component eng (mjudge) and qa (elig), moving all "Selection and Search" bugs to new "Selection" component. Original "Selection and Search" component will be retired.
You need to log in before you can comment on or make changes to this bug.