[Digikam-users] galleryexport crashes

Andi Clemens andi.clemens at gmx.net
Wed Jul 30 09:29:20 BST 2008


I have the same problem.
I disabled the galleryplugin, but somehow it still crashes. I even removed all 
kipiplugins and told digiKam not to link against them in cmake, but it won't 
compile then.
Now I patched galleries.cpp to get started again:

Index: galleries.cpp
===================================================================
--- galleries.cpp       (revision 839387)
+++ galleries.cpp       (working copy)
@@ -184,9 +184,10 @@
     bln_loaded = true;

     bool bln_use_wallet = false;
-    mpWallet = KWallet::Wallet::openWallet(KWallet::Wallet::NetworkWallet(),
-                                           kapp->activeWindow()->winId(),
-                                           KWallet::Wallet::Synchronous);
+//    mpWallet = 
KWallet::Wallet::openWallet(KWallet::Wallet::NetworkWallet(),
+//                                           kapp->activeWindow()->winId(),
+//                                           KWallet::Wallet::Synchronous);
+    mpWallet = 0;
     if (!mpWallet) {
         kWarning() << "Failed to open kwallet" << endl;
     } else {


This will disable the detection of kwallet (which is installed on my system, 
otherwise it will not even compile) and digiKam will start again.

NOTE: You have to install the kipi-plugins after that, not just compile them. 
Like kioslaves and imageplugins they have to live in the system.

Andi

On Tuesday 29 July 2008 23:35:02 Gandalf Lechner wrote:
> Hi all,
>
> today Andi fixed a bug in the image viewer I reported some time ago
> (http://bugs.kde.org/show_bug.cgi?id=166472), and I obviously wanted to
> check if the fix works here on my computer. But unfortunately, I
> experienced some problems with the svn version today.
> First, svn reported some changes in the gallery export plugin, but make
> failed on this version. Then, I tried again later, and now I can compile
> and install again. But now digikam crashes right after starting it (I see
> only the splash screen). In the backtrace (pasted below) galleryexport is
> mentioned as well, so I assume that is the "guilty" part here ...
> Or could it be related to the fact that I upgraded to kde4.1.0 today (I
> used kde 4.1 rc1 before) ?
>
> Well, I'll try again tomorrow.
>
> Best regards,
> Gandalf
>
>
>
>
> Application: digiKam (digikam), signal SIGSEGV
> [Thread debugging using libthread_db enabled]
> [New Thread 0x7ffe1e908780 (LWP 11388)]
> [New Thread 0x41446950 (LWP 11404)]
> [New Thread 0x454f3950 (LWP 11403)]
> [New Thread 0x44cf2950 (LWP 11402)]
> [New Thread 0x444f1950 (LWP 11401)]
> [New Thread 0x43cf0950 (LWP 11400)]
> [New Thread 0x434ef950 (LWP 11399)]
> [New Thread 0x40c45950 (LWP 11396)]
> [New Thread 0x424ed950 (LWP 11395)]
> [New Thread 0x42cee950 (LWP 11394)]
> [New Thread 0x41cec950 (LWP 11389)]
> [KCrash handler]
> #5  0x00007ffe1729f553 in QWidget::testAttribute_helper ()
>    from /usr/lib/libQtGui.so.4
> #6  0x00007ffe172abcbe in QWidget::winId () from /usr/lib/libQtGui.so.4
> #7  0x00007ffdfbf3efe7 in KIPIGalleryExportPlugin::Galleries::load (
>     this=0x3b38680)
>     at /home/gandalf/down/svn/kde4/graphics/kipi-
> plugins/galleryexport/galleries.cpp:181
> #8  0x00007ffdfbf3f6c0 in Galleries (this=0x3b38680)
>     at /home/gandalf/down/svn/kde4/graphics/kipi-
> plugins/galleryexport/galleries.cpp:161
> #9  0x00007ffdfbf3d5bf in Plugin_GalleryExport::setup (this=0xa2e7c0,
>     widget=0xb2bff0)
>     at /home/gandalf/down/svn/kde4/graphics/kipi-
> plugins/galleryexport/plugin_galleryexport.cpp:66
> #10 0x00000000006177ee in Digikam::DigikamApp::slotKipiPluginPlug (
>     this=0xb2bff0)
>     at
> /home/gandalf/down/svn/kde4/graphics/digikam/digikam/digikamapp.cpp:2133
> #11 0x000000000062f455 in Digikam::DigikamApp::qt_metacall (this=0xb2bff0,
>     _c=QMetaObject::InvokeMetaMethod, _id=26, _a=0x7fff26953ab0)
>     at
> /home/gandalf/down/svn/kde4/graphics/build/digikam/digikam/digikamapp.moc:1
>95 #12 0x00007ffe18fb5286 in QMetaObject::activate ()
>    from /usr/lib/libQtCore.so.4
> #13 0x00007ffe148527f4 in KIPI::PluginLoader::replug (this=0x3d6b6d0)
>     at
> /home/gandalf/down/svn/kde4/kdegraphics/build/libs/libkipi/libkipi/pluginlo
>ader.moc:95 #14 0x00007ffe14852daa in KIPI::PluginLoader::loadPlugins
> (this=0x3d6b6d0) at
> /home/gandalf/down/svn/kde4/kdegraphics/libs/libkipi/libkipi/pluginloader.c
>pp:263 #15 0x0000000000618181 in Digikam::DigikamApp::loadPlugins
> (this=0xb2bff0) at
> /home/gandalf/down/svn/kde4/graphics/digikam/digikam/digikamapp.cpp:2091
> #16 0x000000000062e197 in DigikamApp (this=0xb2bff0)
>     at
> /home/gandalf/down/svn/kde4/graphics/digikam/digikam/digikamapp.cpp:226 #17
> 0x000000000066353d in main (argc=1, argv=0x7fff26954ca8)
>     at /home/gandalf/down/svn/kde4/graphics/digikam/digikam/main.cpp:285
> #0  0x00007ffe1367db81 in nanosleep () from /lib/libc.so.6
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users




More information about the Digikam-users mailing list