Bug 294232

Summary: digiKam crash after trying to send photo via KMail
Product: [Applications] digikam Reporter: Paulius <depuxster>
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 Paulius 2012-02-16 13:26:25 UTC
Application: digikam (2.1.1)
KDE Platform Version: 4.8.00 (4.8.0
Qt Version: 4.7.4
Operating System: Linux 3.0.0-16-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
Digikam everytime is crashing when i trying to send photo via kmail.

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

Thread 6 (Thread 0x7f5b02380700 (LWP 4694)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5b1e6c51ab in wait (time=18446744073709551615, this=0x16238a0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x162b0e8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005c2e20 in ?? ()
#4  0x00007f5b1e6c4d05 in QThreadPrivate::start (arg=0x16226e0) at thread/qthread_unix.cpp:331
#5  0x00007f5b193ffefc in start_thread (arg=0x7f5b02380700) at pthread_create.c:304
#6  0x00007f5b1d96789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f5b01b7f700 (LWP 4695)):
#0  0xffffffffff60014c in ?? ()
#1  0x00007f5b01b7e850 in ?? ()
#2  0x00007fff56c647e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x7f5b0137e700 (LWP 4698)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5b1e6c51ab in wait (time=18446744073709551615, this=0x1b06470) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1b05ff8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f5b2160f737 in ?? () from /usr/lib/libdigikamcore.so.2
#4  0x00007f5b1e6c4d05 in QThreadPrivate::start (arg=0x1b05fe0) at thread/qthread_unix.cpp:331
#5  0x00007f5b193ffefc in start_thread (arg=0x7f5b0137e700) at pthread_create.c:304
#6  0x00007f5b1d96789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f5afa5ee700 (LWP 4699)):
#0  0x00007f5b1d95b773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5b174dcf68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5b174dd429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5b1e7d6f3e in QEventDispatcherGlib::processEvents (this=0x1f11880, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f5b1e7aacf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5b1e7aaef7 in QEventLoop::exec (this=0x7f5afa5edb30, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f5b1e6c227f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f5b1e78dcbf in QInotifyFileSystemWatcherEngine::run (this=0x1f10ae0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f5b1e6c4d05 in QThreadPrivate::start (arg=0x1f10ae0) at thread/qthread_unix.cpp:331
#9  0x00007f5b193ffefc in start_thread (arg=0x7f5afa5ee700) at pthread_create.c:304
#10 0x00007f5b1d96789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f5aede1a700 (LWP 4738)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5b1e6c51ab in wait (time=18446744073709551615, this=0x39ec780) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x17c7c28, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f5af1a943e4 in KIPIPlugins::LoadRawThumbThread::run() () from /usr/lib/libkipiplugins.so.2
#4  0x00007f5b1e6c4d05 in QThreadPrivate::start (arg=0x30b3ab0) at thread/qthread_unix.cpp:331
#5  0x00007f5b193ffefc in start_thread (arg=0x7f5aede1a700) at pthread_create.c:304
#6  0x00007f5b1d96789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5b23d57a20 (LWP 4693)):
[KCrash Handler]
#6  0x00000000005135a2 in ?? ()
#7  0x00007f5b21f9da7d in KIPI::ImageInfo::attributes() const () from /usr/lib/libkipi.so.8
#8  0x00007f5af1a9ad65 in KIPIPlugins::ImagesListViewItem::updateInformation() () from /usr/lib/libkipiplugins.so.2
#9  0x00007f5ae9da3ec5 in ?? () from /usr/lib/kde4/kipiplugin_sendimages.so
#10 0x00007f5ae9da2d93 in ?? () from /usr/lib/kde4/kipiplugin_sendimages.so
#11 0x00007f5ae9da1758 in ?? () from /usr/lib/kde4/kipiplugin_sendimages.so
#12 0x00007f5ae9da1ae1 in ?? () from /usr/lib/kde4/kipiplugin_sendimages.so
#13 0x00007f5b1e7beeba in QMetaObject::activate (sender=0x4187cd0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#14 0x00007f5b1fe19628 in KDialog::slotButtonClicked (this=0x4187cd0, button=4) at ../../kdeui/dialogs/kdialog.cpp:884
#15 0x00007f5b1fe19ab2 in KDialog::qt_metacall (this=0x4187cd0, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fff56c24c60) at ./kdialog.moc:190
#16 0x00007f5b1fef0a30 in KPageDialog::qt_metacall (this=0x4187cd0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff56c24c60) at ./kpagedialog.moc:70
#17 0x00007f5ae9da2498 in ?? () from /usr/lib/kde4/kipiplugin_sendimages.so
#18 0x00007f5b1e7beeba in QMetaObject::activate (sender=0x470d5c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff56c24c60) at kernel/qobject.cpp:3278
#19 0x00007f5b1e7c508e in QSignalMapper::mapped (this=<optimized out>, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:101
#20 0x00007f5b1e7c562b in QSignalMapper::map (this=0x470d5c0, sender=0x3dabeb0) at kernel/qsignalmapper.cpp:266
#21 0x00007f5b1e7c5a80 in QSignalMapper::qt_metacall (this=0x470d5c0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff56c24db0) at .moc/release-shared/moc_qsignalmapper.cpp:87
#22 0x00007f5b1e7beeba in QMetaObject::activate (sender=0x3dabeb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff56c24db0) at kernel/qobject.cpp:3278
#23 0x00007f5b1f81e642 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#24 0x00007f5b1f5641fe in QAbstractButtonPrivate::emitClicked (this=<optimized out>) at widgets/qabstractbutton.cpp:546
#25 0x00007f5b1f56553b in QAbstractButtonPrivate::click (this=0x17ad3b0) at widgets/qabstractbutton.cpp:539
#26 0x00007f5b1f5657ac in QAbstractButton::mouseReleaseEvent (this=0x3dabeb0, e=0x7fff56c254c0) at widgets/qabstractbutton.cpp:1121
#27 0x00007f5b1f1fdcea in QWidget::event (this=0x3dabeb0, event=0x7fff56c254c0) at kernel/qwidget.cpp:8295
#28 0x00007f5b1f1ad474 in notify_helper (e=0x7fff56c254c0, receiver=0x3dabeb0, this=0x154c480) at kernel/qapplication.cpp:4486
#29 QApplicationPrivate::notify_helper (this=0x154c480, receiver=0x3dabeb0, e=0x7fff56c254c0) at kernel/qapplication.cpp:4458
#30 0x00007f5b1f1b2cbb in QApplication::notify (this=<optimized out>, receiver=0x3dabeb0, e=0x7fff56c254c0) at kernel/qapplication.cpp:4047
#31 0x00007f5b1fec2ae6 in KApplication::notify (this=0x7fff56c26230, receiver=0x3dabeb0, event=0x7fff56c254c0) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x00007f5b1e7abafc in QCoreApplication::notifyInternal (this=0x7fff56c26230, receiver=0x3dabeb0, event=0x7fff56c254c0) at kernel/qcoreapplication.cpp:787
#33 0x00007f5b1f1ae442 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QApplicationPrivate::sendMouseEvent (receiver=0x3dabeb0, event=0x7fff56c254c0, alienWidget=0x3dabeb0, nativeWidget=0x4187cd0, buttonDown=0x3dabeb0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#35 0x00007f5b1f22d9d5 in QETWidget::translateMouseEvent (this=0x4187cd0, event=<optimized out>) at kernel/qapplication_x11.cpp:4571
#36 0x00007f5b1f22c94e in QApplication::x11ProcessEvent (this=0x7fff56c26230, event=0x7fff56c25ce0) at kernel/qapplication_x11.cpp:3693
#37 0x00007f5b1f2554a2 in x11EventSourceDispatch (s=0x154de20, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#38 0x00007f5b174dca5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f5b174dd258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f5b174dd429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f5b1e7d6ed6 in QEventDispatcherGlib::processEvents (this=0x14e5490, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#42 0x00007f5b1f25510e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f5b1e7aacf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f5b1e7aaef7 in QEventLoop::exec (this=0x7fff56c260b0, flags=...) at kernel/qeventloop.cpp:201
#45 0x00007f5b1e7af789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#46 0x00000000004893fd in ?? ()
#47 0x00007f5b1d8a730d in __libc_start_main (main=0x488310, argc=1, ubp_av=0x7fff56c26a58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff56c26a48) at libc-start.c:226
#48 0x000000000048abd5 in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2012-02-16 13:30:07 UTC
Sound like a broken binary compatibilty issue with libkipi on your system. 

Gilles Caulier
Comment 2 caulier.gilles 2012-06-22 08:53:12 UTC
Official digiKam 2.6.0 release is out since few days now :

http://www.digikam.org/drupal/node/656

Please, check if this entry still valid, or update report accordingly.

Thanks in advance.

Gilles Caulier
Comment 3 caulier.gilles 2013-02-20 05:59:02 UTC
3.0.0 is out. Please report if problem still reproducible on your computer.

Gilles Caulier
Comment 4 caulier.gilles 2013-10-30 15:52:05 UTC
digiKam 3.5.0 is out.

Can you give a fresh feedback about your report ? Crash still reproducible ?

Thanks in advance

Gilles Caulier
Comment 5 caulier.gilles 2014-05-16 07:30:29 UTC
digiKam 4.0.0 is out :

http://www.digikam.org/node/713

Please check if this entry still valid with this new version.

Thanks in advance

Gilles Caulier
Comment 6 caulier.gilles 2014-09-05 20:54:21 UTC
This file still valid using last digiKam 4.2.0 ?

Gilles Caulier
Comment 7 caulier.gilles 2015-06-27 13:43:21 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 8 caulier.gilles 2015-08-22 06:38:10 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 9 caulier.gilles 2016-07-02 19:42:14 UTC
With digiKam 5.0.0, this problem is not reproducible.

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

Gilles Caulier