-
Notifications
You must be signed in to change notification settings - Fork 55
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
NodeService heap corruption after ZTS_EVENT_PEER_PATH_DISCOVERED #261
Comments
It looks to me like the problem is here:
|
The problem is not different binary layouts as the for-loop fixes that. This is the same issue as I had in #208 which was fixed in #209, so updating should solve that issue (or manually pulling in that change). I did notice that |
I managed to build the latest version of libzt and so far I haven't seen the error reproduced, though I'll need to test it more when I have the time.
Is this something that should be taken care of? |
Nice, glad it works! Shouldn't matter for your issue but yes. I was ready with a PR but noticed more uninitialised memory in the for-loop so it'll take a bit longer. |
So you got that covered, awesome. I will test this a bit more in the evening and if it doesn't reproduce I will close the issue. |
Issue not observed on the latest version of libzt. |
Hello,
I've started seeing libzt produce heap corruption errors when nodes try to connect. Sometimes - I wasn't able to determine a clear pattern, though it consistently happens when I try to connect a 3rd node from a different computer.
I gathered screenshots from the debugger showing which part of code breaks (it's the same every time).
I also have some logs from the executable that crashed (it's a mix of ZeroTier and other logs but all lines coming from ZeroTier contain "hobrobot::ZeroTier").
Unfortunately I do not have a minimal reproducible example as it took a pretty massive stack of tech to get here, but I'm hoping someone will look at the code and find some obvious flaw...
Libzt I am using is compiled from commit
8d21a265cc23dd6e6e4d2c2ad068e978f110f8e3
.Everything compiled with MSVC.
The text was updated successfully, but these errors were encountered: