-
Notifications
You must be signed in to change notification settings - Fork 10
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
WoP crashes when restarting a match with a new map from the menu #284
Comments
Works on linux for me - thus not reproducible |
Please execute this in a debugger and show me a stacktrace here |
All I can give you right now is a warning in the terminal: |
Is this still the case when using the official SDL2.dll? |
Just a hint for my future me: This is a triggered sdl assert which either brings up another window (that is maybe in the back) or waits for input on the console. This should usually not be active for release builds of the lib. |
I could no reproduce this with the official SDL! You need to test it with the current beta version, not the one build by us. Apart from that our SDL2 is far bigger (kbyte wise) than the official one. |
Oh yes, it crashes also with the beta version, but not every time. Seems random now. |
Please try a few older SDL versions |
I can confirm this on Fedora 41 on 1.7.0-beta1. I didn't get a backtrace though, WoP just appeared to freeze after starting a second game on padcastle and I had to kill it from |
can you maybe attach a gdb session to the wop process to get a stacktrace? |
@mgerhardy: I can add some more info. SDL 2.30.9 was released a few days ago (after our Beta1 release), so an update might be helpful. https://github.com/libsdl-org/SDL/releases/tag/release-2.30.9 When using the official 2.30.9 build, WoP only freezes for a few seconds when trying to connect to the server (connection screen) and when leaving an arena and returning to the main menu. The mouse loses its connection to the game cursor and the windows cursor appears briefly. So it freezes for a moment, but it does not crash in a way that I have to kill the process. This in fact extends the loading times a lot, so I guess there is still something wrong. The same thing happens when I use the official 2.30.8 build. Just a short freeze, unbound mouse, but no crash and no kill process. When I use our homemade 2.30.8 build the file size is 4 times bigger and the game freezes completely as described in the original ticket. So I am not sure if our SDL build is broken somehow. For a release I would add the official SDL files. Results from tests of older versions up to current one. I used the official build win32_x64.
|
Does not crash in Windows 10 any more with the original released SDL2 binaries |
Still crashes under Linux at least gdb output: `Fatal glibc error: pthread_mutex_lock.c:450 (__pthread_mutex_lock_full): assertion failed: e != ESRCH || !robust Thread 1 "wop.x86_64" received signal SIGABRT, Aborted. |
Linux uses our self build ones |
WoP crashes (no response) and without any error message if you have ended a match with Leave Arena, are back in the main menu and then want to start a new match via the Create menu. I can reproduce this 100% under Windows 10. I am not sure if this is connected to #279 but would guess yes, since it's the nearly same behaviour.
The text was updated successfully, but these errors were encountered: