Crash on new plugin when opening plugin manager and if link is present

• Mar 13, 2015 - 13:17
S3 - Major

Windows 7 (Enterprise, 64bit), MuseScore 2.0 RC (but most probably earlier releases too)

  1. start MuseScore
  2. create a link in the private plugin directory (Alt-drag in Explorer, a real pity that Windows doesn't porperly support hard or soft links like Linux)
  3. copy a plugin into the private plugin folder
  4. start plugin manager

expected result: the new plugin shows up in the list of selectable plugin, possibly even the one the link points at.

actual result: crash

After restart that plugin does show up in plugin manager and works too.
Tested with 2 different plugins, colorvoices and notenames

It is a crash, but pretty much a rare corner case I guess, so only major ;-)

No stack trace only this:

Debug: Collect meta for <.../Plug-Ins/ColorVoices.qml> (...\MuseScore\mscore\mscorePlugins.cpp:463, void Ms::collectPluginMetaInformation(Ms::PluginDescription*))
Fatal: ASSERT failure in QList::operator[]: "index out of range", file C:/Qt/5.4/mingw491_32/include/QtCore/qlist.h, line 486 (:0, )

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.


Status (old) active needs info

Actually, I cannot reproduce reliably, although I saw it once.

Would it be possible to get a more precise series of steps starting from a factory reset? I think it probably depends on things like whether you have already run the Plugin Manager during this session, whether MuseScore has already written & read preferences, etc.

Title Crash on new plugin when openiong plugin manager and if link is present Crash on new plugin when opening plugin manager and if link is present
Status (old) needs info active
  1. delete C:\Users\USER\AppData\Local\MuseScore\MuseScoreDevelopment\plugins.xml
  2. empty C:\Users\USER\Documents\MuseScoreDevelopment\Plug-Ins
  3. start MuseScore
  4. create any link in C:\Users\USER\Documents\MuseScoreDevelopment\Plugins
  5. copy valid plugin to C:\Users\USER\Documents\MuseScoreDevelopment\Plugins
  6. open Plugin Manager

--> crash

I can't reproduce. Jojo on IRC mentioned that it can't reliably reproduce either.
Link are just .lnk files on windows so they should be skipped.

I can't see how LNK files could affect things, and I also couldn't replicate the problem, but I wonder if the problem has to do with moving/changing plugins while MS is running.