cpp_client_telemetry
cpp_client_telemetry copied to clipboard
[UWP][Background Task] 1DS crashed during Windows::PlatformEventHandler::AttachEventHandlers()
Describe your environment. Describe any aspect of your environment relevant to the problem, including your SDK version, platform, OS version, etc. If you're reporting a problem with a specific version of a library in this repo, please check whether the problem has been fixed on main brach.
rerpo on latest 3.5.270.0 running on Windows 11, consuming 1DS in UWP background task minimum version
Steps to reproduce. we added a project Background Task C#, TargetPlatformVersion = 10.0.19041.0 TargetPlatformMinVersion = 10.0.18362.0. we initialize 1 DS library.
What is the expected behavior? 1DS LogManager should initalize successfully.
What is the actual behavior? the process terminated. in our telemetry, we have 602,492 users with reported 2,772,579 crashes of the same issue in less than 30 days.
Additional context. Some snippet of the crash dump's call stack: [External Code] combase.dll!CRestrictedError::GetSignature(wchar_t * * pbstrSignature) Line 1014 C++ combase.dll!CapturePOFDumpIfRequested(IRestrictedErrorInfo * pRestrictedErrorInfo) Line 2089 C++ combase.dll!SendReport(HRESULT error, unsigned int cchMax, const wchar_t * message, unsigned short pSid, void * pExceptionObject, IUnknown *) Line 500 C++ combase.dll!RoOriginateError(HRESULT error, HSTRING__ * message) Line 591 C++ [External Code] Microsoft.Applications.Telemetry.Windows.dll!Microsoft::Applications::Telemetry::Windows::PlatformEventHandler::AttachEventHandlers() Line 32 C++ Microsoft.Applications.Telemetry.Windows.dll!Microsoft::Applications::Telemetry::Windows::PlatformEventHandler::PlatformEventHandler() Line 25 C++ Microsoft.Applications.Telemetry.Windows.dll!Microsoft::Applications::Telemetry::Windows::LogManager::Initialize(Platform::String ^ tenantToken, Microsoft::Applications::Telemetry::Windows::LogConfiguration ^ configuration) Line 86 C++
in our telemetry, we have 602,492 users with reported 2,772,579 crashes of the same issue in less than 30 days.
@mosunchao - Is there a specific pattern whether it is reported only on Windows 11, and/or a specific Surface device/model? Also, looks like the above stack trace is missing subsequent function calls after LogManager::Initialize
, if that is the case can you please make it complete.
Just a heads-up, the UWP C++/CX binding support is community-driven, and not funded to be supported by the Observability team.
Same problem for me. The line that is faulting is:
if (Application::Current != nullptr)
@SoundersFan - Just wondering if you have a plan to contribute a fix for this as we discussed in the community meeting some time back?
Yes, I do. Holidays and other priorities are getting in the way. Should be some time in Jan.
-Andrew
From: Lalit Kumar Bhasin @.> Sent: Monday, January 3, 2022 11:56 AM To: microsoft/cpp_client_telemetry @.> Cc: Andrew Nielsen @.>; Mention @.> Subject: Re: [microsoft/cpp_client_telemetry] [UWP][Background Task] 1DS crashed during Windows::PlatformEventHandler::AttachEventHandlers() (Issue #948)
@SoundersFanhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSoundersFan&data=04%7C01%7C%7Ce1100cbe8e7a472190bb08d9cef31f5c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637768365865265853%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=X9eNOvcnf2OQoQLKqDC2jYL1xDyQevgfgJyJwZ0x1%2Bw%3D&reserved=0 - Just wondering if you have a plan to contribute a fix for this as we discussed in the community meeting some time back?
— Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fcpp_client_telemetry%2Fissues%2F948%23issuecomment-1004320862&data=04%7C01%7C%7Ce1100cbe8e7a472190bb08d9cef31f5c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637768365865275810%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Gglw5rniJeMWG5EoEq9XuVdOZ149RMtm1eGO8RXJ5eo%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGAU6DUOKGQOZ4KSGOAHYVLUUH5OPANCNFSM5HHESLAA&data=04%7C01%7C%7Ce1100cbe8e7a472190bb08d9cef31f5c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637768365865275810%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=XQ3Jo6h5UGlLGuU1dTcpCTCfl1%2Bi9HYKLQgXmH0ibvs%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7C%7Ce1100cbe8e7a472190bb08d9cef31f5c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637768365865285770%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=PS6Cqb9%2B70uK6ghkuuOlazfC0flW%2BZPUyUE8TbRmahw%3D&reserved=0 or Androidhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7C%7Ce1100cbe8e7a472190bb08d9cef31f5c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637768365865295724%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=6RuBPfg%2BlLVhKHgQV8X2cUzxBeEMfZiHsSADrDLvDdY%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>
@SoundersFan - Just checking on your plans to contribute fix for this issue. Thanks :)
@SoundersFan - Any plans for the fix. This issue is stale, and in absence of any fix or activity, we would like to close the issue.