Summary: | digiKam crash at startup | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | terri.bugs |
Component: | Plugin-Bqm-Rotate | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andrew.i.coles, bikon771, caulier.gilles, xosecalvo |
Priority: | NOR | ||
Version: | 1.8.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 1.9.0 | |
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
terri.bugs
2011-02-06 20:31:25 UTC
Where have you installed digikam/kipi-plugins? If it's not /usr, you need to use the following recipe to force the correct versions of the libraries to be loaded: export LOCALDIR=/path/where/you/have/installed/digikam export PATH=$LOCALDIR/bin:$PATH export LD_LIBRARY_PATH=$LOCALDIR/lib:$LD_LIBRARY_PATH export KDEDIRS=$LOCALDIR:/usr export KDE_FORK_SLAVES=1 kbuildsycoca4 digikam Created attachment 57189 [details]
New crash information added by DrKonqi
digikam (1.8.0) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.0
When I start digiKam I see the splash screen then it crashes
-- Backtrace (Reduced):
#6 deref (this=0x7ffff8b76e60, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:133
#7 QVariant::~QVariant (this=0x7ffff8b76e60, __in_chrg=<value optimized out>) at kernel/qvariant.cpp:1407
[...]
#10 0x00000000005c1573 in Digikam::DigikamApp::slotKipiPluginPlug (this=0x24ee5e0) at /build/buildd/digikam-1.8.0/digikam/digikamapp.cpp:2555
#11 0x00000000005d8b8d in Digikam::DigikamApp::qt_metacall (this=0x24ee5e0, _c=QMetaObject::InvokeMetaMethod, _id=24, _a=0x7ffff8b77530) at /build/buildd/digikam-1.8.0/obj-x86_64-linux-gnu/digikam/digikamapp.moc:230
[...]
#13 0x00000000005c7666 in Digikam::DigikamApp::loadPlugins (this=0x24ee5e0) at /build/buildd/digikam-1.8.0/digikam/digikamapp.cpp:2495
Not reproducible here... Gilles Caulier Once again, looks like a crash from running the beta version of digikam, with an older version of digikam and/or kipi-plugins installed. bikon771 - see my earlier post in this bug thread. It should, in theory, allow you to run the digikam beta without uninstalling your older version, though note this is entirely unsupported. *** Bug 266576 has been marked as a duplicate of this bug. *** I can reproduce the crash here, with 2.0.0, but only when plugins are reloaded after to open Setup dialog. I identified that crash is about JPEGLossLess plugin actions. Gilles Caulier My trace : Thread 1 (Thread 0xafaa7930 (LWP 23827)): [KCrash Handler] #6 0xb4dfab00 in ?? () from /usr/lib/libQtGui.so.4 #7 0xb4e4054b in QWidget::insertAction(QAction*, QAction*) () from /usr/lib/libQtGui.so.4 #8 0xb5ad1130 in ?? () from /usr/lib/libkdeui.so.5 #9 0xb5ad2631 in ?? () from /usr/lib/libkdeui.so.5 #10 0xb5ad287c in ?? () from /usr/lib/libkdeui.so.5 #11 0xb5ad28f4 in ?? () from /usr/lib/libkdeui.so.5 #12 0xb5ad28f4 in ?? () from /usr/lib/libkdeui.so.5 #13 0xb5acb3e1 in KXMLGUIFactory::plugActionList(KXMLGUIClient*, QString const&, QList<QAction*> const&) () from /usr/lib/libkdeui.so.5 #14 0xb5ac2119 in KXMLGUIClient::plugActionList(QString const&, QList<QAction*> const&) () from /usr/lib/libkdeui.so.5 #15 0x0824bf29 in Digikam::DigikamApp::slotKipiPluginPlug (this=0x8bd6828) at /mnt/data/Devel/GIT/2.x/core/digikam/digikamapp.cpp:2722 #16 0x08232bec in Digikam::DigikamApp::qt_metacall (this=0x8bd6828, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfaa05ec) at /mnt/data/Devel/GIT/2.x/core/digikam/digikamapp.moc:231 #17 0xb47b9ded in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #18 0xb47c8c5a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #19 0xb6fff465 in KIPI::PluginLoader::replug (this=0x9285678) at /mnt/data/Devel/GIT/2.x/extra/libkipi/libkipi/pluginloader.moc:103 #20 0xb7000f8e in KIPI::ConfigWidget::apply (this=0xb687148) at /mnt/data/Devel/GIT/2.x/extra/libkipi/libkipi/pluginloader.cpp:447 #21 0x08128545 in Digikam::SetupPlugins::applyPlugins (this=0xb684e48) at /mnt/data/Devel/GIT/2.x/core/utilities/setup/setupplugins.cpp:112 #22 0x08109d9b in Digikam::Setup::slotOkClicked (this=0xa87ec50) at /mnt/data/Devel/GIT/2.x/core/utilities/setup/setup.cpp:452 #23 0x08104c52 in Digikam::Setup::qt_metacall (this=0xa87ec50, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfaa07bc) at /mnt/data/Devel/GIT/2.x/core/digikam/setup.moc:72 It crash when JPEGLossLess actions are managed by digiKam plugin loader... If i uninstall JPEGLossLess plugin, digiKam do not crash Gilles Caulier Valgrind cry about an invalid Action deletion : ==27669== Invalid read of size 4 ==27669== at 0x62D2537: QWidget::insertAction(QAction*, QAction*) (in /usr/lib/libQtGui.so.4.6.2) ==27669== by 0x602712F: ??? (in /usr/lib/libkdeui.so.5.4.0) ==27669== by 0x6028630: ??? (in /usr/lib/libkdeui.so.5.4.0) ==27669== by 0x6FDBFF3: ??? (in /usr/lib/libkdecore.so.5.4.0) ==27669== Address 0xf3878b4 is 4 bytes inside a block of size 12 free'd ==27669== at 0x40236AD: operator delete(void*) (vg_replace_malloc.c:346) ==27669== by 0x5DE1198: KAction::~KAction() (in /usr/lib/libkdeui.so.5.4.0) ==27669== by 0x5DDA78D: KActionCollection::clear() (in /usr/lib/libkdeui.so.5.4.0) ==27669== by 0x824AB79: Digikam::DigikamApp::slotKipiPluginPlug() (digikamapp.cpp:2563) ==27669== by 0x8232BEB: Digikam::DigikamApp::qt_metacall(QMetaObject::Call, int, void**) (digikamapp.moc:231) ==27669== by 0x714EDEC: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (in /usr/lib/libQtCore.so.4.6.2) ==27669== ==27669== Invalid read of size 4 ==27669== at 0x628CAFE: ??? (in /usr/lib/libQtGui.so.4.6.2) ==27669== by 0x62D254A: QWidget::insertAction(QAction*, QAction*) (in /usr/lib/libQtGui.so.4.6.2) ==27669== by 0x602712F: ??? (in /usr/lib/libkdeui.so.5.4.0) ==27669== by 0x6028630: ??? (in /usr/lib/libkdeui.so.5.4.0) ==27669== by 0x6FDBFF3: ??? (in /usr/lib/libkdecore.so.5.4.0) ==27669== Address 0xb0 is not stack'd, malloc'd or (recently) free'd ==27669== KCrash: Application 'digikam' crashing... sock_file=/home/gilles/.kde4/socket-localhost.localdomain/kdeinit4__0 Gilles Caulier ==27669== by 0x824AB79: Digikam::DigikamApp::slotKipiPluginPlug() (digikamapp.cpp:2563) Line is here : if (d->kipipluginsActionCollection) { d->kipipluginsActionCollection->clear(); /// <<<<<<< HERE delete d->kipipluginsActionCollection; } Gilles Caulier Git commit e395cd0b3d998e7dec5bf3551ce015da6def5eaf by Gilles Caulier. Committed on 18/02/2011 at 12:33. Pushed by cgilles into branch 'development/2.0'. fix crash with Kipi-plugins setup from digiKam (not reproducible with KPhotoAlbum) the problem is not with kipi-plugins, but in digiKam core, especially the way to manage plugin Actions deletion with Action Collection dedicated to kipi. There is an order to respect. With this commit i fix also a missing clear of list of plugin action when plugins are replug from manager. CCBUGS: 265641 M +27 -28 digikam/digikamapp.cpp http://commits.kde.org/digikam/e395cd0b3d998e7dec5bf3551ce015da6def5eaf Git commit 97534ddb6558504bfada066deba5f5c322e1da86 by Gilles Caulier. Committed on 18/02/2011 at 13:09. Pushed by cgilles into branch 'master'. bacport commit http://commits.kde.org/digikam/e395cd0b3d998e7dec5bf3551ce015da6def5eaf ... from 2x branch BUGS: 265641 M +32 -26 digikam/digikamapp.cpp http://commits.kde.org/digikam/97534ddb6558504bfada066deba5f5c322e1da86 *** Bug 271618 has been marked as a duplicate of this bug. *** |