[Digikam-users] Digikam 0.9.2-rc1 (svn) crashes when exiting

Jerry Paterson thedeepvoice1 at yahoo.co.uk
Thu Jun 14 21:28:05 BST 2007


I have checked out digikam from SVN using the guide on the www.digikam.org website.  I am able to build and install digikam and all its dependencies.  I can start up digikam and use it fine.  However, when I exit it usually crashes.  I recompiled, turning the debug on, and picked up the backtrace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1249507632 (LWP 23599)]
0xb3bb791f in Plugin_SlideShow::~Plugin_SlideShow ()
   from /home/gpatters/myopt/lib/kde3/kipiplugin_slideshow.so
(gdb) bt
#0  0xb3bb791f in Plugin_SlideShow::~Plugin_SlideShow ()
   from /home/gpatters/myopt/lib/kde3/kipiplugin_slideshow.so
#1  0xb61a7717 in QObject::~QObject () from /usr/lib/libqt-mt.so.3
#2  0xb74b8f38 in KIPI::Interface::~Interface ()
   from /home/gpatters/myopt/lib/libkipi.so.0
#3  0xb7c83ead in ~DigikamKipiInterface (this=0x83f10c8)
    at kipiinterface.cpp:565
#4  0xb61e0a4f in QWidget::~QWidget () from /usr/lib/libqt-mt.so.3
#5  0xb62b1bb4 in QMainWindow::~QMainWindow () from /usr/lib/libqt-mt.so.3
#6  0xb6bca266 in KMainWindow::~KMainWindow () from /usr/lib/libkdeui.so.4
#7  0xb7c18271 in ~DigikamApp (this=0x812a5e0) at digikamapp.cpp:209
#8  0xb61a2f54 in QObject::event () from /usr/lib/libqt-mt.so.3
#9  0xb61da58f in QWidget::event () from /usr/lib/libqt-mt.so.3
#10 0xb62b0ba6 in QMainWindow::event () from /usr/lib/libqt-mt.so.3
#11 0xb613aa60 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#12 0xb613d42a in QApplication::notify () from /usr/lib/libqt-mt.so.3
#13 0xb6915c32 in KApplication::notify () from /usr/lib/libkdecore.so.4
#14 0xb60cd1e9 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#15 0xb613ba98 in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3
#16 0xb6155226 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#17 0xb6154f46 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#18 0xb613c609 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#19 0x0804b4dc in main (argc=-1234864376, argv=0xbfde5454) at main.cpp:322
(gdb) quit
The program is running.  Exit anyway? (y or n) y

Looking at the top it seemed to be a problem with the KIPI plugin: slideshow.  Specifically in the destructor.  This is a very short method in plugin_slideshow.cpp basically deleting the member m_urllist if it exists.  If I comment out these lines then digikam does not crash on exit.

If I disable the slideshow plugin in digikam settings, digikam does not crash.  If I actually create an run a slideshow in digikam, it does not crash either.

I am not much of a C++ coder yet so I pass this information on to someone who knows more than I.

Let me know if more info is required.  More than willing to help.

- Regards,


 Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your freeaccount today.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20070614/23c5be45/attachment.html>

More information about the Digikam-users mailing list