Random crashes when flipping elevator switch

Post a reply

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: :angel: :angry: :beer: :bfg: :chaingun: :cheers: :blergh:
View more smilies

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1.5 MiB.

Expand view Topic review: Random crashes when flipping elevator switch

Re: Random crashes when flipping elevator switch

by filipetolhuizen » Sun Sep 25, 2022 1:17

I'll try your latest build to see how it goes. Thanks again.
EDIT: Seems to be working fine now.

Re: Random crashes when flipping elevator switch

by Blzut3 » Fri Sep 23, 2022 4:36

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.

Re: Random crashes when flipping elevator switch

by filipetolhuizen » Sat Sep 03, 2022 18:06

A quicker way I found to reproduce it with some tries is to load E6L1 with noclip and use the elevator.

Re: Random crashes when flipping elevator switch

by Blzut3 » Mon Aug 29, 2022 1:54

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.

Re: Random crashes when flipping elevator switch

by filipetolhuizen » Mon Aug 29, 2022 0:46

That's excelent news. Any clues on what's causing it?

Re: Random crashes when flipping elevator switch

by Blzut3 » Mon Aug 22, 2022 2:45

Good news is I seem to have reproduced the issue in testing today.

Re: Random crashes when flipping elevator switch

by filipetolhuizen » Tue Jul 26, 2022 4:22

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.

Re: Random crashes when flipping elevator switch

by Blzut3 » Mon Jul 25, 2022 1:07

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.

Random crashes when flipping elevator switch

by filipetolhuizen » Mon Jul 25, 2022 1:01

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.

Top