MuseScore 4.4.2 hangs upon opening
Issue type
Crash or freeze
Description with steps to reproduce
- Open the program
- Wait while it is "Scanning audio plugins"
- The app then hangs
Supporting files, videos and screenshots
Sample of MuseScore Studio.txt
What is the latest version of MuseScore Studio where this issue is present?
Can't access the program, but it happens from 4.0.0 to the latest nightly build
Regression
Yes, this used to work in a previous version of MuseScore 4.x
Operating system
macOS Sequoia 15.0.1 (24A348)
Additional context
This used to work when I had the original MuseHub. When I installed the new MuseHub, and updated everything, it just stopped working.
I have tried removing the plugins from /Library/Audio/Plugins/VST3 and /Library/Audio/Plugins/Components I have tried removing the settings in ~/Library/Application Support/MuseScore/MuseScore4
When I went into Settings -> General -> Language & Region while the App was hanging and changed the order of a Preferred Language, MuseScore loaded and worked.
Checklist
- [X] This report follows the guidelines for reporting bugs and issues
- [X] I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
- [X] I have attached all requested files and information to this report
- [X] I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible
This part of the attached sample file:
+ 2400 muse::extensions::ExtensionsProvider::reloadPlugins() (in mscore) + 296 [0x10363e9bc]
+ 2400 muse::extensions::legacy::ExtPluginsLoader::loadManifestList(muse::io::path_t const&, muse::io::path_t const&) const (in mscore) + 408 [0x103626e54]
+ 2400 muse::extensions::legacy::ExtPluginsLoader::manifestList(muse::io::path_t const&) const (in mscore) + 120 [0x103627168]
+ 2400 muse::extensions::legacy::ExtPluginsLoader::parseManifest(muse::io::path_t const&, muse::io::path_t const&) const (in mscore) + 68 [0x103627690]
+ 2400 muse::io::File::readFile(muse::io::path_t const&, muse::ByteArray&) (in mscore) + 76 [0x102320c5c]
+ 2400 muse::io::FileSystem::readFile(muse::io::path_t const&, muse::ByteArray&) const (in mscore) + 176 [0x1022ecf70]
+ 2400 QIODevicePrivate::read(char*, long long, bool) (in QtCore) + 676 [0x108c12258]
+ 2400 QFileDevice::readData(char*, long long) (in QtCore) + 148 [0x108c05404]
+ 2400 ??? (in QtCore) load address 0x108bdc000 + 0x33110 [0x108c0f110]
+ 2400 read (in libsystem_kernel.dylib) + 8 [0x190f929b0]
suggests that it might not have to do with audio plugins, but with QML plugins.
Do you have anything in ~/Documents/MuseScore4/Plugins? If yes, does it help to (re)move that temporarily?
And is there perhaps a "MuseScore 4 wants to access files from your Documents folder" popup somewhere?
I did not get a popup for file access, but I did find a QML plugin called "MuseScore TempoChanges-3.3.0" in that folder. When I removed it, MuseScore worked as usual again.
It must have been there for a long time, but MuseScore has worked until now. It might be helpful to have some sort of check for invalid plugins in that folder and notify users in the future.
@onaforeignshore I can't reproduce it with this plugin https://github.com/jeetee/MuseScore_TempoChanges/releases/tag/3.3.0 in 4.4.2 on macOS13.6
Can you put back that plugin and check again please?
That may be because my folder contains this file in addition to the ones listed on the github
TempoChanges.qmlc
(I can't upload that file type here though)
Interesting.. Usually the file has .qml (and last version of MuseScore_TempoChanges has only .qml file)
Can you zip it and then attach here please?
Hm.. Can't reproduce with this file too..
@igorkorsukov Can this qmlc file be involved in the bug, what do you think?
I think it's more likely to be a macOS issue or an issue with your harddrive, given that it's hanging in read (in libsystem_kernel.dylib) + 8 [0x190f929b0].
(Also, @onaforeignshore , what about the comment that you deleted, about that restoring the file did not bring the issue back?)
@cbjeukendrup @DmitryArefiev I have found the culprit. I store my config files on Google Drive for portability between devices, and the issue was caused by Google Drive, not MuseScore. When I recreated my Google Drive folders and restored everything, MuseScore worked correctly again.
Good. Thanks for investigation!