Hello,
I'm using the latest build for Winx64 (from July, 23) and I'm getting some random frequent crashes at level exits (not a certain one). I'm on Win7 64 bits and I saw this happening with Wolf3d 1.4 and SOD. Haven't tested with other versions yet. Any further information that would help to identify the problem? Thanks.
Random crashes when flipping elevator switch
Moderator: Blzut3
-
- Posts: 76
- Joined: Wed Jun 25, 2014 1:08
-
- Developer
- Posts: 491
- Joined: Sun Jan 24, 2010 22:21
Re: Random crashes when flipping elevator switch
Yeah the best thing you can do is to try the previous versions and see if you can find which build starts crashing. I haven't run into crashes exiting levels myself, but some of that code did get touched recently so it's not implausible that a recent change is unstable.
-
- Posts: 76
- Joined: Wed Jun 25, 2014 1:08
Re: Random crashes when flipping elevator switch
The worst thing about it is that is completely random. I could not reproduce the ones I got earlier.
EDIT: I have been able to reproduce and it crashes on about half of the attempts. Most of the times the elevator switch sound keeps playing on loop.
EDIT: I have been able to reproduce and it crashes on about half of the attempts. Most of the times the elevator switch sound keeps playing on loop.
-
- Developer
- Posts: 491
- Joined: Sun Jan 24, 2010 22:21
Re: Random crashes when flipping elevator switch
Good news is I seem to have reproduced the issue in testing today.
-
- Posts: 76
- Joined: Wed Jun 25, 2014 1:08
Re: Random crashes when flipping elevator switch
That's excelent news. Any clues on what's causing it?
-
- Developer
- Posts: 491
- Joined: Sun Jan 24, 2010 22:21
Re: Random crashes when flipping elevator switch
Sadly, upon trying to debug it today the issue disappeared so I have no clue (unless I happened to fix it in the process of fixing the Windows build). Can seemingly run through an entire episode worth of exits without a crash now.
-
- Posts: 76
- Joined: Wed Jun 25, 2014 1:08
Re: Random crashes when flipping elevator switch
A quicker way I found to reproduce it with some tries is to load E6L1 with noclip and use the elevator.
-
- Developer
- Posts: 491
- Joined: Sun Jan 24, 2010 22:21
Re: Random crashes when flipping elevator switch
The issue seems to be a crash in the sound code, so in theory with sound disabled it should not crash.
I can, however, only seem to be able to reproduce the crash in multiplayer with other people physically present. I can exit levels all day by myself even using three different computers in a net game just like the test scenario.
The mutexes look fine, but it seems like it must be some kind of race condition as TUniquePtr and FString appear to be double freeing.
I can, however, only seem to be able to reproduce the crash in multiplayer with other people physically present. I can exit levels all day by myself even using three different computers in a net game just like the test scenario.
The mutexes look fine, but it seems like it must be some kind of race condition as TUniquePtr and FString appear to be double freeing.
-
- Posts: 76
- Joined: Wed Jun 25, 2014 1:08
Re: Random crashes when flipping elevator switch
I'll try your latest build to see how it goes. Thanks again.
EDIT: Seems to be working fine now.
EDIT: Seems to be working fine now.