Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#948 6 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 5 ngày

@SoundersFan đang làm issue này rồi.

Từ ngày 3/1/2022.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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

Ngôn ngữ chính
C
Star
102
Fork
67
Merge trung bình
5 ngày 5 giờ
Pull request đã merge (30 ngày)
8

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/cpp_client_telemetry

Tất cả issue của microsoft/cpp_client_telemetry

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.