Digikam 0.9.2-rc1 (svn) crashes when exiting

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Digikam 0.9.2-rc1 (svn) crashes when exiting

Bugzilla from thedeepvoice1@yahoo.co.uk
Hello,

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,

Gerry


Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today.
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam 0.9.2-rc1 (svn) crashes when exiting

Gilles Caulier-4


2007/6/14, Jerry Paterson <[hidden email]>:
Hello,

I have checked out digikam from SVN using the guide on the <a href="http://www.digikam.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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.


Hi Jerry,

Please open a new bug report in KDE bugzilla on kipi-plugins component. Look here :

http://bugs.kde.org/buglist.cgi?product=kipiplugins&component=slideshow&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED

Thanks in advance

Gilles Caulier

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users