Crash at LogManagerImpl
Maintainer thường phản hồi trong vòng 5 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- cpp
- Lĩnh vực
- observability-sre, operating-systems
Hướng nghiên cứu
Bắt đầu với cấp phát được báo cáo trong LogManagerImpl.cpp tại dòng 330, sau đó lần theo đường dẫn khởi tạo qua LogManagerFactory.cpp và LogManagerProvider.cpp. Sử dụng stack trace bad_alloc của Windows và quá trình khởi tạo dependency TelemetrySystem làm các điểm bắt đầu điều tra. Hoàn tất nghĩa là xác định được nguyên nhân crash và ghi lại tài liệu hoặc triển khai một cách để ngăn chặn hoặc phát hiện lỗi này trước khi telemetry bắt đầu.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe your environment.
SDK: 3.8.32.1
Platform: Windows
OS Version: 10.0.19045.4894
Build String : 10.0.19041.4894 (vb_release.191206-1406)
Build Stamp : 191206-1406
Build Flavor : Free
Build Day : 12/06/2019
OS Version : 10.0.19045.4894
LCID : Portuguese (Brazil)
Steps to reproduce.
We are getting random crashes the updater process. It is not reliable.
What is the expected behavior?
Not a crash.
What is the actual behavior?
A crash
Additional context.
This has started to happen since a couple weeks.
The StackTrace is as follows:
KERNELBASE!RaiseException | | 0x0000000000000069 | | | | xcpt.c | | 938
1 | VCRUNTIME140!_CxxThrowException | | 0x0000000000000090 | | | | throw.cpp | | 75
2 | ms_teamsupdate!__scrt_throw_std_bad_alloc | | 0x000000000000001F | | | | throw_bad_alloc.cpp | | 35
3 | ms_teamsupdate!operator new | | 0x0000000000000035 | | | | new_scalar.cpp | | 48
4 | ms_teamsupdate!Microsoft::Applications::Events::LogManagerImpl::LogManagerImpl | | 0x0000000000001325 | | | | LogManagerImpl.cpp | | 330
5 | ms_teamsupdate!Microsoft::Applications::Events::LogManagerImpl::LogManagerImpl | | 0x0000000000000011 | | | | LogManagerImpl.cpp | | 158
6 | ms_teamsupdate!Microsoft::Applications::Events::LogManagerFactory::Create | | 0x000000000000004B | | | | LogManagerFactory.cpp | | 36
7 | ms_teamsupdate!Microsoft::Applications::Events::LogManagerFactory::lease | | 0x00000000000000F0 | | | | LogManagerFactory.cpp | | 124
8 | ms_teamsupdate!Microsoft::Applications::Events::LogManagerProvider::Get | | 0x0000000000000020 | | | | LogManagerProvider.cpp | | 17
KERNELBASE!RaiseException 0x0000000000000069 xcpt.c 938
1 VCRUNTIME140!_CxxThrowException 0x0000000000000090 throw.cpp 75
2 ms_teamsupdate!__scrt_throw_std_bad_alloc 0x000000000000001F throw_bad_alloc.cpp 35
3 ms_teamsupdate!operator new 0x0000000000000035 new_scalar.cpp 48
4 ms_teamsupdate!Microsoft::Applications::Events::LogManagerImpl::LogManagerImpl 0x0000000000001325 LogManagerImpl.cpp 330
5 ms_teamsupdate!Microsoft::Applications::Events::LogManagerImpl::LogManagerImpl 0x0000000000000011 LogManagerImpl.cpp 158
6 ms_teamsupdate!Microsoft::Applications::Events::LogManagerFactory::Create 0x000000000000004B LogManagerFactory.cpp 36
7 ms_teamsupdate!Microsoft::Applications::Events::LogManagerFactory::lease 0x00000000000000F0 LogManagerFactory.cpp 124
8 ms_teamsupdate!Microsoft::Applications::Events::LogManagerProvider::Get 0x0000000000000020 LogManagerProvider.cpp 17
Considering the line that crashes:
m_system.reset(new TelemetrySystem(*this, *m_config, *m_offlineStorage, *m_httpClient,
We suspect one problem with the dependencies injected into the TelemetrySystem that leads to a crash. Would you folks have any idea of what could be happening here?
We have not changed anything on this part of our code so we suspect possible changes in the system that is running the application leading to the crashes. We would like to know what could be a possible solution in our end to detect before we launch the telemetry, configuring it to avoid crashes.
- 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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/cpp_client_telemetry
-
C API enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
microsoft/cpp_client_telemetry#628 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
OneDS C++ SDK retries already-ingested iOS events, causing duplicate telemetry recordsCó thể đã có người làm @bmehta001 đã nhận 4 ngày trước. Đang mởbug
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
microsoft/cpp_client_telemetry#1542 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 5 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
microsoft/cpp_client_telemetry#1504 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
Dropping of telemetry eventsĐang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
microsoft/cpp_client_telemetry#1413 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 5 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
microsoft/cpp_client_telemetry#1387 ·
Maintainer thường phản hồi trong vòng 5 ngày
Tất cả issue của microsoft/cpp_client_telemetry
Issue tương tự
-
bug Component component: net
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
RT-Thread/rt-thread#11852 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
siderolabs/pkgs#1710 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
qmk/qmk_firmware#26498 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
MixinNetwork/flutter-plugins#512 ·