Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cs2.exe crash randomly #980

Open
jaredliu2018 opened this issue Dec 16, 2024 · 3 comments
Open

cs2.exe crash randomly #980

jaredliu2018 opened this issue Dec 16, 2024 · 3 comments

Comments

@jaredliu2018
Copy link

jaredliu2018 commented Dec 16, 2024

Describe the bug

I have a tool to run "generate highlight video" 100 times. cs2.exe will crash randomly and never pass the test. I doubt the root cause is that the "cs2-server-plugin" execute client commands outside the main game thread. We should process webserver commands and actions in frame callback(or sth in main thread), like what we do in "csgo-server-plugin".

Demo links

https://cdn.b5csgo.com.cn/b5demo/demos/b5match_725795961453888643.dem.zip

Steps to reproduce

run generate highlight video repeatly.

Expected behavior

Don't crash the game.

How often does this bug happen?

10%

Log file

No response

Environment information

None.

Additional context

No response

@akiver
Copy link
Owner

akiver commented Dec 23, 2024

I have a tool to run "generate highlight video" 100 times.

Please provide steps to use this tool (the source code not the binary) and reproduce the issue.

@jaredliu2018
Copy link
Author

jaredliu2018 commented Dec 31, 2024

you can use Demo Manager to play highlight with any demo.
image
try more times until cs2.exe crash. The popup is "The game crashed, please see <0>this documentation</0> for help."
image
The probability is larger than 10%

@jaredliu2018
Copy link
Author

jaredliu2018 commented Dec 31, 2024

BTW, I've modified cs2-server-plugin, puting cmd execution into FrameStageNotify, but it does not fix the issue.https://github.com/jaredliu2018/cs-demo-manager/tree/dev_server_plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants