MuseScore crashes when opening plugin manager after adding new plugin
Reported version
3.0
Type
Plugins
Severity
S2 - Critical
Status
needs info
Regression
No
Workaround
No
Project
Start MuseScore, add a new plugin (that hadn't been registered before) while running to the plugins directory, open plugin manager. A segfault will appear:
Collect meta for
Collect meta for
Segmentation fault
Comments
This sounds likely to be the same as #50511: Crash on new plugin when opening plugin manager and if link is present, unfortunately we have been unsuccessful in finding a series of steps to reproduce this reliably. Can you be more specific about the *precise* steps you are following, incl;uding listing what plugins you currently have in your plugins folde,r which are currently installed, etc?
See https://musescore.org/en/node/260351
Step to reproduce (copied from 260351)
When I just rename any plugin at step 3 - no crash.
This happens in my version 2.1 and 2.2 072c135 on windows 10 as well.
See #265842: Crash when opening plugin manager after adding a plugin in the folder, were there is an assertion failure
This is still present in version 2.3-RC.
Fixed in branch 2.3, commit 7357da22f7
fix #76751: crash when opening plugin manager
The reason was not updated plugins list as local Preferences variable. It was updated only after the for loop, but setData() calls pluginLoadToggled() which seeks for the actual plugin in the list.
reopen for master
master should not be affected
postpone testing this more thoroughly once the plugin framework in master becomes more stable
Steps to reproduce in the latest musescore version?