Closed Bug 2043307 Opened 2 months ago Closed 2 months ago

Crash in [@ __delayLoadHelper2 | _tailMerge_uiautomationcore.dll | mozilla::a11y::uiaRawElmProvider::RaiseUiaNotificationEvent]

Categories

(Core :: Disability Access APIs, defect)

Unspecified
Windows 10
defect

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- unaffected
firefox151 + fixed
firefox152 + fixed
firefox153 + fixed

People

(Reporter: aryx, Assigned: Jamie)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: crash, regression)

Crash Data

Attachments

(3 files)

[Tracking Requested - why for this release]:

Started with Firefox 150.0.x with 800+ crashes from 500+ installs and continues with Firefox 151.

Crash report: https://crash-stats.mozilla.org/report/index/92e12178-ed0b-49c2-8192-45d040260528

Reason:

FACILITY_VISUALCPP / ERROR_PROC_NOT_FOUND

Top 10 frames:

0  KERNELBASE.dll  RaiseException
1  xul.dll  __delayLoadHelper2(ImgDelayDescr const*, long long (**)())  /builds/worker/workspace/obj-build/toolkit/library/build/D:/a/_work/1/s/src/vctools/delayimp/delayhlp.cpp:402
2  xul.dll  _tailMerge_uiautomationcore.dll
3  xul.dll  mozilla::a11y::uiaRawElmProvider::RaiseUiaNotificationEvent(mozilla::a11y::Ac...  accessible/windows/uia/uiaRawElmProvider.cpp:322
4  xul.dll  mozilla::a11y::PlatformAnnouncementEvent(mozilla::a11y::Accessible*, nsTSubst...  accessible/windows/msaa/Platform.cpp:175
4  xul.dll  mozilla::a11y::DocAccessibleParent::RecvAnnouncementEvent(unsigned long long ...  accessible/ipc/DocAccessibleParent.cpp:830
5  xul.dll  mozilla::a11y::PDocAccessibleParent::OnMessageReceived(IPC::Message const&)  ipc/ipdl/PDocAccessibleParent.cpp:1451
6  xul.dll  mozilla::dom::PContentParent::OnMessageReceived(IPC::Message const&)  ipc/ipdl/PContentParent.cpp:6770
7  xul.dll  mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecyc...  ipc/glue/MessageChannel.cpp:1798
7  xul.dll  mozilla::ipc::MessageChannel::DispatchMessage(mozilla::ipc::ActorLifecyclePro...  ipc/glue/MessageChannel.cpp:1724
Flags: needinfo?(jteh)
Blocks: uia
Severity: -- → S2
Flags: needinfo?(jteh)
Assignee: nobody → jteh
Status: NEW → ASSIGNED

UiaRaiseNotificationEvent is only available on Windows 10 version 1709 and later.
Previously, we tried to call it without checking whether it was available, causing crashes on (very) outdated versions of Windows 10.
We now explicitly check whether this function is available before trying to call it, gracefully doing nothing if we can't.

Pushed by jteh@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/77f35c5ea88c https://hg.mozilla.org/integration/autoland/rev/92e324a4a15b Check whether UiaRaiseNotificationEvent is available before trying to call it. r=morgan
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch

The patch landed in nightly and beta is affected.
:Jamie, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(jteh)

To add to comment 4, we could also take a release uplift request. If there are no concerns on risk.
The final planned dot release for Fx151 builds next week, so this will also have a week of bake time.

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: Crashes on (very) outdated versions of Windows 10.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: no
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: Simply disables an API call which isn't available on outdated versions of Windows 10. We have existing automated tests to ensure that the call still works on later Windows versions.
  • String changes made/needed?: none
  • Is Android affected?: no
Attachment #9592330 - Flags: approval-mozilla-beta?

UiaRaiseNotificationEvent is only available on Windows 10 version 1709 and later.
Previously, we tried to call it without checking whether it was available, causing crashes on (very) outdated versions of Windows 10.
We now explicitly check whether this function is available before trying to call it, gracefully doing nothing if we can't.

Original Revision: https://phabricator.services.mozilla.com/D303249

Flags: needinfo?(jteh)

firefox-release Uplift Approval Request

  • User impact if declined/Reason for urgency: Crashes on (very) outdated versions of Windows 10.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: no
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: Simply disables an API call which isn't available on outdated versions of Windows 10. We have existing automated tests to ensure that the call still works on later Windows versions.
  • String changes made/needed?: none
  • Is Android affected?: no
Attachment #9592331 - Flags: approval-mozilla-release?

UiaRaiseNotificationEvent is only available on Windows 10 version 1709 and later.
Previously, we tried to call it without checking whether it was available, causing crashes on (very) outdated versions of Windows 10.
We now explicitly check whether this function is available before trying to call it, gracefully doing nothing if we can't.

Original Revision: https://phabricator.services.mozilla.com/D303249

Attachment #9592330 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9592331 - Flags: approval-mozilla-release? → approval-mozilla-release+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: