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
Server crashed after spamming it with many clients #418
Comments
Could you provide a repo with the pyCraft code used to produce this bug? |
Hey, thanks for the report! Did you compile in release mode? Also how many clients were connecting/reconnecting and what was the delay between these actions? |
The crash also occurs on release mode. I added a run file for pyCraft here: I changed online_mode to false and changed max_players to 100. That are also how many clients are connecting and reconnecting. |
Was also able to reproduce it under windows in debug and release mode. |
Fixed by #440. |
Description
Spammed the server with many clients using pycraft. The clients joined the server, disconnected and connected again in a loop.
Reproduction Steps
What You Expected to Happen
Server should be able to handle it, when many clients connects and disconnects.
What Actually Happened
Server crashes after spamming it with many clients.
Screenshots and Logs
thread main' panicked at 'called `Option::unwrap()` on a `None` value', feather/server/src/systems/view.rs:43:52
feather/feather/server/src/systems/view.rs
Line 43 in b63fd95
Your Environment
The text was updated successfully, but these errors were encountered: