Summary: | Crash on exit: Related to QtHelp plugin [DocumentationView::changedProvider] | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Kevin Funk <kfunk> |
Component: | Documentation viewer | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aleixpol, kfunk |
Priority: | NOR | Keywords: | junior-jobs |
Version First Reported In: | unspecified | ||
Target Milestone: | 5.0.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdevplatform/9167b7d2c814d4b17f7adc27e045868af30caa6c | Version Fixed In: | 5.0.0 |
Sentry Crash Report: |
Description
Kevin Funk
2016-03-11 11:11:44 UTC
This happens every time now. (I think it's related to the fact there's another documentation viewer installed now (PHP docs)). Turning into a release blocker. Can't reproduce and so can't Kevin. Removing the release blocker status. Git commit 9167b7d2c814d4b17f7adc27e045868af30caa6c by Kevin Funk. Committed on 13/07/2016 at 00:36. Pushed by kfunk into branch '5.0'. PluginController::allPluginsForExtension: Return set Make sure we return a unique set here, otherwise this may confuse the documentation controller (and probably other places as well). Scenario: Multiple plugins with the same plugin id in QT_PLUGIN_PATH (for whatever reason). In this case PluginController::allPluginsForExtension would return the same IPlugin instance for each of the available plugins => bogus. This caused a crash on exit in the documentation component for me, since I had multiple versions of kdevqthelp.so in QT_PLUGIN_PATH, and KDevelop created bogus entries in the providers list of the documentation controller. Crash is fixed with this patch. FIXED-IN: 5.0.0 M +2 -1 shell/plugincontroller.cpp http://commits.kde.org/kdevplatform/9167b7d2c814d4b17f7adc27e045868af30caa6c |