ithewei / ithewei/libhv

windump未生效

Open
#878 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
7.6k
Forks
1.4k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

已开启enable windump选项,崩溃时未生成core_ .dump文件。
定位到原因是未使用RAII.cpp文件中的符号导致链接时未链接RAII.cpp,从而未定义s_wsa对象。
解决方案(三选一)
1.将RAII.cpp加入到自己的项目文件中(已通过验证)
2.在libhv项目中将s_wsa对外暴露,在会被用到的头文件中声明s_wsa变量。
3.自己的项目中强制链接所有符号。
系统:win11 x64,工具集 msvc v145。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting RAII.cpp and the references to s_wsa involved when the enable windump option is active. Reproduce the missing core_.dump behavior on Windows 11 x64 with MSVC v145, then verify that the chosen linking change causes the dump file to be generated during a crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
networking, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.