Funkin icon indicating copy to clipboard operation
Funkin copied to clipboard

Bug Report: Crash when pressing Escape while navigating alternate instrumental selector

Open AndrePingu opened this issue 4 months ago • 6 comments

Issue Checklist

  • [x] I have read the Contributing Guide
  • [ ] I have checked the Issues/Discussions pages to see if my issue has already been reported
  • [x] I have properly titled my issue

Platform

Linux (Downloadable Build)

Browser

None

Mobile Device Model

No response

Mobile OS Version

No response

Version

0.7.3

Description (include any images, videos, errors, or crash logs)

I tried to use bug #5646 with more then he showed in the bug report by doing everything thats in "Steps to Reproduce"

Files: https://drive.google.com/drive/folders/1NwKOciaxK3j85iM8N6FtLERxJZtkmzi4?usp=sharing

Steps to Reproduce

  1. Go to a song that has alternative instrumentals
  2. Press Esc, Left and Right at the same time
  3. Do it until it happens

(Note: it happens fully randomly and may take longer then shown in the video)

AndrePingu avatar Aug 04 '25 07:08 AndrePingu

Bro reporting a bug in a bug

JackXson-Real avatar Aug 04 '25 07:08 JackXson-Real

Bro reporting a bug in a bug

Yup

AndrePingu avatar Aug 04 '25 07:08 AndrePingu

It seems that the same crash occurs even when Escape, Enter, Escape, and the left and right arrow keys are quickly pressed in that order.

https://github.com/user-attachments/assets/0b2007c2-fadf-4c3f-8391-f595ec736100

Msguro avatar Aug 04 '25 08:08 Msguro

It seems that the same crash occurs even when Escape, Enter, Escape, and the left and right arrow keys are quickly pressed in that order. bandicam.2025-08-03.17-19-47-840.mp4

Nice find

AndrePingu avatar Aug 04 '25 08:08 AndrePingu

https://github.com/FunkinCrew/Funkin/issues/3890

This is the exact same bug as this closed issue, which I don't get.

That timer is cancelled when the capsule options menu is closed.

Lasercar avatar Aug 04 '25 11:08 Lasercar

I think that's because the timer gets replaced by a new instance every time moveShitDown is called. The timer that gets replaced isn't being canceled but instead the one that replaced it. I think a fix would be to cancel the timer before it's replaced or create the timer on the initialization and call start on it.

NotHyper-474 avatar Aug 04 '25 21:08 NotHyper-474