Skip to content
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

F3 ScreenGameplay restart crashes (overflow?) #23

Closed
PCBoyGames opened this issue Jul 8, 2020 · 3 comments
Closed

F3 ScreenGameplay restart crashes (overflow?) #23

PCBoyGames opened this issue Jul 8, 2020 · 3 comments
Labels
Engine: Gameplay Gameplay Related Issues Platform: Linux Affects Linux on Desktop computers Platform: Windows Affects Windows Operating System Status: Rabbit Hole! This issue has lead to other issues or a fun journey with many cursed items to be found Type: Bug Something is broken in the code Type: Upstream Bug Bug inherited from upstream
Projects

Comments

@PCBoyGames
Copy link

!m_pSoundMusic->IsMusicPlaying() failed assertion occupies the crash reason when using the F3 gameplay restart. Squirrel tells me it’s trying to play a null sound, but now it’s seeming strangely likely to be more than that.

Sent with GitHawk

@JoseVarelaP JoseVarelaP added Engine: Gameplay Gameplay Related Issues Community: Help Wanted Extra attention is needed labels Jul 18, 2020
@Scraticus Scraticus added Type: Bug Something is broken in the code Status: Investigating We are looking into this one! Platform: Linux Affects Linux on Desktop computers Type: Upstream Bug Bug inherited from upstream Platform: Windows Affects Windows Operating System labels Jul 18, 2020
@Scraticus
Copy link
Member

Confirmed, this doesn't seem to have a fully completed codepath, however, we can utilise the options from the pause menu with some checks to do this properly in the future.

The sound and thread overflow and cause a race condition in the current code, and this behaviour just needs to be programmed into that path.

Another rabbit hole worthy bug :)

@Scraticus Scraticus added this to the Alpha 5.0.0 milestone Jul 18, 2020
@Scraticus Scraticus added the Status: Rabbit Hole! This issue has lead to other issues or a fun journey with many cursed items to be found label Jul 18, 2020
@Scraticus Scraticus removed this from the Alpha 5.0.0 milestone Jul 27, 2020
@Scraticus
Copy link
Member

I'm not sure what we're going to do on this one.

Talking to some of the older developers, it seems the code was never written to reset gameplay using the operator menu. I mean why would you ever need to when we have pause?

I'm going to talk with the team on a solution, it is a bug due to the crash, but we need to decide to disable it, or to maybe write a new codepath for it.

@Scraticus Scraticus added this to New Issues in OutFox Mar 7, 2021
@JoseVarelaP
Copy link
Member

Figured out what happened here. Audio was getting into a position where it would be impossible to play anymore, so that's dealt with.

OutFox automation moved this from Unsorted New Issues to Done Apr 22, 2021
@moruzerinho6 moruzerinho6 removed Community: Help Wanted Extra attention is needed Status: Investigating We are looking into this one! labels Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engine: Gameplay Gameplay Related Issues Platform: Linux Affects Linux on Desktop computers Platform: Windows Affects Windows Operating System Status: Rabbit Hole! This issue has lead to other issues or a fun journey with many cursed items to be found Type: Bug Something is broken in the code Type: Upstream Bug Bug inherited from upstream
Projects
Development

No branches or pull requests

4 participants