-
Notifications
You must be signed in to change notification settings - Fork 100
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 when joining some LAN games #794
Comments
Has already been reported here: #757 Please add a breakpoint here: https://github.com/minecraft-linux/libc-shim/blob/ef8c417f6e4e6104839124257c0eaa5d93580c33/src/network.cpp#L47 And provide the number passed to the function, the built in error message is just insufficient. libc-shim (e.g. socket()) should probably catch these errors, set the errno state and only log a warning for debugging. |
Making it not return errors when unknown socket families, af_family, and ioctls are called seems to make it not crash and actually connect |
The number passed is 16. |
Describe the bug
When trying to connect to a LAN game that is on a different computer, the game crashes.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
You should be able to join the game
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Crash log:
gdb:
It does not seem to crash when connecting to another game running on the same machine (dedicated server or another instance of mcpelauncher)
Also, it only seems to happen when connecting to certain devices (including iOS devices). Connecting 2 devices running mcpelauncher works.
This may be related to BDS-18090
I do not know if this is an issue with the Launcher (I don't have a real android device to test it on)
Realms and external servers work fine.
I do not think this has anything to do with Xbox live (crash still occurs of both devices are signed out).
The text was updated successfully, but these errors were encountered: