Closed
Bug 66793
Opened 24 years ago
Closed 23 years ago
UMR in nsTextFrame::GetContentAndOffsetsFromPoint(nsIPresContext *,nsPoint const&,nsIContent * *,int&,int&,int&)
Categories
(Core :: Layout, defect, P3)
Tracking
()
VERIFIED
FIXED
mozilla0.9
People
(Reporter: bratell, Assigned: mjudge)
References
()
Details
(Whiteboard: FIXINHAND)
I ran Mozilla in Purify and among many other things I got a UMR in nsTextFrame::GetContentAndOffsetsFromPoint(...) at line 2846 in nsTextFrame.cpp. The line goes: => if (aContentOffset == mContentOffset) Which I interpret as the member variable mContentOffset isn't initialized.
Reporter | ||
Comment 1•24 years ago
|
||
The function is called with if (aContentOffset == mContentOffset) result = resultFrame->GetContentAndOffsetsFromPoint(context,point, getter_AddRefs(aPos->mResultContent), aPos->mContentOffset, aPos->mContentOffsetEnd, aPos->mPreferLeft); so both involved variables are mContentOffsets.
The function is now at line 3048. Could you provide a stack trace.
Reporter | ||
Comment 3•24 years ago
|
||
The stack trace (the top since Purify doesn't save the complete stack and I hadn't changed the default depth to save): nsTextFrame::GetContentAndOffsetsFromPoint(nsIPresContext *,nsPoint const&,nsIContent * *,int&,int&,int&) [nsTextFrame.cpp:2846] nsFrame::GetNextPrevLineFromeBlockFrame(nsIPresContext *,nsPeekOffsetStruct *,nsIFrame *,int,signed char) [nsFrame.cpp:2774] nsBlockFrame::HandleEvent(nsIPresContext *,nsGUIEvent *,nsEventStatus *) [nsBlockFrame.cpp:6561] PresShell::HandleEventInternal(nsEvent *,nsIView *,UINT,nsEventStatus *) [nsPresShell.cpp:4929] PresShell::HandleEvent(nsIView *,nsGUIEvent *,nsEventStatus *,int,int&) [nsPresShell.cpp:4849] nsView::HandleEvent(nsGUIEvent *,UINT,nsEventStatus *,int,int&) [nsView.cpp:366] nsViewManager2::DispatchEvent(nsGUIEvent *,nsEventStatus *) [nsViewManager2.cpp:1518] HandleEvent [nsView.cpp:67] nsWindow::DispatchEvent(nsGUIEvent *,nsEventStatus&) [nsWindow.obj:687] nsWindow::DispatchMouseEvent(UINT,nsPoint *) [nsWindow.cpp:3948]
The code around the call in nsFrame.cpp has been modified by mjudge. Reassigning to him.
Assignee: karnaze → mjudge
okfixed this one patch 66793UMR.dif need SR
Status: NEW → ASSIGNED
Whiteboard: FIXINHAND
Comment 8•23 years ago
|
||
I had previously requested the diff from mjudge - I still need it to review :) and I have no idea where to find 66793UMR.dif
where the heck did the attachment go... attaching it again. there must be some bug out there with the wrong patch on it.
Assignee | ||
Comment 10•23 years ago
|
||
foung the patch http://bugzilla.mozilla.org/showattachment.cgi?attach_id=28400 stuck it on wrong bug. can you look at it there?
Comment 11•23 years ago
|
||
cool - sr=attinasi
Assignee | ||
Comment 12•23 years ago
|
||
committed
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•