Bug 297022

Summary: Crash digikam
Product: [Applications] digikam Reporter: Django84 <django01>
Component: Plugin-Generic-SendByMailAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.1.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.0.0
Sentry Crash Report:

Description Django84 2012-03-29 10:09:10 UTC
Application: digikam (2.1.1)
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.0.0-17-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
Trying to export some photos by email using thunderbird, digikam crash every times I click OK.
The same action using Gwenview dont crash anythings.
sorry for my poor english !

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7fb76270f700 (LWP 3374)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb78067f5ab in wait (time=18446744073709551615, this=0x1e76310) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1e76208, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005c2e20 in Digikam::ScanController::run (this=0x1e9e1b0) at /build/buildd/digikam-2.1.1/core/digikam/database/scancontroller.cpp:647
#4  0x00007fb78067f09b in QThreadPrivate::start (arg=0x1e9e1b0) at thread/qthread_unix.cpp:298
#5  0x00007fb77b15eefc in start_thread (arg=0x7fb76270f700) at pthread_create.c:304
#6  0x00007fb77f92759d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fb761f0e700 (LWP 3375)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fb761f0d850 in ?? ()
#2  0x00007fff1ee387e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x7fb76170d700 (LWP 3377)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb78067f5ab in wait (time=18446744073709551615, this=0x2403660) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2403338, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fb7835d7737 in Digikam::ParkingThread::run (this=0x2403320) at /build/buildd/digikam-2.1.1/core/libs/threads/threadmanager.cpp:119
#4  0x00007fb78067f09b in QThreadPrivate::start (arg=0x2403320) at thread/qthread_unix.cpp:298
#5  0x00007fb77b15eefc in start_thread (arg=0x7fb76170d700) at pthread_create.c:304
#6  0x00007fb77f92759d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb75bb7c700 (LWP 3378)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fb75bb7b850 in ?? ()
#2  0x00007fff1ee387e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7fb73ffff700 (LWP 3408)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb78067f5ab in wait (time=18446744073709551615, this=0x51c4650) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x398e4e8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fb753b463e4 in KIPIPlugins::LoadRawThumbThread::run (this=0x41a4ee0) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/common/libkipiplugins/dialogs/imagedialog.cpp:537
#4  0x00007fb78067f09b in QThreadPrivate::start (arg=0x41a4ee0) at thread/qthread_unix.cpp:298
#5  0x00007fb77b15eefc in start_thread (arg=0x7fb73ffff700) at pthread_create.c:304
#6  0x00007fb77f92759d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb785d1ba20 (LWP 3373)):
[KCrash Handler]
#6  ref (this=0x7bbbd8) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QMap (other=..., this=0x7fff1ee2a420) at /usr/include/qt4/QtCore/qmap.h:186
#8  Digikam::KipiImageInfo::addAttributes (this=0x7fff1ee2a6c0, res=...) at /build/buildd/digikam-2.1.1/core/utilities/kipiiface/kipiimageinfo.cpp:185
#9  0x00007fb783f65a7d in KIPI::ImageInfo::attributes (this=<optimized out>) at ../../libkipi/imageinfo.cpp:102
#10 0x00007fb753b4cd65 in KIPIPlugins::ImagesListViewItem::updateInformation (this=0x51d1480) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/common/libkipiplugins/widgets/imageslist.cpp:127
#11 0x00007fb74bbd3ec5 in KIPISendimagesPlugin::ImagesPage::imagesList (this=<optimized out>) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/sendimages/imagespage.cpp:52
#12 0x00007fb74bbd2d93 in KIPISendimagesPlugin::SendImagesDialog::emailSettings (this=0x47129a0) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/sendimages/sendimagesdialog.cpp:189
#13 0x00007fb74bbd1758 in Plugin_SendImages::slotPrepareEmail (this=0x3551cd0) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/sendimages/plugin_sendimages.cpp:140
#14 0x00007fb74bbd1ae1 in Plugin_SendImages::qt_metacall (this=0x3551cd0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/extra/kipi-plugins/sendimages/plugin_sendimages.moc:77
#15 0x00007fb7807924a9 in QMetaObject::activate (sender=0x47129a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3566
#16 0x00007fb781df8e78 in KDialog::slotButtonClicked (this=0x47129a0, button=4) at ../../kdeui/dialogs/kdialog.cpp:884
#17 0x00007fb781df9302 in KDialog::qt_metacall (this=0x47129a0, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fff1ee2ace0) at ./kdialog.moc:190
#18 0x00007fb781ed0910 in KPageDialog::qt_metacall (this=0x47129a0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff1ee2ace0) at ./kpagedialog.moc:70
#19 0x00007fb74bbd2498 in KIPISendimagesPlugin::SendImagesDialog::qt_metacall (this=0x47129a0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/extra/kipi-plugins/sendimages/sendimagesdialog.moc:72
#20 0x00007fb7807924a9 in QMetaObject::activate (sender=0x51a51c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff1ee2ace0) at kernel/qobject.cpp:3566
#21 0x00007fb780799b5e in QSignalMapper::mapped (this=<optimized out>, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:115
#22 0x00007fb78079a0fb in QSignalMapper::map (this=0x51a51c0, sender=0x4571a00) at kernel/qsignalmapper.cpp:266
#23 0x00007fb7807922a1 in QMetaObject::activate (sender=0x4571a00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff1ee2ae70) at kernel/qobject.cpp:3547
#24 0x00007fb7817fe152 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#25 0x00007fb78153bdee in QAbstractButtonPrivate::emitClicked (this=<optimized out>) at widgets/qabstractbutton.cpp:548
#26 0x00007fb78153d12b in QAbstractButtonPrivate::click (this=0x51b2180) at widgets/qabstractbutton.cpp:541
#27 0x00007fb78153d39c in QAbstractButton::mouseReleaseEvent (this=0x4571a00, e=0x7fff1ee2b740) at widgets/qabstractbutton.cpp:1123
#28 0x00007fb7811c1aa4 in QWidget::event (this=0x4571a00, event=0x7fff1ee2b740) at kernel/qwidget.cpp:8362
#29 0x00007fb781171294 in notify_helper (e=0x7fff1ee2b740, receiver=0x4571a00, this=0x1cba160) at kernel/qapplication.cpp:4559
#30 QApplicationPrivate::notify_helper (this=0x1cba160, receiver=0x4571a00, e=0x7fff1ee2b740) at kernel/qapplication.cpp:4531
#31 0x00007fb781176abf in QApplication::notify (this=<optimized out>, receiver=0x4571a00, e=0x7fff1ee2b740) at kernel/qapplication.cpp:4102
#32 0x00007fb781ea29a6 in KApplication::notify (this=0x7fff1ee2c550, receiver=0x4571a00, event=0x7fff1ee2b740) at ../../kdeui/kernel/kapplication.cpp:311
#33 0x00007fb78077debc in QCoreApplication::notifyInternal (this=0x7fff1ee2c550, receiver=0x4571a00, event=0x7fff1ee2b740) at kernel/qcoreapplication.cpp:876
#34 0x00007fb781172262 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#35 QApplicationPrivate::sendMouseEvent (receiver=0x4571a00, event=0x7fff1ee2b740, alienWidget=0x4571a00, nativeWidget=0x47129a0, buttonDown=0x4571a00, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#36 0x00007fb7811ee995 in QETWidget::translateMouseEvent (this=0x47129a0, event=<optimized out>) at kernel/qapplication_x11.cpp:4621
#37 0x00007fb7811ed85a in QApplication::x11ProcessEvent (this=0x7fff1ee2c550, event=0x7fff1ee2c000) at kernel/qapplication_x11.cpp:3737
#38 0x00007fb781216232 in x11EventSourceDispatch (s=0x1cc0640, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#39 0x00007fb77923ba5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fb77923c258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fb77923c429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fb7807ad45f in QEventDispatcherGlib::processEvents (this=0x1c53f40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#43 0x00007fb781215ebe in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007fb78077cca2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#45 0x00007fb78077cef7 in QEventLoop::exec (this=0x7fff1ee2c3d0, flags=...) at kernel/qeventloop.cpp:204
#46 0x00007fb780781f87 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#47 0x00000000004893fd in main (argc=5, argv=<optimized out>) at /build/buildd/digikam-2.1.1/core/digikam/main/main.cpp:232

Reported using DrKonqi
Comment 1 caulier.gilles 2012-03-29 10:12:20 UTC
Sound like a binary compatibility issue with libkipi.

Also, please use digiKam 2.5.0. 2.1.1 is pretty old now, and a lots of bugs have been fixed...

Gilles Caulier
Comment 2 caulier.gilles 2015-06-27 13:47:31 UTC
New digiKam 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles caulier
Comment 3 caulier.gilles 2015-08-22 06:37:21 UTC
digiKam 4.12.0 is out :

https://www.digikam.org/node/741

We need a fresh feedback using this release please...
Thanks in advance.
Comment 4 caulier.gilles 2016-07-02 19:39:45 UTC
With digiKam 5.0.0, this problem is not reproducible.

I close this file now. Re-open it if necessary.

Gilles Caulier