WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
110631
ScrollingStateTree::rootStateNode() should be null-checked since it can be null
https://bugs.webkit.org/show_bug.cgi?id=110631
Summary
ScrollingStateTree::rootStateNode() should be null-checked since it can be null
Beth Dakin
Reported
2013-02-22 12:48:46 PST
ScrollingStateTree::rootStateNode() can be null when you are navigating between pages. There are two places in the code that don't null-check it, and I believe that those spots are responsible for some non-reproducible crashes that we have reports of. I believe this patch will fix
https://bugs.webkit.org/show_bug.cgi?id=110509
which corresponds to <
rdar://problem/12519348
> and also <
rdar://problem/13233090
>. The offsets in those crashes do appear to be attempts at accessing setShouldUpdateScrollLayerPositionOnMainThread() and children() respectively on a null ScrollingStateNode.
Attachments
Patch
(2.04 KB, patch)
2013-02-22 12:51 PST
,
Beth Dakin
simon.fraser
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Beth Dakin
Comment 1
2013-02-22 12:51:15 PST
Created
attachment 189808
[details]
Patch
Beth Dakin
Comment 2
2013-02-22 13:40:06 PST
Thanks!
http://trac.webkit.org/changeset/143785
Beth Dakin
Comment 3
2013-02-22 13:40:42 PST
***
Bug 110509
has been marked as a duplicate of this bug. ***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug