Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[UWP][Background Task] 1DS crashed during Windows::PlatformEventHandler::AttachEventHandlers()

未关闭
#948 6 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 5 天内回复

@SoundersFan 已经在做这个了。

开始于 2022年1月3日。

评估

这个 Issue 还没有评估数据。

描述

bug csharp help wanted iOS

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++

主要语言
C
星标
102
派生
67
平均合并
5 天 5 小时
30 天内合并 PR
8

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/cpp_client_telemetry 的其他 Issue

查看 microsoft/cpp_client_telemetry 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。