Bug 199061 - REGRESSION(r245912): Crash in TextIterator::range via visiblePositionForIndexUsingCharacterIterator
Summary: REGRESSION(r245912): Crash in TextIterator::range via visiblePositionForIndex...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2019-06-20 00:01 PDT by Ryosuke Niwa
Modified: 2019-07-04 01:58 PDT (History)
5 users (show)

See Also:


Attachments
Fixes the bug (1.44 KB, patch)
2019-06-20 00:07 PDT, Ryosuke Niwa
wenson_hsieh: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2019-06-20 00:01:49 PDT
e.g.
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.WebCore             	0x00007fff488112cd WebCore::TextIterator::range() const + 61
1   com.apple.WebCore             	0x00007fff488110ec WebCore::CharacterIterator::range() const + 28
2   com.apple.WebCore             	0x00007fff49a2cb6a WebCore::visiblePositionForIndexUsingCharacterIterator(WebCore::Node&, int) + 2090
3   com.apple.WebCore             	0x00007fff4967a49e WebCore::AccessibilityRenderObject::visiblePositionForIndex(int) const + 174
4   com.apple.WebCore             	0x00007fff49647d93 WebCore::AXObjectCache::characterOffsetForIndex(int, WebCore::AccessibilityObject const*) + 67
5   com.apple.WebCore             	0x00007fff4966a11f WebCore::AccessibilityObject::rangeForPlainTextRange(WebCore::PlainTextRange const&) const + 191

<rdar://problem/51765259>
Comment 1 Ryosuke Niwa 2019-06-20 00:07:54 PDT
Created attachment 372543 [details]
Fixes the bug
Comment 2 chris fleizach 2019-06-20 00:12:29 PDT
(In reply to Ryosuke Niwa from comment #1)
> Created attachment 372543 [details]
> Fixes the bug

Thanks for handling this Ryosuke.
Comment 3 Ryosuke Niwa 2019-06-20 14:42:52 PDT
Committed r246653: <https://trac.webkit.org/changeset/246653>