Closed Bug 98270 Opened 24 years ago Closed 24 years ago

SetPosition called on null ScrolledView

Categories

(Core :: Web Painting, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.9.5

People

(Reporter: duraid, Assigned: kmcclusk)

Details

(Keywords: crash, Whiteboard: [PDT+] ETA: Ready to check in. Has Review/Super-review checked into trunk. Waiting for approval for the branch)

Attachments

(1 file, 2 obsolete files)

see view/src/nsScrollingView.cpp line 750: quick (mindless) fix is to enclose code thus: if(scrolledView) { /* add this if() */ scrolledView->SetPosition(-mOffsetX, -mOffsetY); Scroll(scrolledview, dx, dy, t2p, 0); NotifyScrollPositionDidChange(offsetX, offsetY); }
This has a patch we need a review/sr
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: patch, review
Added nsbranch keyword
Status: NEW → ASSIGNED
Keywords: nsbranch
Target Milestone: --- → mozilla0.9.5
Attached patch Patch file for the suggested fix (obsolete) — Splinter Review
Attachment #50904 - Attachment is obsolete: true
Attached patch Patch file for the suggested fix (obsolete) — Splinter Review
Attachment #50905 - Attachment is obsolete: true
Marking nsbranch- for now. Unless this prevents a crash on a known page Reporter: Is there a page where Mozilla crashes without this fix?
Keywords: nsbranchnsbranch-
Comment on attachment 50906 [details] [diff] [review] Patch file for the suggested fix r=karnaze
Attachment #50906 - Flags: review+
Comment on attachment 50906 [details] [diff] [review] Patch file for the suggested fix sr=attinasi
Attachment #50906 - Flags: superreview+
Fix checked into the trunk. Marking fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Worth getting on to the branch. Extremely low-risk check for null pointer that may prevent some crashes. Marking nsbranch+.
Status: RESOLVED → REOPENED
Keywords: nsbranch-crash, nsbranch+
Resolution: FIXED → ---
Whiteboard: Has Review/Super-review checked into trunk. Waiting for approval for the branch
Whiteboard: Has Review/Super-review checked into trunk. Waiting for approval for the branch → ETA: Ready to check in. Has Review/Super-review checked into trunk. Waiting for approval for the branch
check it in - PDT+
Whiteboard: ETA: Ready to check in. Has Review/Super-review checked into trunk. Waiting for approval for the branch → [PDT+] ETA: Ready to check in. Has Review/Super-review checked into trunk. Waiting for approval for the branch
Checked into Mozilla0.9.4 branch
Status: REOPENED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
Not sure how I can verify this issue so I'm verifying on branch per last comments.
Keywords: vtrunk
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: