https://bugs.kde.org/show_bug.cgi?id=360405

Kevin Funk <kf...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/kdev
                   |                            |platform/9167b7d2c814d4b17f
                   |                            |7adc27e045868af30caa6c
             Status|CONFIRMED                   |RESOLVED
   Version Fixed In|                            |5.0.0

--- Comment #3 from Kevin Funk <kf...@kde.org> ---
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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to