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

trial to fix winipc crash #1848

Merged
merged 1 commit into from
Aug 14, 2024
Merged

trial to fix winipc crash #1848

merged 1 commit into from
Aug 14, 2024

Conversation

gdamore
Copy link
Contributor

@gdamore gdamore commented Jul 21, 2024

fixes #

Note that the above format should be used in your git commit comments.
You agree that by submitting a PR, you have read and agreed to our
contributing guidelines.

@gdamore
Copy link
Contributor Author

gdamore commented Jul 21, 2024

This is just a trial balloon.

Copy link

codecov bot commented Jul 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.13%. Comparing base (d3652db) to head (b7298cf).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1848      +/-   ##
==========================================
- Coverage   79.77%   78.13%   -1.64%     
==========================================
  Files          95       93       -2     
  Lines       21628    20986     -642     
==========================================
- Hits        17253    16398     -855     
- Misses       4375     4588     +213     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gdamore
Copy link
Contributor Author

gdamore commented Jul 21, 2024

This PR is an attempt to fix #1837 -- I don't know if it will actually do the trick. But it passed at least the first round of tests.

@gdamore gdamore mentioned this pull request Jul 22, 2024
@itayzafrir
Copy link

Hi @gdamore I tested this change on a Windows (virtual) machine & very happy to say that the use after free did not reproduce. Looks like you fixed it 👍

@alzix
Copy link
Contributor

alzix commented Jul 30, 2024

@gdamore, are you merging this PR?

@gdamore
Copy link
Contributor Author

gdamore commented Jul 30, 2024 via email

This fixes a problem only found on Windows, that affected both IPC and TCP.
@gdamore gdamore merged commit b7298cf into master Aug 14, 2024
16 of 18 checks passed
@gdamore
Copy link
Contributor Author

gdamore commented Aug 14, 2024

This had an WSS failure on close, which makes me thing we haven't really found them all. I am thinking I need to take a similar approach for the connect() and accept() calls. I'd appreciate any further results from folks testing.

@gdamore gdamore deleted the gdamore/overlapped-wait branch August 14, 2024 07:06
shikokuchuo added a commit to shikokuchuo/nng that referenced this pull request Oct 1, 2024
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

Successfully merging this pull request may close these issues.

3 participants