Open Fristover opened 11 months ago
Could you please send us diagnostic info (from the diagnostic menu > Save diagnostic file) so we can try and identify what's going on in your specific case? Thanks!
@Fristover Thank you for the info! I see that you're using the portable version. Unfortunately, due to technical reasons, we can't identify the issue with the portable version. Could you please use the non-portable version(last 4.2.1 builds), reproduce the crash, and send us diagnostic info?
@Fristover were you able to reproduce this crash using a non-portable version? (I note that we already have numerous issues relating to this crash – it is a known issue! So we may end up closing this as there doesn't seem to be anything specific in the reproduction steps that could help us here).
Oops, haven't tried it, I surely can reproduce it so I'll try to send the files today.
oopsbutnotportable.zip Here, taken from release 4.2, installed through the Hub.
@Fristover Thank you for the information.
From the crash dumps, it is evident where the crash occurs - when deleting mixer objects. It might be related to https://github.com/musescore/MuseScore/issues/9467, but the dump files are different.
Could you provide the score on which you are reproducing the crash? The score is needed to understand what mixer objects you are creating and in what quantity.
Also, if you have time, could you test this build? (It's a build from a PR that might fix the afore mentioned issue)
Sure! Here's the last score the issue happened with (though this happens with every score randomly, can't really find a file that reproduces this every time or anything similar, sadly):
I'm gonna comment again when I test the mentioned build, hope it works!
Ok it almost made me think it was fixed on that build but got a crash after many attempts, attaching the diagnostic files and the score just in case it's a different issue:
Journey_To_the_Island.mscz.zip (Yes, that one, just ignore it, xD)
@Fristover Good news - I can reproduce the crash on your score. Another good news - I also see that solution https://github.com/musescore/MuseScore/pull/14790 fixes the crash.
About the new crashes: From your logs, I can see that you are trying to close the project during an active export. To reproduce this crash, the user simply needs to press Ctrl+W with the export progress dialog open, for example, when exporting to MP3. However, the user can also do this when exporting to formats that don't have a progress dialog simply by quickly pressing Ctrl+W after closing the export dialog.
I notice that the export code doesn't account for this behaviour, and yes, it's a bug that needs fixing. However, this case is different from the one described in this issue (just closing the project without an active export).
If that's the case, I suggest closing this issue, marking it as a duplicate of #9467, and opening a new one specifically for the active export case, if it doesn't already exist.
@bkunda @DmitryArefiev FYI
Oh, that's curious, I did start an export but cancelled it, then closed the score a while after the dialog disappeared, didn't think that was the cause, haha.
Anyway, glad the main issue is fixed, I guess it's fine to close it. 😁
Uuhhhh, it's happening again... 3 times today...
Diagnostic files and one of the affected projects here:
https://www.dropbox.com/scl/fo/x356lrpw7ya44zi0yn5uo/h?rlkey=zurkprh3bhoava37xxafvz9f0&dl=0
Can't reproduce on my side with the attached score..
@Fristover Are you using MuseScore 4.2.1 (Installed version)?
It's on every score, that's just the last one where it happened until then
I am using the installed version of 4.2.1, yes (though the Muse Hub still says there's an update [to the same exact version] and fails every time it tries to install it...)
Note that https://github.com/musescore/MuseScore/pull/14790, which would fix the crash according to Elnur, has (still) not been merged yet. You can try it out, using these instructions: https://github.com/musescore/MuseScore/wiki/Downloading-and-running-test-builds#downloading-builds-from-pull-requests (@DmitryArefiev Actually it would be great if you could test and merge that PR 😊)
@cbjeukendrup Tested. I left a comment in PR
Issue type
Crash or freeze
Bug description
Sometimes, when you close a project, the currently running MS instance crashes instead of taking you to the home screen, I have not been able to find a pattern on this since it just randomly happens even when not doing any changes to the score.
Doesn't matter how many instances are running, the behavior is exactly the same.
Steps to reproduce
Screenshots/Screen recordings
No response
MuseScore Version
4.2 Release
Regression
No.
Operating system
Windows 11, latest canary build
Additional context
This has been a thing since the first MS4 build I've tried, I thought this was already reported... (I'll try to update this once I find anything that could be useful, though I haven't found anything for the past year so my expectations are really low)