Bug 259512 - AX: Crash in AXTextMarkerRange constructor when passed a null AXTextMarkerRangeRef.
Summary: AX: Crash in AXTextMarkerRange constructor when passed a null AXTextMarkerRan...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Andres Gonzalez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-25 17:18 PDT by Andres Gonzalez
Modified: 2023-07-26 07:31 PDT (History)
10 users (show)

See Also:


Attachments
Patch (2.98 KB, patch)
2023-07-25 17:52 PDT, Andres Gonzalez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andres Gonzalez 2023-07-25 17:18:56 PDT
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BREAKPOINT (code=1, subcode=0x1889503d0)
  * frame #0: 0x00000001889503d0 CoreFoundation`CFRelease.cold.1 + 16
    frame #1: 0x00000001887745cc CoreFoundation`CFRelease + 132
    frame #2: 0x000000028095486c WebCore`WebCore::AXTextMarkerRange::AXTextMarkerRange(this=0x000000016fa97650, textMarkerRangeRef=0x0000000000000000) at AXTextMarkerCocoa.mm:81:5
    frame #3: 0x00000002809548dc WebCore`WebCore::AXTextMarkerRange::AXTextMarkerRange(this=0x000000016fa97650, textMarkerRangeRef=0x0000000000000000) at AXTextMarkerCocoa.mm:72:1
    frame #4: 0x0000000286020cc4 WebCore`-[WebAccessibilityObjectWrapper _accessibilitySetValue:forAttribute:]::$_49::operator(this=0x0000000110252a68)() const at WebAccessibilityObjectWrapperMac.mm:2713:64
...
Comment 1 Radar WebKit Bug Importer 2023-07-25 17:19:06 PDT
<rdar://problem/112870208>
Comment 2 Andres Gonzalez 2023-07-25 17:52:25 PDT
Created attachment 467120 [details]
Patch
Comment 3 EWS 2023-07-26 07:31:15 PDT
Committed 266313@main (c556dfa7678b): <https://commits.webkit.org/266313@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 467120 [details].