BeyondDimension / BeyondDimension/SteamTools

🐛[BUG] 当DoH地址拒绝连接的时候造成CPU占用100%

Open
#3,585 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
26.8k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

## 请认真检查以下清单中的每一项
- [x] 已经搜索过,没有发现类似的 issue
- [ ] 已经搜索过文档,没有发现相关内容
- [x] 已经尝试使用过最新版,问题依旧存在
- [x] 使用的是官方版本(未替换及修改过安装目录程序文件)

### 🐛 描述

**主要问题:**当软件默认的DoH地址出现拒绝连接时会一直请求连接造成CPU和内存高占用。
如果此时点击停止加速,程序已经做出动作但在加速日志显示回收线程前,多次点击“停止加速”按钮不会出现任何变化,同时出现报错。

### 📷 复现步骤

1. 找一个拒绝连接的DoH地址
2. 开始加速
3. cpu和内存开始被高占用

### 📄 日志信息

[nlog-all-2024-12-20.log](https://github.com/user-attachments/files/18208246/nlog-all-2024-12-20.log)

### 🖼 截图

![image](https://github.com/user-attachments/assets/f1a40a23-e7bd-45fa-ae88-e5042037db38)
![image](https://github.com/user-attachments/assets/36343d02-1159-4def-b65e-c6cf66b4aa7c)
![image](https://github.com/user-attachments/assets/cd2ef31c-42c6-4b49-bd80-3f3365cf0ff3)
![image](https://github.com/user-attachments/assets/20faca37-516c-4db2-b761-4b5fd222a15c)

### 🚑 其他信息

- 处理器体系结构:x64
- 系统版本号:Windows11.26100.2605
- 下载渠道:官网
- 程序版本:3.0.0-rc.13
- 是否包含独立运行时:

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue on Windows 11 using a DoH address that refuses connections, then inspect the attached nlog-all-2024-12-20.log for repeated connection attempts and cleanup errors. Trace the acceleration stop behavior around the repeated requests. Done means a rejected DoH endpoint does not cause sustained CPU or memory growth, and stopping acceleration completes without repeated errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
networking, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.