The hang dump and stack trace indicate an AppHang (Watson bucket type AppHang) in SystemSettings.exe where the main thread is blocked in a generic wait, surfaced as:
-
ntdll!NtWaitForMultipleObjects -
KERNELBASE!WaitForMultipleObjectsEx -
twinapi_appcore!Event::WaitWithFreeUnusedLibraries -
twinapi_appcore!Windows::ApplicationModel::Core::CoreApplication::WaitForExit
This pattern matches a generic application hang captured by Windows Hang Reporting. The event is surfaced through the Microsoft.Windows.HangReporting.AppHangEvent telemetry, which records:
-
AppName=SystemSettings.exe -
ProcessIdof the hung Settings process -
ReportIdandTargetAsIdto correlate the hang with the Watson report -
TypeCodedescribing the hang type
From the available data, the OS-level view is that the Settings app is blocked in the WinRT app core wait loop (CoreApplication::WaitForExit) via twinapi_appcore!Event::WaitWithFreeUnusedLibraries, which internally uses NtWaitForMultipleObjects to wait on one or more kernel objects (for example, events or handles owned by the app framework). The hang-reporting pipeline does not expose which specific handle or OS event is being waited on; it only records that the process is not making forward progress and classifies it as an AppHang.
For automated Airplane Mode / Wi‑Fi toggle stress tests, this means:
- The Settings app is a UWP/XAML application whose main thread is stuck in the WinRT app core wait loop, not in a specific public OS API that can be directly controlled from outside.
- The OS telemetry and hang reporting (via
Microsoft.Windows.HangReporting.AppHangEvent) can be used to correlate and analyze frequency and conditions of the hang, but they do not reveal the exact internal event or handle thatSystemSettings.exeis waiting on. - The hang is therefore treated as an application-level responsiveness issue in
SystemSettings.exeunder the exercised scenario (rapid Airplane Mode / Wi‑Fi toggling), rather than a directly diagnosable kernel wait on a documented external API.
To proceed with deeper analysis or a potential fix, the hang dump, Watson AppHang reports (using the ReportId and TargetAsId fields), and the exact stress-test conditions would need to be provided to Microsoft Support or engineering through official support channels so that internal symbols and additional telemetry can be used to determine the precise internal wait condition.
References: