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.
Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV) Original Redmine Issue: 16439 Affected QGIS version: 2.18.5 Redmine category:plugin_manager Assignee: Mathieu Pellerin - nIRV
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.