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]: IPv4-only server with IPv6 client via TURN crashes the server #9691
Comments
Did the game produce a |
I only found these 2 files. Where i can find coredump? |
If I can blindly guestimate, this is because you run an IPv4-only stack (so no IPv6 support) .. and when a TURN connection is established with an IPv6 on the client-side, that IPv6 is given to the server, which tries to That is a situation we never tested for, so that makes the question:
If both hold true, that would explain this crash report :)
If you can't find it, it isn't there. It is okay, it would just make it easier to validate the above assumptions :D |
You are 100% right. I have only IPv4 and active banlist. |
Tnx for the confirmation :) We will see what we can do to fix this! Sadly, I do not think there is a workaround for now .. will get back to you if I can come up with one. |
Fine. Thanks. |
Please keep this open so we know to fix this :) |
Sorry. |
For the developers: some more detail on what is happening: OpenTTD/src/network/network_turn.cpp Line 64 in f8efab4
OpenTTD/src/network/core/address.h Line 79 in f8efab4
OpenTTD/src/network/core/address.cpp Line 150 in f8efab4
OpenTTD/src/network/core/address.cpp Line 122 in f8efab4
OpenTTD/src/network/core/address.cpp Line 234 in f8efab4
And if you cannot resolve IPv6 address, that fails, and Additionally, you cannot load an IPv6 in the banlist either, as that will fail for similar reasons. |
Version of OpenTTD
1.12+
Steps to reproduce
Hello. The crashes started after update 1.12. It all happens by accident, I did not find details about the crash, so I'm writing here.
4 servers work 24 on 7, and somewhere 1 time in 2 days one of servers crash.
Until 1.12 there was no crash.
Crash reason:
Signal: Aborted (6)
Message: NOT_REACHED triggered at line 186 of /__w/OpenTTD/OpenTTD/src/network/core/address.cpp
Upload crash files
[crash.zip](https://github.com/OpenTTD/OpenTTD/files/7529880/crash.zip
crash.log
)
The text was updated successfully, but these errors were encountered: