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

[BUG 🪲] exit code: 0xc0000005, STATUS_ACCESS_VIOLATION #87

Open
AurevoirXavier opened this issue Oct 13, 2024 · 5 comments
Open

[BUG 🪲] exit code: 0xc0000005, STATUS_ACCESS_VIOLATION #87

AurevoirXavier opened this issue Oct 13, 2024 · 5 comments

Comments

@AurevoirXavier
Copy link

AurevoirXavier commented Oct 13, 2024

Describe the bug 🐛

  1. Use Window instead of Monitor to capture the frame
  2. Write such logic, start capturing if the window name found, sleep and start finding the window again if the on_close triggered
  3. For the first time everything works, close and reopen the application, then exit code: 0xc0000005, STATUS_ACCESS_VIOLATION
  4. This only happens on fullscreen application

I guess there are some resources didn't get released properly for fullscreen application.

OS 🤖

  • Version: 11
  • Build 23H2
@NiiightmareXD
Copy link
Owner

Hey, can you tell me the name of the application

@AurevoirXavier
Copy link
Author

AurevoirXavier commented Oct 13, 2024

Hey, can you tell me the name of the application

"Counter-Strike 2"

@NiiightmareXD
Copy link
Owner

Hey, can you tell me the name of the application

"Counter-Strike 2"

Can you check if you can record using OBS window capture? maybe its a anti-cheat problem but I have no problem in Valorant

@NiiightmareXD
Copy link
Owner

I can't replicate this, maybe it's an antivirus problem?

@AurevoirXavier
Copy link
Author

AurevoirXavier commented Nov 1, 2024

Can you check if you can record using OBS window capture? maybe its a anti-cheat problem but I have no problem in Valorant

OBS works.

I can't replicate this, maybe it's an antivirus problem?

Strange. But it can work every first time.

Is there anything that I need to be careful while on_close.

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