-
Notifications
You must be signed in to change notification settings - Fork 37
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
Crash on esp32s3 #50
Comments
Chiming in here because I'm on the same path right now. This seems to occur when the wireguard interface is being shut down but a TCP connection is still active. The issue is not I'm still figuring out how to fix this. This rings a bell to another issue I had (and which was explained over here - See amaldo's comment on May 30, 2023) which also had to do with UPDATE: In |
See the fix in #45. Also, we found this patch helps to gracefully disconnect the TCP sockets before Wireguard is shutdown:
|
Thanks for linking that issue, I forgot to check closed issues... Although I did come up with pretty much this exact fix myself, minus the |
Hi @trombik
many thanks for this repo.
I wanted to mention that I had a crash which I was unable to reproduce in this code
As far as I can see tmp was NULL, and hence there was no dereference to tmp->valid
I have not been able to reproduce, but maybe this will give you an indication
I was going to make a trivial fix to change to
if (tmp && tmp->valid) {
I will leave to you to decide
Thx
Lee
The text was updated successfully, but these errors were encountered: