Bug 266384

Summary: Kmail crashed after opening (non) deleted attachments
Product: [Applications] kontact Reporter: shining
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description shining 2011-02-15 15:44:13 UTC
Application: kontact (4.4.8)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-25-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

I deleted an attachment and then I closed the window containing the letter. I opened the same letter once again and found the attachment was still there. Then I clicked on the attachment icon and kmail launched gwenview displaying the attached picture correctly. Immediately after kmail crashed.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f3894d85780 (LWP 28988))]

Thread 2 (Thread 0x7f386fc88700 (LWP 29011)):
#0  0x00007f3891dbf203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f388a14b009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f388a14b45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f38931eb1e6 in QEventDispatcherGlib::processEvents (this=0x1546100, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f38931bda02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f38931bddec in QEventLoop::exec (this=0x7f386fc87d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f38930c82fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f389319d5f8 in QInotifyFileSystemWatcherEngine::run (this=0x15470a0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f38930cb27e in QThreadPrivate::start (arg=0x15470a0) at thread/qthread_unix.cpp:266
#9  0x00007f388cf01971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f3891dcb92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3894d85780 (LWP 28988)):
[KCrash Handler]
#6  addMsg (this=0x1a4ae00, sernum=<value optimized out>) at ../../kmail/kmcommands.h:776
#7  KMTrashMsgCommand::KMTrashMsgCommand (this=0x1a4ae00, sernum=<value optimized out>) at ../../kmail/kmcommands.cpp:2375
#8  0x00007f3876449577 in AttachmentModifyCommand::messageStoreResult (this=0x1bd45c0, folder=<value optimized out>, success=<value optimized out>) at ../../kmail/kmcommands.cpp:3421
#9  0x00007f3876449e66 in AttachmentModifyCommand::qt_metacall (this=0x1bd45c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1e321f60) at ./kmcommands.moc:2643
#10 0x00007f38931d6b27 in QMetaObject::activate (sender=0x128b400, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1a6b) at kernel/qobject.cpp:3280
#11 0x00007f387633fbcd in KMFolderImap::folderComplete (this=0x2277ef0, _t1=0x128b400, _t2=true) at ./kmfolderimap.moc:212
#12 0x00007f3876343990 in KMFolderImap::finishMailCheck (this=0x128b400, dbg=0x7f38766d73b2 "getMessage", state=KMFolderImap::imapFinished) at ../../kmail/kmfolderimap.cpp:2488
#13 0x00007f3876345e14 in KMFolderImap::getMessagesResult (this=0x128b400, job=0x4650ac0, lastSet=true) at ../../kmail/kmfolderimap.cpp:1772
#14 0x00007f38763554a9 in KMFolderImap::qt_metacall (this=0x128b400, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1e322210) at ./kmfolderimap.moc:191
#15 0x00007f38931d6b27 in QMetaObject::activate (sender=0x4650ac0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1a6b) at kernel/qobject.cpp:3280
#16 0x00007f3893614712 in KJob::result (this=0x2277ef0, _t1=0x4650ac0) at ./kjob.moc:194
#17 0x00007f38936149b0 in KJob::emitResult (this=0x4650ac0) at ../../kdecore/jobs/kjob.cpp:312
#18 0x00007f3890920203 in KIO::SimpleJob::slotFinished (this=0x4650ac0) at ../../kio/kio/job.cpp:522
#19 0x00007f3890920af7 in KIO::TransferJob::slotFinished (this=0x4650ac0) at ../../kio/kio/job.cpp:1111
#20 0x00007f389091ea41 in KIO::TransferJob::qt_metacall (this=0x4650ac0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1e322610) at ./jobclasses.moc:367
#21 0x00007f38931d6b27 in QMetaObject::activate (sender=0x143f360, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1a6b) at kernel/qobject.cpp:3280
#22 0x00007f38909cfc8e in KIO::SlaveInterface::dispatch (this=0x143f360, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#23 0x00007f38909cccc3 in KIO::SlaveInterface::dispatch (this=0x143f360) at ../../kio/kio/slaveinterface.cpp:91
#24 0x00007f38909c0876 in KIO::Slave::gotInput (this=0x143f360) at ../../kio/kio/slave.cpp:344
#25 0x00007f38909c0a5c in KIO::Slave::qt_metacall (this=0x143f360, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1e322a50) at ./slave.moc:82
#26 0x00007f38931d6b27 in QMetaObject::activate (sender=0x14650c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1a6b) at kernel/qobject.cpp:3280
#27 0x00007f38908ecdf7 in KIO::ConnectionPrivate::dequeue (this=0x14733e0) at ../../kio/kio/connection.cpp:82
#28 0x00007f38908ecf1d in KIO::Connection::qt_metacall (this=0x14650c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x4af5880) at ./connection.moc:79
#29 0x00007f38931d0bde in QObject::event (this=0x14650c0, e=0x2277ef0) at kernel/qobject.cpp:1219
#30 0x00007f3892525fdc in QApplicationPrivate::notify_helper (this=0xa6d3d0, receiver=0x14650c0, e=0x4f84330) at kernel/qapplication.cpp:4396
#31 0x00007f389252baed in QApplication::notify (this=0x7fff1e323560, receiver=0x14650c0, e=0x4f84330) at kernel/qapplication.cpp:4277
#32 0x00007f3893bdf156 in KApplication::notify (this=0x7fff1e323560, receiver=0x14650c0, event=0x4f84330) at ../../kdeui/kernel/kapplication.cpp:310
#33 0x00007f38931becdc in QCoreApplication::notifyInternal (this=0x7fff1e323560, receiver=0x14650c0, event=0x4f84330) at kernel/qcoreapplication.cpp:732
#34 0x00007f38931c1c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xa39f30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xa39f30) at kernel/qcoreapplication.cpp:1373
#36 0x00007f38931eb653 in sendPostedEvents (s=0xa66680) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#37 postEventSourceDispatch (s=0xa66680) at kernel/qeventdispatcher_glib.cpp:277
#38 0x00007f388a147342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#39 0x00007f388a14b2a8 in ?? () from /lib/libglib-2.0.so.0
#40 0x00007f388a14b45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#41 0x00007f38931eb193 in QEventDispatcherGlib::processEvents (this=0xa396d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#42 0x00007f38925d8a4e in QGuiEventDispatcherGlib::processEvents (this=0x2277ef0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f38931bda02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#44 0x00007f38931bddec in QEventLoop::exec (this=0x7fff1e3234a0, flags=) at kernel/qeventloop.cpp:201
#45 0x00007f38931c1ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#46 0x0000000000403e8e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224

Reported using DrKonqi
Comment 1 Christophe Marin 2011-02-15 16:01:26 UTC

*** This bug has been marked as a duplicate of bug 211803 ***