BeyondDimension / BeyondDimension/SteamTools

🐛[BUG] 开机后首次启动程序一键登录steam账号后程序会闪退

Open
#2,513 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

### 🐛 描述(Description)
使用Steam账号一键登录切换账号之后,能够成功登录对应的账号,但是steam启动完成之后,主程序闪退自动关闭。

### 📷 复现步骤(Steps to Reproduce)

1. 启动程序,然后在账号切换里选择一个账号右击一键登录
2. steam正常登录并启动之后,程序会闪退
3. 一般来说开机后第一次登录账号基本都会闪退,闪退后重新打开再切换不太会闪退

### 📄 日志信息(Log Information)
```
2023-02-02 15:36:43.0464|Error|SteamworksLocalApiS|Initialize Fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at System.Application.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
2023-02-02 15:36:43.9601|Error|SteamworksLocalApiS|Initialize Fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at System.Application.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
2023-02-02 15:36:45.9727|Error|SteamworksLocalApiS|Initialize Fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at System.Application.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
2023-02-02 15:36:46.0968|Error|SteamworksLocalApiS|Initialize Fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at System.Application.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
2023-02-02 15:36:47.9922|Error|SteamworksLocalApiS|Initialize Fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at System.Application.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
2023-02-02 15:36:49.1179|Error|SteamworksLocalApiS|Initialize Fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at System.Application.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
2023-02-02 15:36:50.0011|Error|SteamworksLocalApiS|Initialize Fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at System.Application.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
2023-02-02 15:36:52.0168|Error|SteamworksLocalApiS|Initialize Fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at System.Application.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
2023-02-02 15:36:52.1290|Error|SteamworksLocalApiS|Initialize Fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at System.Application.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
2023-02-02 15:36:54.0278|Error|SteamworksLocalApiS|Initialize Fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at System.Application.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
2023-02-02 15:36:55.1521|Error|SteamworksLocalApiS|Initialize Fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at System.Application.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
2023-02-02 15:36:56.0409|Error|SteamworksLocalApiS|Initialize Fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at System.Application.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
2023-02-02 15:36:58.0586|Error|SteamworksLocalApiS|Initialize Fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at System.Application.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
2023-02-02 15:36:58.1825|Error|SteamworksLocalApiS|Initialize Fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at System.Application.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
2023-02-02 15:37:00.0800|Error|SteamworksLocalApiS|Initialize Fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at System.Application.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
2023-02-02 15:37:01.2033|Error|SteamworksLocalApiS|Initialize Fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at System.Application.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
```

### 🚑 基本信息(Basic Information)

- 程序版本(Program Version): 2.8.6
- 系统版本号(OS Version): Windows 11 专业版 22000.1219(21H2)
- 是否为应用商店版本(Whether it is a Store version): 否

### 🖼 截图(Screenshots)

程序闪退无法截图

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the first-launch account-switch flow on Windows 11, then trace SteamworksLocalApiServiceImpl.Initialize and the SAM.API.Client.Initialize failure shown in the logs. Investigate the failed pipe creation during Steam startup; done means one-click login completes without the main program closing, including after a fresh boot.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.