[iOS][SDK Version: 3.8.249.1] Crash observed in getLogConfigurationCopy()
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- mobile-dev, observability-sre
Research direction
Start with the attached crash logs and the stack frames for ODWLogConfiguration.getLogConfigurationCopy(), Telemetry/LogManagerWrapper.swift:60, and TSOneDSTelemetryLogManager.swift:37 and 58. Trace the log creation flow and determine the conditions that make the configuration copy crash; done means the reported crash is understood and the logging path no longer crashes, with coverage if the repository provides a relevant test location.
Written by the indexing model from the issue text.
Description
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.
Steps to reproduce.
We dont have a specific step to reproduce the crash. Crash points to log creation flow.
What is the expected behavior?
What did you expect to see?
There should not be any crash happening.
Additional context.
Attaching the crash log here.
0 TeamsCommon 0x000000010ea01bf0 ZNSt3__13mapINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEN9Microsoft12Applications6Events7VariantENS_4lessIS6_EENS4_INS_4pairIKS6_SA_EEEEE6insertB8ne180100INS_20__map_const_iteratorINS_21__tree_const_iteratorINS_12__value_typeIS6_SA_EEPNS_11__tree_nodeISM_PvEElEEEEEEvT_ST (__tree:112)
1 TeamsCommon 0x000000010ea01b70 ZNSt3__13mapINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEN9Microsoft12Applications6Events7VariantENS_4lessIS6_EENS4_INS_4pairIKS6_SA_EEEEEC2B8ne180100ERKSH (map:1078)
2 TeamsCommon 0x000000010ea010b0 +[ODWLogConfiguration getLogConfigurationCopy] (map:1078)
3 TeamsCommon 0x000000010f094acc Telemetry.ODWLogManagerWrapper.loggerForTenant(: Swift.String, configuration: [Swift.String : Swift.String]) -> Telemetry.TSTelemetryLoggerProtocol? (LogManagerWrapper.swift:60)_
4 TeamsCommon 0x000000010f094f18 protocol witness for Telemetry.LogManagerProtocol.loggerForTenant(_: Swift.String, configuration: [Swift.String : Swift.String]) -> Telemetry.TSTelemetryLoggerProtocol? in conformance Telemetry.ODWLogManagerWrapper : Telemetry.LogManagerProtocol in Telemetry (:0)
5 TeamsCommon 0x000000010f0ad974 Telemetry.TSOneDSTelemetryLogManager.(logger in _0254B3F70CF7F7D778C8FF7F5624B841)(for: Swift.String, configuration: [Swift.String : Swift.String]) -> Telemetry.TSTelemetryLoggerProtocol (TSOneDSTelemetryLogManager.swift:58)
6 TeamsCommon 0x000000010f0ad474 Telemetry.TSOneDSTelemetryLogManager.logger(for: Swift.String, collectorUri: Swift.String) -> Telemetry.TSTelemetryLoggerProtocol? (TSOneDSTelemetryLogManager.swift:37)
7 TeamsCommon 0x000000010f0ad9fc @objc Telemetry.TSOneDSTelemetryLogManager.logger(for: Swift.String, collectorUri: Swift.String) -> Telemetry.TSTelemetryLoggerProtocol? (:0)
report-2516521581180009999-45b5786e-7336-4fc6-97ec-09fb23b6cc1c.txt
report-2516521610430009999-1d7914ab-a2d3-4565-84a5-bfba859063cb.txt
- Dominant language
- C
- Stars
- 102
- Forks
- 66
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 11
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/cpp_client_telemetry
-
C API enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
microsoft/cpp_client_telemetry#1504 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 25/100
microsoft/cpp_client_telemetry#1413 · 2 comments ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
microsoft/cpp_client_telemetry#1391 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 38/100
microsoft/cpp_client_telemetry#1387 ·
All issues in microsoft/cpp_client_telemetry
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
libsdl-org/SDL#16372 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
corazawaf/coraza-nginx#140 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BasedHardware/omi#15662 · 1 comment ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
jamesstringer90/appsandbox#160 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100