Bug 212424 - Kontact Kmail crash on moving encrypted mail and cancellig passphrase
Summary: Kontact Kmail crash on moving encrypted mail and cancellig passphrase
Status: RESOLVED DUPLICATE of bug 180741
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-30 18:22 UTC by Andreas Cord-Landwehr
Modified: 2010-09-19 21:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Cord-Landwehr 2009-10-30 18:22:26 UTC
Application that crashed: kontact
Version of the application: 4.3.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.30-2-686 i686
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
Reproduceable Bug for kmail inside of kontact:
* get an encrypted mail (encrypted with GPG)
* click on this mail and move it to another folder
* window for inserting passphrase for mail pops up
* if you click on "cancel" you get an segfault, but the mail is inside its new folder

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  0xb12067eb in ?? () from /usr/lib/libkmailprivate.so.4
#7  0xb11f4a2b in ?? () from /usr/lib/libkmailprivate.so.4
#8  0xb11f4c40 in ?? () from /usr/lib/libkmailprivate.so.4
#9  0xb1200291 in ?? () from /usr/lib/libkmailprivate.so.4
#10 0xb1201157 in ?? () from /usr/lib/libkmailprivate.so.4
#11 0xb120145c in ?? () from /usr/lib/libkmailprivate.so.4
#12 0xb7819303 in QMetaObject::activate (sender=0xbdfc220, from_signal_index=4, to_signal_index=4, argv=0xbfd31b2c) at kernel/qobject.cpp:3112
#13 0xb7819f42 in QMetaObject::activate (sender=0xbdfc220, m=0xb17e34d0, local_signal_index=0, argv=0xbfd31b2c) at kernel/qobject.cpp:3186
#14 0xb1414973 in ?? () from /usr/lib/libkmailprivate.so.4
#15 0xb1421117 in ?? () from /usr/lib/libkmailprivate.so.4
#16 0xb142579c in ?? () from /usr/lib/libkmailprivate.so.4
#17 0xb7819303 in QMetaObject::activate (sender=0xa6891e8, from_signal_index=7, to_signal_index=7, argv=0xbfd31c9c) at kernel/qobject.cpp:3112
#18 0xb7819f42 in QMetaObject::activate (sender=0xa6891e8, m=0xb7b2dc28, local_signal_index=3, argv=0xbfd31c9c) at kernel/qobject.cpp:3186
#19 0xb79d04d3 in KJob::result (this=0xa6891e8, _t1=0xa6891e8) at ./kjob.moc:188
#20 0xb79d0979 in KJob::emitResult (this=0xa6891e8) at ../../kdecore/jobs/kjob.cpp:304
#21 0xb6229bd5 in KIO::SimpleJob::slotFinished (this=0xa6891e8) at ../../kio/kio/job.cpp:477
#22 0xb622a533 in KIO::TransferJob::slotFinished (this=0xa6891e8) at ../../kio/kio/job.cpp:948
#23 0xb6226ac3 in KIO::TransferJob::qt_metacall (this=0xa6891e8, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfd31ed8) at ./jobclasses.moc:343
#24 0xb7819303 in QMetaObject::activate (sender=0x9e46ee0, from_signal_index=8, to_signal_index=8, argv=0x0) at kernel/qobject.cpp:3112
#25 0xb7819f42 in QMetaObject::activate (sender=0x9e46ee0, m=0xb63d1ba4, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3186
#26 0xb62ef7d7 in KIO::SlaveInterface::finished (this=0x9e46ee0) at ./slaveinterface.moc:165
#27 0xb62f3587 in KIO::SlaveInterface::dispatch (this=0x9e46ee0, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#28 0xb62efcb7 in KIO::SlaveInterface::dispatch (this=0x9e46ee0) at ../../kio/kio/slaveinterface.cpp:91
#29 0xb62e1c9d in KIO::Slave::gotInput (this=0x9e46ee0) at ../../kio/kio/slave.cpp:322
#30 0xb62e4183 in KIO::Slave::qt_metacall (this=0x9e46ee0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfd321a8) at ./slave.moc:76
#31 0xb7819303 in QMetaObject::activate (sender=0x9e50df8, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3112
#32 0xb7819f42 in QMetaObject::activate (sender=0x9e50df8, m=0xb63ce4e0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3186
#33 0xb61edd57 in KIO::Connection::readyRead (this=0x9e50df8) at ./connection.moc:86
#34 0xb61ef663 in KIO::ConnectionPrivate::dequeue (this=0x9e50350) at ../../kio/kio/connection.cpp:82
#35 0xb61efa46 in KIO::Connection::qt_metacall (this=0x9e50df8, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbc545d8) at ./connection.moc:73
#36 0xb7812b0b in QMetaCallEvent::placeMetaCall (this=0xaa7c290, object=0x9e50df8) at kernel/qobject.cpp:477
#37 0xb78145e0 in QObject::event (this=0x9e50df8, e=0xaa7c290) at kernel/qobject.cpp:1110
#38 0xb6e43a94 in QApplicationPrivate::notify_helper (this=0x95e8328, receiver=0x9e50df8, e=0xaa7c290) at kernel/qapplication.cpp:4065
#39 0xb6e4bbee in QApplication::notify (this=0xbfd34dcc, receiver=0x9e50df8, e=0xaa7c290) at kernel/qapplication.cpp:3605
#40 0xb7d060fd in KApplication::notify (this=0xbfd34dcc, receiver=0x9e50df8, event=0xaa7c290) at ../../kdeui/kernel/kapplication.cpp:302
#41 0xb78041eb in QCoreApplication::notifyInternal (this=0xbfd34dcc, receiver=0x9e50df8, event=0xaa7c290) at kernel/qcoreapplication.cpp:610
#42 0xb7804e2e in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x95c1998) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x95c1998) at kernel/qcoreapplication.cpp:1247
#44 0xb780500d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#45 0xb782f4cf in QCoreApplication::sendPostedEvents (s=0x95edeb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#46 postEventSourceDispatch (s=0x95edeb0) at kernel/qeventdispatcher_glib.cpp:276
#47 0xb525ce98 in g_main_dispatch (context=0x95ea490) at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:1960
#48 IA__g_main_context_dispatch (context=0x95ea490) at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:2513
#49 0xb5260623 in g_main_context_iterate (context=0x95ea490, block=1, dispatch=1, self=0x95de8a8) at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:2591
#50 0xb52607a8 in IA__g_main_context_iteration (context=0x95ea490, may_block=1) at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:2654
#51 0xb782f041 in QEventDispatcherGlib::processEvents (this=0x95c16e8, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#52 0xb6ee3305 in QGuiEventDispatcherGlib::processEvents (this=0x95c16e8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#53 0xb780283a in QEventLoop::processEvents (this=0xadb47b0, flags=...) at kernel/qeventloop.cpp:149
#54 0xb7802c82 in QEventLoop::exec (this=0xadb47b0, flags=...) at kernel/qeventloop.cpp:201
#55 0xb6ecbff6 in QDragManager::drag (this=0xa5ab688, o=0x9a2a178) at kernel/qdnd_x11.cpp:1970
#56 0xb6e56e9a in QDrag::exec (this=0x9a2a178, supportedActions=..., defaultDropAction=Qt::IgnoreAction) at kernel/qdrag.cpp:282
#57 0xb6e56f44 in QDrag::exec (this=0x9a2a178, supportedActions=...) at kernel/qdrag.cpp:239
#58 0xb15425a0 in ?? () from /usr/lib/libkmailprivate.so.4
#59 0xb15922e6 in ?? () from /usr/lib/libkmailprivate.so.4
#60 0xb6e99865 in QWidget::event (this=0x9c01210, event=0xbfd3342c) at kernel/qwidget.cpp:7539
#61 0xb723f543 in QFrame::event (this=0x9c01210, e=0xbfd3342c) at widgets/qframe.cpp:559
#62 0xb72dd59f in QAbstractScrollArea::viewportEvent (this=0x9c01210, e=0xad225e8) at widgets/qabstractscrollarea.cpp:962
#63 0xb738e887 in QAbstractItemView::viewportEvent (this=0x9c01210, event=0xbfd3342c) at itemviews/qabstractitemview.cpp:1476
#64 0xb73c9696 in QTreeView::viewportEvent (this=0x9c01210, event=0xbfd3342c) at itemviews/qtreeview.cpp:1266
#65 0xb72dfb75 in QAbstractScrollAreaPrivate::viewportEvent (this=0x9b6c2a8, o=0x9c01718, e=0xbfd3342c) at widgets/qabstractscrollarea_p.h:100
#66 QAbstractScrollAreaFilter::eventFilter (this=0x9b6c2a8, o=0x9c01718, e=0xbfd3342c) at widgets/qabstractscrollarea_p.h:111
#67 0xb780341a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x95e8328, receiver=0x9c01718, event=0xbfd3342c) at kernel/qcoreapplication.cpp:726
#68 0xb6e43a6c in QApplicationPrivate::notify_helper (this=0x95e8328, receiver=0x9c01718, e=0xbfd3342c) at kernel/qapplication.cpp:4061
#69 0xb6e4c551 in QApplication::notify (this=0xbfd34dcc, receiver=0x9c01718, e=0xbfd3342c) at kernel/qapplication.cpp:3767
#70 0xb7d060fd in KApplication::notify (this=0xbfd34dcc, receiver=0x9c01718, event=0xbfd3342c) at ../../kdeui/kernel/kapplication.cpp:302
#71 0xb78041eb in QCoreApplication::notifyInternal (this=0xbfd34dcc, receiver=0x9c01718, event=0xbfd3342c) at kernel/qcoreapplication.cpp:610
#72 0xb6e4b5de in QCoreApplication::sendSpontaneousEvent (receiver=0x9c01718, event=0xbfd3342c, alienWidget=0x9c01718, nativeWidget=0x96b4660, buttonDown=0xb76ba580, lastMouseReceiver=...)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#73 QApplicationPrivate::sendMouseEvent (receiver=0x9c01718, event=0xbfd3342c, alienWidget=0x9c01718, nativeWidget=0x96b4660, buttonDown=0xb76ba580, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#74 0xb6eba175 in QETWidget::translateMouseEvent (this=0x96b4660, event=0xbfd349dc) at kernel/qapplication_x11.cpp:4411
#75 0xb6eb9646 in QApplication::x11ProcessEvent (this=0xbfd34dcc, event=0xbfd349dc) at kernel/qapplication_x11.cpp:3430
#76 0xb6ee3bc2 in x11EventSourceDispatch (s=0x95ee3b0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#77 0xb525ce98 in g_main_dispatch (context=0x95ea490) at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:1960
#78 IA__g_main_context_dispatch (context=0x95ea490) at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:2513
#79 0xb5260623 in g_main_context_iterate (context=0x95ea490, block=1, dispatch=1, self=0x95de8a8) at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:2591
#80 0xb52607a8 in IA__g_main_context_iteration (context=0x95ea490, may_block=1) at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:2654
#81 0xb782f041 in QEventDispatcherGlib::processEvents (this=0x95c16e8, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#82 0xb6ee3305 in QGuiEventDispatcherGlib::processEvents (this=0x95c16e8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#83 0xb780283a in QEventLoop::processEvents (this=0xbfd34c40, flags=...) at kernel/qeventloop.cpp:149
#84 0xb7802c82 in QEventLoop::exec (this=0xbfd34c40, flags=...) at kernel/qeventloop.cpp:201
#85 0xb78050d9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#86 0xb6e43917 in QApplication::exec () at kernel/qapplication.cpp:3525
#87 0x0804bd40 in _start ()

Reported using DrKonqi
Comment 1 Christophe Marin 2009-10-30 23:51:51 UTC
Unfortunately, the backtrace is not helpful.
If you can reproduce this bug, please install the debug package for kdepim and paste a better one.
More informations on this page: http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 2 Andreas Cord-Landwehr 2009-10-31 10:27:37 UTC
I just noticed why the backtrace wasn't useful: my kdepim-dbg packege was outdated with version 4.3.1, now the correct one:

Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  0xb10c17eb in KMReaderWin::parseMsg (this=0x9adf5d0, aMsg=0xa5b5380) at ../../kmail/kmreaderwin.cpp:1678
#7  0xb10afa2b in KMReaderWin::displayMessage (this=0x9adf5d0) at ../../kmail/kmreaderwin.cpp:1605
#8  0xb10afc40 in KMReaderWin::updateReaderWin (this=0x9adf5d0) at ../../kmail/kmreaderwin.cpp:1545
#9  0xb10bb291 in KMReaderWin::setMsg (this=0x9adf5d0, aMsg=0xa5b5380, force=true) at ../../kmail/kmreaderwin.cpp:1347
#10 0xb10bc157 in KMReaderWin::slotMessageArrived (this=0x9adf5d0, msg=0xa5b5380) at ../../kmail/kmreaderwin.cpp:935
#11 0xb10bc45c in KMReaderWin::qt_metacall (this=0x9adf5d0, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0xbfdd746c) at ./kmreaderwin.moc:196
#12 0xb76d4303 in QMetaObject::activate (sender=0x9862c38, from_signal_index=4, to_signal_index=4, argv=0xbfdd746c) at kernel/qobject.cpp:3112
#13 0xb76d4f42 in QMetaObject::activate (sender=0x9862c38, m=0xb169e4d0, local_signal_index=0, argv=0xbfdd746c) at kernel/qobject.cpp:3186
#14 0xb12cf973 in KMail::FolderJob::messageRetrieved (this=0x9862c38, _t1=0xa5b5380) at ./folderjob.moc:99
#15 0xb12dc117 in KMail::ImapJob::slotGetMessageResult (this=0x9862c38, job=0xabc3778) at ../../kmail/imapjob.cpp:460
#16 0xb12e079c in KMail::ImapJob::qt_metacall (this=0x9862c38, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfdd75dc) at ./imapjob.moc:82
#17 0xb76d4303 in QMetaObject::activate (sender=0xabc3778, from_signal_index=7, to_signal_index=7, argv=0xbfdd75dc) at kernel/qobject.cpp:3112
#18 0xb76d4f42 in QMetaObject::activate (sender=0xabc3778, m=0xb79e8c28, local_signal_index=3, argv=0xbfdd75dc) at kernel/qobject.cpp:3186
#19 0xb788b4d3 in KJob::result (this=0xabc3778, _t1=0xabc3778) at ./kjob.moc:188
#20 0xb788b979 in KJob::emitResult (this=0xabc3778) at ../../kdecore/jobs/kjob.cpp:304
#21 0xb60e4bd5 in KIO::SimpleJob::slotFinished (this=0xabc3778) at ../../kio/kio/job.cpp:477
#22 0xb60e5533 in KIO::TransferJob::slotFinished (this=0xabc3778) at ../../kio/kio/job.cpp:948
#23 0xb60e1ac3 in KIO::TransferJob::qt_metacall (this=0xabc3778, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfdd7818) at ./jobclasses.moc:343
#24 0xb76d4303 in QMetaObject::activate (sender=0x9d39178, from_signal_index=8, to_signal_index=8, argv=0x0) at kernel/qobject.cpp:3112
#25 0xb76d4f42 in QMetaObject::activate (sender=0x9d39178, m=0xb628cba4, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3186
#26 0xb61aa7d7 in KIO::SlaveInterface::finished (this=0x9d39178) at ./slaveinterface.moc:165
#27 0xb61ae587 in KIO::SlaveInterface::dispatch (this=0x9d39178, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#28 0xb61aacb7 in KIO::SlaveInterface::dispatch (this=0x9d39178) at ../../kio/kio/slaveinterface.cpp:91
#29 0xb619cc9d in KIO::Slave::gotInput (this=0x9d39178) at ../../kio/kio/slave.cpp:322
#30 0xb619f183 in KIO::Slave::qt_metacall (this=0x9d39178, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfdd7ae8) at ./slave.moc:76
#31 0xb76d4303 in QMetaObject::activate (sender=0x9d2c630, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3112
#32 0xb76d4f42 in QMetaObject::activate (sender=0x9d2c630, m=0xb62894e0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3186
#33 0xb60a8d57 in KIO::Connection::readyRead (this=0x9d2c630) at ./connection.moc:86
#34 0xb60aa663 in KIO::ConnectionPrivate::dequeue (this=0x9d2c640) at ../../kio/kio/connection.cpp:82
#35 0xb60aaa46 in KIO::Connection::qt_metacall (this=0x9d2c630, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xa516460) at ./connection.moc:73
#36 0xb76cdb0b in QMetaCallEvent::placeMetaCall (this=0x9dc4ac8, object=0x9d2c630) at kernel/qobject.cpp:477
#37 0xb76cf5e0 in QObject::event (this=0x9d2c630, e=0x9dc4ac8) at kernel/qobject.cpp:1110
#38 0xb6cfea94 in QApplicationPrivate::notify_helper (this=0x94d8328, receiver=0x9d2c630, e=0x9dc4ac8) at kernel/qapplication.cpp:4065
#39 0xb6d06bee in QApplication::notify (this=0xbfdd83ac, receiver=0x9d2c630, e=0x9dc4ac8) at kernel/qapplication.cpp:3605
#40 0xb7bc10fd in KApplication::notify (this=0xbfdd83ac, receiver=0x9d2c630, event=0x9dc4ac8) at ../../kdeui/kernel/kapplication.cpp:302
#41 0xb76bf1eb in QCoreApplication::notifyInternal (this=0xbfdd83ac, receiver=0x9d2c630, event=0x9dc4ac8) at kernel/qcoreapplication.cpp:610
#42 0xb76bfe2e in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x94b1998) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x94b1998) at kernel/qcoreapplication.cpp:1247
#44 0xb76c000d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#45 0xb76ea4cf in QCoreApplication::sendPostedEvents (s=0x94da500) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#46 postEventSourceDispatch (s=0x94da500) at kernel/qeventdispatcher_glib.cpp:276
#47 0xb5117e98 in g_main_dispatch (context=0x94da480) at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:1960
#48 IA__g_main_context_dispatch (context=0x94da480) at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:2513
#49 0xb511b623 in g_main_context_iterate (context=0x94da480, block=1, dispatch=1, self=0x94ce8a8) at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:2591
#50 0xb511b7a8 in IA__g_main_context_iteration (context=0x94da480, may_block=1) at /build/buildd-glib2.0_2.22.2-2-i386-R8GTDn/glib2.0-2.22.2/glib/gmain.c:2654
#51 0xb76ea041 in QEventDispatcherGlib::processEvents (this=0x94b16e8, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#52 0xb6d9e305 in QGuiEventDispatcherGlib::processEvents (this=0x94b16e8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#53 0xb76bd83a in QEventLoop::processEvents (this=0xbfdd8220, flags=...) at kernel/qeventloop.cpp:149
#54 0xb76bdc82 in QEventLoop::exec (this=0xbfdd8220, flags=...) at kernel/qeventloop.cpp:201
#55 0xb76c00d9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#56 0xb6cfe917 in QApplication::exec () at kernel/qapplication.cpp:3525
#57 0x0804bd40 in main (argc=1, argv=0xbfdd85a4) at ../../../kontact/src/main.cpp:218
Comment 3 Christophe Marin 2010-09-19 21:14:26 UTC

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