Persistent crashes on closing Musescore 4.2.0.2x on Mac MIni M1, "PC register does not match ..."
When I close Musescore, it frequently (but not always) crashes. I'm using a Mac Mini M1,2020, with Sonoma 14.2.1. This started happening after I upgraded to the most recent version of Musescore 4 for Mac (see revision info attached). It is still happening as of Jan. 18, 2024.
The crash report from Apple includes:
"Notes: PC register does not match crashing frame (0x0 vs 0x139249C44)". See two crash reports attached.
Unfortunately, I can't replicate it on demand. In general, I:
1. Open Musescore
2. Open a Musescore file
3. Edit the file (editing may not be necessary)
4. Save the file (it doesn't matter what steps I take to save the file)
5. Repeat steps 2-4 if I have more songs to work on
6. Close Musescore by clicking the red dot in the upper left hand corner (typical Mac close).
7. Musescore seems to close but then it crashes.
Once it happens, it persists until I shut down my Mac, which I do nightly.
This behavior hasn't seemed to affect the scores themselves, but its a nuisance.
PS - I like the version 4 UI changes very much. There are so many more things I can do simply because of the way they're grouped under Palettes, Instruments, and Properties. Thank you!
Janet E.
Attachment | Size |
---|---|
Musescore revision info 2024-01-18 at 9.37.09 AM.png | 67.41 KB |
Comments
Here's the bug reports:
I wouldn’t use the nightly for scores. It is still in progress.
In reply to I wouldn’t use the nightly… by Asher S.
Hi, hamsandwichnow -
Thanks for the advice, but I don't think this is a nightly. I don't know where to find a nightly. I had a message in Musescore about updating, so I did, several weeks ago.
4.2.0.233521125
rev: 3b8d33c
In reply to Hi, hamsandwichnow - Thanks… by Janet E.
Interesting. I’m still on 4.2.0. I didn’t receive any notification. But also that name looks like a nightly.
In reply to Hi, hamsandwichnow - Thanks… by Janet E.
It says on the front page of .org that the current version is 4.2, not 4.2.0.233521125.
In reply to It says on the front page of… by Asher S.
"It says on the front page of .org that the current version is 4.2, not 4.2.0.233521125."
You missed something. 4.2 yes, but what do you see in menu "Help" -> About Musescore?
This:
In reply to "It says on the front page… by cadiz1
Has this been what 4.2 is the whole time?
In reply to Has this been what 4.2 is… by Asher S.
Yes
Judging from the crash report, this is the same problem as https://github.com/musescore/MuseScore/issues/20809, which apparently miraculously fixed itself...
In reply to Judging from the crash… by cbjeukendrup
Hi, cbjeukendrup - thanks for looking at my crash logs. I looked up the github 20809, and the other one it references. I like your idea about Qt, since it is cross-platform and the note references "PC register".
However, the problem hasn't gone away. No miracles for me. It is still a frequent but intermittent problem. I ran some tests and am attaching results from today (January 19).
Basic test:
- Open Musescore.
- Select song from display.
- Action: Edit, Export or no action.
- Save song (File, Save).
- Close song (x on song tab)
- Close Musescore (red dot in upper left corner).
Result: CRASH or everything closed OK
Action: edit song
CRASHED. 2024-01-19 13:11.
Shut down computer, went for a walk, restarted computer.
Then:
Action: Edit song
CRASHED: 2024-01-19 14:00
Action: Edit song
CRASHED: 2024-01-19 14:15
Action: Edit and Export song
CRASHED: 2024-01-19 14:20
Ran 4 tests with no crashes:
a. Action: none (no edit, no save, no export, just open and close)
b. Action: Export to PDF
c. Action: Edit
d. Action: Edit
Action: Export song to PDF
CRASHED: 2024-01-19 14:52
I am running:
MacMini M1, 2020. 8 GB memory.
Sonoma 14.2.1
Musescore 4.2.0.233521125, rev. 3b8d33c
Qt 5.15.9
Attached please find a zip file of crash logs, numbered to match tests.
I hope this helps.
PS. While this problem is irritating, it doesn't seem to harm my files or exports.
In reply to Hi, cbjeukendrup - thanks… by Janet E.
Same computer, same OS, same problem. This has been a constant issue for months....Apple must be tired of getting these...
In reply to Same computer, same OS, same… by Jacksonian
I was thinking the same thing…
In reply to Same computer, same OS, same… by Jacksonian
“Pc register does not match crashing frame”
In reply to Same computer, same OS, same… by Jacksonian
Thanks for letting me know you're experiencing this crash, too, same computer model, same OS. It only started happening to me when I upgraded to Musescore 4.2.
Musescore 4.2.0.233521125 was released on December 18, 2023,
per https://github.com/musescore/MuseScore/releases
Sonoma 14.2.1 was released on December 19, 2023,
per https://en.wikipedia.org/wiki/MacOS_Sonoma
As it happens, I upgraded to each of those right away. So it looks to me as though neither Apple nor Musescore had a chance to test against each others' production product.
I'll stop reporting this problem and wait for the next set of releases.
In reply to Hi, cbjeukendrup - thanks… by Janet E.
The text about "PC register …" is probably not relevant here. I'm don't really know what it refers to, but most likely not to "Personal Computer" nor "non-Mac computer". The most interesting part of the crash log is often what comes below that: that is where the developers can see which parts of the code were being performed at the point that the crash occurred.
It turns out to be the same crash as https://github.com/musescore/MuseScore/issues/18572, which apparently also affects some Macs, and not only Linux as was thought back then.
The good news is that it has been fixed for Linux, but the bad news is that the fix for Linux introduced other problems on macOS (namely that the menu bar didn't work at all...).
Anyway, that does give us some information about in which direction to look for a solution.
In reply to It turns out to be the same… by cbjeukendrup
Thanks!
In reply to It turns out to be the same… by cbjeukendrup
Hi, cbjeukendrup -
I upgraded to Musescore 4.2.1 today. Coincidentally, MacOS put out a Sonoma upgrade to 14.3 today, so I thought I'd collect some data for you.
Musescore 4.2.1 before the Sonoma upgrade: Musescore crashed on close after edit and export. I wasn't surprised, since this problem wasn't in the list of fixes. See crash report for 2024-01-25 4:05pm.
Musescore 4.2.1 after I upgraded to Sonoma 14.3: Musescore 4.2.1 crashed on close after edit. See crash report for 2024-01-25 6:58pm.
But while I was making the edit in Musescore 4.2.1 on Sonoma 14.3, Musescore crashed. I was editing a System Text, and I was surprised. When I reopened the score, there was no damage. See crash report for 2024-01-25 6:56pm.
Hope this helps.
Janet
In reply to Hi, cbjeukendrup - I… by Janet E.
MuseScore 4.3 still crashes on quit, here.
MacBookPro 16" 2021, M1 Max, 64 GB, Sonoma 14.4.1
Update: this should be fixed in MuseScore 4.3 (see https://github.com/musescore/MuseScore/issues/21252).
You can already try the nightly builds from https://musescore.org/en/nightly-builds.
In reply to Update: this should be fixed… by cbjeukendrup
deleted
In reply to Update: this should be fixed… by cbjeukendrup
Hi, cbjeukendrup - I'm sorry, but this problem is not fixed in MuseScore 4.3.
I installed Musescore 4.3 this afternoon on my Mac Mini M1 Sonoma 14. I wasn't deliberately testing for this problem, but it happened once. It doesn't happen every time I close Musescore.
- Open Musescore
- Find and open file
- Edit something
- Close file by clicking X in the main score tab
- Close Musescore by clicking the red dot.
See log attached.
Thanks for working on the problem, sorry it keeps happening.
Regards
Janet
In reply to Hi, cbjeukendrup - I'm sorry… by Janet E.
That's unfortunate! We'll continue trying to get to the bottom of this!
In reply to That's unfortunate! We'll… by cbjeukendrup
Thanks! .... Just a few thoughts - is it possible that this behavior is related to Muse Hub or Muse Sampler? I have an old copy of Muse Hub that I don't use (created January 7, 2023 12:21am), and I don't have Muse Sampler.
In reply to Update: this should be fixed… by cbjeukendrup
Musescore 4.3.0
MacBook Pro M1 16 GB
Sonoma 14.4.1
MuseScore systematically crashes upon closing, log attached.
In reply to Musescore 4.3.0 MacBook Pro… by Papapalifico
I have the same problem
Musescore 4.3.1
MacBook Pro - Apple M1 Pro 16 Gb
Sonoma 14.5
In reply to I have the same problem… by rluceroi
I am having a similar problem. Mostly on startup, but also on shut down. I opened an issue on the GitHub and uploaded some crash files. Hoping this will get resolved as this has been happening to me off and on since 4.0.0
MuseScore 4.3.2
Mac Mini - Apple M1 16 GB
Sonoma 14.5
In reply to Update: this should be fixed… by cbjeukendrup
Hi, Cbjeukendrup - I'm just reporting that this crash happened to me again in 4.3.2 on June 28, 2024, once. See log attached.
I'm pleased that the frequency of crashes like this has dropped significantly since 4.3.0. I had one in May with 4.3.0, none with 4.3.1, and this one with 4.3.2.
I don't know if this helps, but the crash occurred while editing files that I hadn't touched since July 2023 with 4.0.2.