Bug 214676

Summary: Digikam crashed on exit
Product: [Applications] digikam Reporter: Adam Petty <adam>
Component: ImageEditor-CanvasAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 5.7.0
Sentry Crash Report:

Description Adam Petty 2009-11-15 16:07:43 UTC
Application that crashed: digikam
Version of the application: 1.0.0-beta6
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
90% of the time Digikam crashes on exit. 

 -- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0x7feec0cdc750 (LWP 24967))]

Thread 5 (Thread 0x7feea2ef1910 (LWP 24973)):
#0  0x00007feeba3eb373 in poll () from /lib/libc.so.6
#1  0x00007feeb59ed36c in ?? () from /lib/libglib-2.0.so.0
#2  0x00007feeb59ed6b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007feebc0b51fe in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007feebc08b532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007feebc08b904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007feebbfa36cb in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007feebbfa6445 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007feeb9190a04 in start_thread () from /lib/libpthread.so.0
#9  0x00007feeba3f77bd in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7feea26f0910 (LWP 24974)):
#0  0x00007feeba3eb373 in poll () from /lib/libc.so.6
#1  0x00007feeb59ed36c in ?? () from /lib/libglib-2.0.so.0
#2  0x00007feeb59ed6b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007feebc0b51fe in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007feebc08b532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007feebc08b904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007feebbfa36cb in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007feebbfa6445 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007feeb9190a04 in start_thread () from /lib/libpthread.so.0
#9  0x00007feeba3f77bd in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fee9db89910 (LWP 24976)):
#0  0x00007feeb919582d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fee9f8d0c91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007feeb9190a04 in start_thread () from /lib/libpthread.so.0
#3  0x00007feeba3f77bd in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fee9ae2a910 (LWP 24978)):
#0  0x00007feeba3eb373 in poll () from /lib/libc.so.6
#1  0x00007feeb4e8429a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007feeb4e847d7 in ?? () from /usr/lib/libxcb.so.1
#3  0x00007feeb4e848f8 in ?? () from /usr/lib/libxcb.so.1
#4  0x00007feeb4e85c9a in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#5  0x00007fee9c061213 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_vo_out_xcbxv.so
#6  0x00007fee9f8dcbd3 in ?? () from /usr/lib/libxine.so.1
#7  0x00007fee9fb642f8 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007fee9fb299cf in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#9  0x00007fee9fb3e58f in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#10 0x00007feebc09c11d in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#11 0x00007feebafd2efc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007feebafda1ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007feebcef8ab6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#14 0x00007feebc08cc2c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#15 0x00007feebc08d80a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#16 0x00007feebc0b5533 in ?? () from /usr/lib/libQtCore.so.4
#17 0x00007feeb59e9bbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#18 0x00007feeb59ed588 in ?? () from /lib/libglib-2.0.so.0
#19 0x00007feeb59ed6b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#20 0x00007feebc0b51a6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#21 0x00007feebc08b532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#22 0x00007feebc08b904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#23 0x00007feebbfa36cb in QThread::exec() () from /usr/lib/libQtCore.so.4
#24 0x00007fee9fb2b56e in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#25 0x00007feebbfa6445 in ?? () from /usr/lib/libQtCore.so.4
#26 0x00007feeb9190a04 in start_thread () from /lib/libpthread.so.0
#27 0x00007feeba3f77bd in clone () from /lib/libc.so.6
#28 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7feec0cdc750 (LWP 24967)):
[KCrash Handler]
#5  QBasicAtomicInt::deref (this=0x2d1f6d0, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qatomic_x86_64.h:133
#6  ~QString (this=0x2d1f6d0, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qstring.h:866
#7  ~ImagePluginPriv (this=0x2d1f6d0, __in_chrg=<value optimized out>) at /home/adam/Downloads/digikam-1.0.0-beta6/utilities/imageeditor/canvas/imageplugin.cpp:37
#8  ~ImagePlugin (this=0x2d1f6d0, __in_chrg=<value optimized out>) at /home/adam/Downloads/digikam-1.0.0-beta6/utilities/imageeditor/canvas/imageplugin.cpp:54
#9  0x00007fee924322fe in ?? () from /usr/lib/kde4/digikamimageplugin_adjustcurves.so
#10 0x00007feebe0816b9 in ~ImagePluginLoader (this=<value optimized out>, __in_chrg=<value optimized out>)
    at /home/adam/Downloads/digikam-1.0.0-beta6/utilities/imageeditor/canvas/imagepluginloader.cpp:125
#11 0x00007feebc09ae5c in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#12 0x00007feebb01d993 in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
#13 0x00007feebcfca185 in KMainWindow::~KMainWindow() () from /usr/lib/libkdeui.so.5
#14 0x000000000065b0cf in ~DigikamApp (this=0x1850480, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /home/adam/Downloads/digikam-1.0.0-beta6/digikam/digikamapp.cpp:324
#15 0x00007feebc09c11d in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#16 0x00007feebb02115f in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x00007feebb3979db in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#18 0x00007feebd004773 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#19 0x00007feebafd2efc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#20 0x00007feebafda1ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0x00007feebcef8ab6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#22 0x00007feebc08cc2c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#23 0x00007feebc08d80a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#24 0x00007feebc0b5533 in ?? () from /usr/lib/libQtCore.so.4
#25 0x00007feeb59e9bbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00007feeb59ed588 in ?? () from /lib/libglib-2.0.so.0
#27 0x00007feeb59ed6b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x00007feebc0b51a6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0x00007feebb0674be in ?? () from /usr/lib/libQtGui.so.4
#30 0x00007feebc08b532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0x00007feebc08b904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0x00007feebc08dab9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#33 0x0000000000768952 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/adam/Downloads/digikam-1.0.0-beta6/digikam/main.cpp:195

Reported using DrKonqi
Comment 1 Andi Clemens 2009-11-16 11:20:00 UTC
Adam, 

this is actually the same backtrace as in your other report. I really think it is a Qt problem you have, I can not see any problems in our code.

I will mark this one as a duplicate of your other bug.

*** This bug has been marked as a duplicate of bug 214718 ***
Comment 2 caulier.gilles 2017-08-08 11:12:53 UTC
Since digiKam 5.2.0, the image editor plugin interface was removed in favor of tools directly embeded in digiKam core. This problem will not reproducible.

Gilles Caulier