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

stack overflow #525

Open
scientificCommunity opened this issue Jun 27, 2024 · 1 comment
Open

stack overflow #525

scientificCommunity opened this issue Jun 27, 2024 · 1 comment
Labels

Comments

@scientificCommunity
Copy link

Describe the bug
hi guys!
Stack overflow appears on startup
The reason is that SocketsPacketProvider#OnReceive keeps calling socket?.BeginReceive, and socket?.BeginReceive will eventually go to SocketsPacketProvider#OnReceive, which will get into a dead loop leading to stack overflow.
I'm not sure what's causing the problem, my solution was to change the call to socket?.BeginReceive to asynchronous and it worked fine.

Here are my changes

To Reproduce

  1. run app
  2. select language, select server location, select game folder
  3. Stack overflow causes program crash

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows10
  • Tool Version : main branch
  • NPcap Version: Im not sure, It's default
@Triky313
Copy link
Owner

Triky313 commented Jul 1, 2024

I can't see any difference at the moment. I will have to observe this for a while longer.

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

No branches or pull requests

2 participants