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

MelodyMania crashes requiring forced reboot of windows #466

Open
pagdot opened this issue Aug 11, 2024 · 4 comments
Open

MelodyMania crashes requiring forced reboot of windows #466

pagdot opened this issue Aug 11, 2024 · 4 comments

Comments

@pagdot
Copy link

pagdot commented Aug 11, 2024

Issue type: Bug report

Actual behaviour

When browsing to the song (not yet opening, just switching around in the song selection) the game freezes and can't be closed, force closed using windows close task popup, task manager or even taskkill /F/IM "melody mania.exe" (something like can't kill process with id 123. A task with this pid was not found). Had to force reboot windows.

This issue happened two times. First after leaving the game alone for ~2h after initial start and preparation. As soon as (I guess cached items) were exhausted and it had to load things from the disk. Second time happened when browsing to a new song.

My guess is an issue with the controller on the external drive containing the songs. USDX had never these issues. Switched to USDX after the second crash and ran stable for a few more hours.

Tried to browse to the songs it crashed on while writing the issue and worked flawless. So probably not related to the song-files themselves.

Expected behaviour

No crash. Or at least a clean one

Steps to reproduce

Happened due browsing of songs. Can't reproduce it directly.

Details

Provide some additional information:

  • Melody Mania version: 1.4.0
  • Windows 11
  • Logs: Extracted windows event log and mm log. Nothing obvious in MM log (last lines where about loading video and audio of song). Would prefer to send them directly over discord and not put them publicly out here.

Further notes/my thoughts

Pretty sure the issue is related to the usb m.2 sata controller. Although USDX had neither before nor after issues with this drive. Can try the next time when I do karaoke to attach a debugger to get a stack trace or something.

I am aware that this is probably isn't something which can be resolved with the current information

@achimmihca
Copy link
Collaborator

Hi, thanks for the bug report.

It would be interesting to have a log file if this happens again. For such a crash, the file Player.log includes some more details.
See here to find the log file.

This issue happened two times. First after leaving the game alone for ~2h after initial start and preparation. As soon as (I guess cached items) were exhausted and it had to load things from the disk.

Would be nice to know if the issue is reproducible like this.
If the uptime is important then I could also imagine a memory leak.

@achimmihca
Copy link
Collaborator

Recently, I also had a similar behaviour: game took unusually long to scroll to the next song.
At first, it seemed like a freeze but after some time (say a minute or two), it continued just fine.

I could imagine that there is some file operation that causes this delay. Maybe because the OS needs to fetch some files.

So next time this happens it would be nice to do two things

  • wait 5 minutes and see if it continues normally after a while
  • if it does not continue after a while, try to grab the log, including Player.log file

@pagdot
Copy link
Author

pagdot commented Sep 14, 2024

Here is my Player.log

Will try to reproduce it in the future and check if it will resolve on its own.

@achimmihca
Copy link
Collaborator

Thanks for the log, but this one did not contain a crash.
When the crash happens, please copy attach the file again.

Note that the file is overwritten on each start of the game. So if the crash happens, please make a copy of the log file immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants