[Digikam-devel] [Bug 261964] digikam2 crashes when trying to open confiure digikam

Marcel Wiesweg marcel.wiesweg at gmx.de
Mon Jan 3 15:07:21 GMT 2011


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





--- Comment #2 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-01-03 16:07:19 ---
I'm not sure if a plugin can have no actions. But the lines
        if (d->plugin->actions()[0])
            return d->plugin->actions()[0]->icon();
do not prevent a crash in that case, it should be
        if (d->plugin->actions().isEmpty() && d->plugin->actions().first())
            return d->plugin->actions().first()->icon();
(where the second check may be paranoid)

If that is not the problem, I would assume that an old, binary-incompatible
kipi-plugin is loaded.
What happens if a service for a plugin based on libkipi.so.7 is loaded from a
host based on libkipi.so.9? Will d->service->createInstance fail in that case,
as it should?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list