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

CPU usage crash on calling the flush API

未关闭
#1,090 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 5 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
cpp
领域
observability

调研方向

从 issue 中描述的 ODWLogManager flush 调用开始,结合附加的 symbolicated logs 检查 Crash.txt,重点关注报告的 lock 等待和 CPU 使用率导致的崩溃。目前无法复现该 issue,因此首先确定失败路径,以及可靠的复现方法或回归检查。完成的标准是 flush API 不再因 CPU 使用率而崩溃。

由索引模型根据 Issue 内容生成。

描述

bug

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.

OneDS SDK Version: 3.6.187

Steps to reproduce.
Describe exactly how to reproduce the error. Include a code sample if applicable.
This is mainly happening on the [ODWLogManager flush] call with lock wait. Not able to repro. But we are getting reports from internal users. PFA for the symbolicated logs.
Screenshot 2023-01-20 at 1 01 55 PM

What is the expected behavior?
What did you expect to see?
No crash due to CPU usage

What is the actual behavior?
What did you see instead?
Seeing CPU usage crashes on the flush API call

Additional context.
Add any other context about the problem here.
Crash.txt

主要语言
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 摘要。