You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Crash server/time out yourself with chat message #110
Reproduction
Chat message "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA". That's it.
Doing this too many times crashes the server, but usually just times you out. This doesn't happen server side however, so this can lead to some quirky side effects.
According to my buddy Lolt every time this happens one core crashes. When the server runs out of cores, the entire server crashes. Sending the chat message then reconnecting on a 6 core server crashed on the 6th attempt.
Seems like the cutoff is at any message of length 253 characters or more. I suspect this is an issue with handling of compressed packets received from the client.
A bit off topic, would you like survival related bug reports (not the usual I break blocks and get nothing) or would you rather wait until an actual release?
A bit off topic, would you like survival related bug reports (not the usual I break blocks and get nothing) or would you rather wait until an actual release?
Nothing in survival mode is really implemented, but you can reply to #40 with anything you find.
Activity
caelunshun commentedon Sep 4, 2019
Seems like the cutoff is at any message of length 253 characters or more. I suspect this is an issue with handling of compressed packets received from the client.
caelunshun commentedon Sep 4, 2019
Confirmed that this does not occur when compression is disabled (compression_threshold set to -1 in config).
Edit: This will be fixed by #42 once it is complete. In the meantime, I will push a hotfix.
caelunshun commentedon Sep 4, 2019
Thanks for reporting!
ethan-xd commentedon Sep 4, 2019
No worries!
A bit off topic, would you like survival related bug reports (not the usual I break blocks and get nothing) or would you rather wait until an actual release?
caelunshun commentedon Sep 4, 2019
Nothing in survival mode is really implemented, but you can reply to #40 with anything you find.