Bug report #16439
QGIS crashes on startup when plugin manager last closed viewing the settings tab
|Mathieu Pellerin - nIRV
|Affected QGIS version:
|Pull Request or Patch supplied:
|Crashes QGIS or corrupts data:
|Copied to github as #:
QGIS will crash on startup when a user last closed his/her plugin manager viewing the settings tab.
The long story short here is that due to the plugin manager's not having the same amount of optionStacks and optionList items, the settings stack index is 1, while the optionList index is 3; QgsOptionDiloagBase saving/restoring sets both the optionList and optionStack index to the latter. In the context of the plugin manager, this leads to the dialog trying to update its window title upon creation using mModelProxy's mModelPlugins which isn't initialized and crashes QGIS.
The only way to fix this is either via editing QGIS2.conf/QGIS3.conf and manually changing the PluginManager\\tab value back to 0, or delete the whole file. I imagine this must have silently affected a number of users who couldn't dissect crash properly.
Fix coming in soon.