Closed Bug 2066575 Opened 2 months ago Closed 2 months ago

macOS a11y crash in mozTableAccessible::isLayoutTablePart when querying ARIA grid role

Categories

(Core :: Disability Access APIs, defect)

x86_64
macOS
defect

Tracking

()

RESOLVED FIXED
157 Branch
Tracking Status
firefox-esr115 --- wontfix
firefox-esr140 --- wontfix
firefox-esr153 157+ fixed
firefox156 --- fixed
firefox157 --- fixed

People

(Reporter: klamping, Assigned: morgan)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

Attachments

(1 file, 6 external files)

Attached file macOS Crash Report —

Thunderbird Daily/Beta crashes on macOS when an accessibility client queries an ARIA grid exposed in the Calendar day/week view.

This is not specific to one accessibility client. It reproduced with both Magnet and VoiceOver. The same primary crash logs appear in both reports.

More Thunderbird specific information available in Bug 2066550.

Environment

  • Thunderbird Beta 155.0b3 (aarch64)
  • macOS 26.6.2 (25G83)
  • Apple Silicon ARM64

Steps to reproduce

  1. Enable/run a macOS accessibility client (e.g,. Magnet or VoiceOver)
  2. Start Thunderbird in the inbox view.
  3. Open the Calendar tab.
    4a. If Magnet is running, crash will occur within a few seconds
    4b. If VoiceOver is used, you need to tab focus into the main calendar, which should immediately crash the program

Actual Result

Thunderbird crashes with EXC_BAD_ACCESS (SIGSEGV) at null address.
Relevant stack info:

0 XUL -[mozTableAccessible isLayoutTablePart] + 164
1 XUL -[mozTablePartAccessible moxRole] + 48
2 XUL -[MOXAccessibleBase accessibilityAttributeValue:] + 160
3 AppKit NSAccessibilityGetObjectForAttributeUsingLegacyAPI

Analysis

The Thunderbird Calendar change appears to expose a new table-like accessible object through ARIA grid / row / gridcell on a custom XUL element.

When macOS asks for accessibilityRole, Gecko enters:

MOXAccessibleBase::accessibilityAttributeValue
mozTablePartAccessible::moxRole
mozTableAccessible::isLayoutTablePart

mozTableAccessible::isLayoutTablePart appears to dereference a null pointer while computing whether the table part is layout-only.
This is likely a Gecko macOS accessibility bug exposed by Thunderbird’s ARIA grid. It is not a Calendar data or account issue.

More investigative information can be found in the Matrix Accessibility room.

Assignee: nobody → mreschenberg
Attachment #9630852 - Attachment description: WIP: Bug 2066575: Ensure table properties are exposed for XUL tables on mac r?eeejay → Bug 2066575: Ensure table properties are exposed for XUL tables on mac r?eeejay
Attachment #9630851 - Attachment description: WIP: Bug 2066575: Use CachedTableAccessible for XUL elements with table roles r?Jamie → Bug 2066575: Use CachedTableAccessible for XUL elements with table roles r?Jamie
Severity: -- → S2

This bug has been marked as a regression. Setting status flag for Nightly to affected.

Blocks: 2070390
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 157 Branch

:morgan, should this ride the train with Fx157, or can you add a release uplift request for Fx156?
It will need an uplift request for ESR153 eitherway

Flags: needinfo?(mreschenberg)

(In reply to Donal Meehan [:dmeehan] from comment #6)

:morgan, should this ride the train with Fx157, or can you add a release uplift request for Fx156?
It will need an uplift request for ESR153 eitherway

Done, requested for 153 ESR and 156 :)

Flags: needinfo?(mreschenberg)
Attachment #9641250 - Flags: approval-mozilla-esr153?

firefox-esr153 Uplift Approval Request

  • User impact if declined/Reason for urgency: Thunderbird users will continue to experience a crash when using the calendar widget on macOS. This crash is also possible to experience in Firefox, but has not been reported from Firefox directly.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: This patch does not affect web content, it only affects XUL tables rendered in gecko. It is covered by automated testing and has been verified manually.
  • String changes made/needed?: None
  • Is Android affected?: yes
Attachment #9641251 - Flags: approval-mozilla-esr153?
Attachment #9641252 - Flags: approval-mozilla-release?

firefox-release Uplift Approval Request

  • User impact if declined/Reason for urgency: Thunderbird users will continue to experience a crash when using the calendar widget on macOS. This crash is also possible to experience in Firefox, but has not been reported from Firefox directly.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: This patch does not affect web content, it only affects XUL tables rendered in gecko. It is covered by automated testing and has been verified manually.
  • String changes made/needed?: None
  • Is Android affected?: yes
Attachment #9641253 - Flags: approval-mozilla-release?
Attachment #9641251 - Flags: approval-mozilla-esr153? → approval-mozilla-esr153+
Attachment #9641250 - Flags: approval-mozilla-esr153? → approval-mozilla-esr153+
Attachment #9641252 - Flags: approval-mozilla-release? → approval-mozilla-release+
Attachment #9641253 - Flags: approval-mozilla-release? → approval-mozilla-release+
QA Whiteboard: [qa-ver-done-c158/b157]
QA Whiteboard: [qa-ver-done-c158/b157] → [qa-triage-done-c158/b157]
See Also: → 1777962
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: