Bug 272026 - AX: Assert crash in AXIsolatedObject::attributedStringForTextMarkerRange.
Summary: AX: Assert crash in AXIsolatedObject::attributedStringForTextMarkerRange.
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: 2024-04-02 06:37 PDT by Andres Gonzalez
Modified: 2024-04-02 14:30 PDT (History)
10 users (show)

See Also:


Attachments
Patch (8.79 KB, patch)
2024-04-02 06:49 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 2024-04-02 06:37:58 PDT
* thread #14, name = 'com.apple.accessibility.secondary', stop reason = EXC_BAD_ACCESS (code=1, address=0x4651000187ff2bd4)
  * frame #0: 0x0000000329d3b0f4 WebCore`WTFCrashWithInfo(line=218, file="/Users/ag/s/web/OpenSource/Source/WebCore/accessibility/AXObjectCache.cpp", function="static bool WebCore::AXObjectCache::accessibilityEnabled()", counter=3949) at Assertions.h:851:5
    frame #1: 0x00000003299ceee8 WebCore`WebCore::AXObjectCache::accessibilityEnabled() at AXObjectCache.cpp:218:5
    frame #2: 0x0000000327215548 WebCore`WebCore::AXObjectCache::shouldSpellCheck() at AXObjectCacheMac.mm:812:10
    frame #3: 0x00000003272150f4 WebCore`WebCore::AXIsolatedObject::attributedStringForTextMarkerRange(this=0x0000000156089260, markerRange=0x000000016b3c6a58, spellCheck=Yes) const at AXIsolatedObjectMac.mm:260:16
    frame #4: 0x0000000327214dc8 WebCore`WebCore::AXIsolatedObject::attributedStringForTextMarkerRange(this=0x0000000156013d80, markerRange=0x000000016b3c6a58, spellCheck=Yes) const at AXIsolatedObjectMac.mm:227:28
    frame #5: 0x000000032d0f9bc8 WebCore`-[WebAccessibilityObjectWrapper attributedStringForTextMarkerRange:spellCheck:](self=0x0000000158821630, _cmd="attributedStringForTextMarkerRange:spellCheck:", textMarkerRangeRef=0x0000000158855270, spellCheck=Yes) at WebAccessibilityObjectWrapperMac.mm:770:29
    frame #6: 0x000000032d113010 WebCore`-[WebAccessibilityObjectWrapper accessibilityAttributeValue:forParameter:](self=0x0000000158821630, _cmd="accessibilityAttributeValue:forParameter:", attribute="AXAttributedStringForTextMarkerRange", parameter=0x0000000158855270) at WebAccessibilityObjectWrapperMac.mm:3564:16
...
Comment 1 Radar WebKit Bug Importer 2024-04-02 06:38:07 PDT
<rdar://problem/125779941>
Comment 2 Andres Gonzalez 2024-04-02 06:49:45 PDT
Created attachment 470720 [details]
Patch
Comment 3 EWS 2024-04-02 14:30:57 PDT
Committed 276968@main (3bd815f263d2): <https://commits.webkit.org/276968@main>

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