Bug 254065

Summary: kmail crashed while attempting to send an e-mail through smtp
Product: [Unmaintained] kmail Reporter: Craig Magina <Craig.Magina>
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 Craig Magina 2010-10-13 15:45:13 UTC
Application: kontact (4.4.6)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
I clicked send, entered my gpg password to sign the e-mail and then the message window remained open and the e-mail sat in the outbox.  After a bit, I tried to close the message window and told it to just save as a draft.  Nothing happened until I chose to discard it at which point it crashed.  I restarted kmail and the e-mail was still sitting in the outbox, signed, but not sent.  I sent it and this time it went through fine.

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

Thread 2 (Thread 0x7f1f0e22d710 (LWP 8783)):
#0  0x00007f1f2f70d1e3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f1f2847b009 in g_main_context_poll (context=0x323b110, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:3093
#2  g_main_context_iterate (context=0x323b110, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2775
#3  0x00007f1f2847b45c in g_main_context_iteration (context=0x323b110, may_block=1) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2843
#4  0x00007f1f2fe511e6 in QEventDispatcherGlib::processEvents (this=0x2a8cea0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007f1f2fe23a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f1f2fe23dec in QEventLoop::exec (this=0x7f1f0e22cd90, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f1f2fd2e2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007f1f2fe035f8 in QInotifyFileSystemWatcherEngine::run (this=0x3177450) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f1f2fd3127e in QThreadPrivate::start (arg=0x3177450) at thread/qthread_unix.cpp:266
#10 0x00007f1f2a80a971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#11 0x00007f1f2f71992d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1f326de780 (LWP 8460)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f1f12a8bd01 in DwHeaders::CopyFields (this=0x413dac0, aFirst=0x673c840) at ../../mimelib/headers.cpp:482
#8  0x00007f1f12a8d788 in DwHeaders::DwHeaders (this=0x413dac0, aHeader=...) at ../../mimelib/headers.cpp:160
#9  0x00007f1f12a8d7d9 in DwHeaders::Clone (this=0x67e6830) at ../../mimelib/headers.cpp:236
#10 0x00007f1f12a89c39 in DwEntity::DwEntity (this=0x40fe970, aEntity=...) at ../../mimelib/entity.cpp:161
#11 0x00007f1f12a845e9 in DwBodyPart::DwBodyPart (this=0x29a3010, aPart=...) at ../../mimelib/bodypart.cpp:77
#12 0x00007f1f145bc143 in partNode::fromMessage (msg=0x3621f50, win=0x29e6670) at ../../kmail/partNode.cpp:131
#13 0x00007f1f144234fe in KMReaderWin::parseMsg (this=0x29e6670, aMsg=0x3621f50) at ../../kmail/kmreaderwin.cpp:1571
#14 0x00007f1f144153e0 in KMReaderWin::displayMessage (this=0x29e6670) at ../../kmail/kmreaderwin.cpp:1536
#15 0x00007f1f144155d0 in KMReaderWin::updateReaderWin (this=0x29e6670) at ../../kmail/kmreaderwin.cpp:1479
#16 0x00007f1f14426fbd in KMReaderWin::qt_metacall (this=0x29e6670, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3e2bd4e0) at ./kmreaderwin.moc:179
#17 0x00007f1f2fe3cb27 in QMetaObject::activate (sender=0x29e6718, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#18 0x00007f1f2fe368f9 in QObject::event (this=0x29e6718, e=0x673c840) at kernel/qobject.cpp:1183
#19 0x00007f1f307dafdc in QApplicationPrivate::notify_helper (this=0x2416ff0, receiver=0x29e6718, e=0x7fff3e2bdc30) at kernel/qapplication.cpp:4396
#20 0x00007f1f307e0aed in QApplication::notify (this=0x7fff3e2c0150, receiver=0x29e6718, e=0x7fff3e2bdc30) at kernel/qapplication.cpp:4277
#21 0x00007f1f3152e4d6 in KApplication::notify (this=0x7fff3e2c0150, receiver=0x29e6718, event=0x7fff3e2bdc30) at ../../kdeui/kernel/kapplication.cpp:310
#22 0x00007f1f2fe24cdc in QCoreApplication::notifyInternal (this=0x7fff3e2c0150, receiver=0x29e6718, event=0x7fff3e2bdc30) at kernel/qcoreapplication.cpp:732
#23 0x00007f1f2fe546f2 in sendEvent (this=0x241f910) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QTimerInfoList::activateTimers (this=0x241f910) at kernel/qeventdispatcher_unix.cpp:602
#25 0x00007f1f2fe514a4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#26 0x00007f1f28477342 in g_main_dispatch (context=0x241ed20) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2149
#27 g_main_context_dispatch (context=0x241ed20) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2702
#28 0x00007f1f2847b2a8 in g_main_context_iterate (context=0x241ed20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2780
#29 0x00007f1f2847b45c in g_main_context_iteration (context=0x241ed20, may_block=1) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2843
#30 0x00007f1f2fe51193 in QEventDispatcherGlib::processEvents (this=0x23e4e90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#31 0x00007f1f3088da4e in QGuiEventDispatcherGlib::processEvents (this=0x29a3010, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f1f2fe23a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#33 0x00007f1f2fe23dec in QEventLoop::exec (this=0x7fff3e2be000, flags=) at kernel/qeventloop.cpp:201
#34 0x00007f1f315c20d4 in KWallet::Wallet::openWallet (name=<value optimized out>, w=<value optimized out>, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:268
#35 0x00007f1f134cea7d in MailTransport::TransportManager::wallet (this=0x29de2d0) at ../../mailtransport/transportmanager.cpp:602
#36 0x00007f1f134cad8d in MailTransport::Transport::readPassword (this=0x5b3d8b0) at ../../mailtransport/transport.cpp:305
#37 0x00007f1f134cb2c2 in MailTransport::Transport::password (this=<value optimized out>) at ../../mailtransport/transport.cpp:82
#38 0x00007f1f134e3b35 in MailTransport::SmtpJob::startSmtpJob (this=0x5e92410) at ../../mailtransport/smtpjob.cpp:153
#39 0x00007f1f134e50d7 in MailTransport::SmtpJob::doStart (this=0x5e92410) at ../../mailtransport/smtpjob.cpp:114
#40 0x00007f1f134e127c in MailTransport::TransportJob::start (this=0x5e92410) at ../../mailtransport/transportjob.cpp:129
#41 0x00007f1f1445a91c in KMSender::doSendMsg (this=0x2abd610) at ../../kmail/kmsender.cpp:607
#42 0x00007f1f1445c009 in KMSender::doSendQueued (this=0x2abd610, customTransport=...) at ../../kmail/kmsender.cpp:243
#43 0x00007f1f1445840f in sendQueued (this=0x2abd610, aMsg=0x29a3010, sendNow=<value optimized out>) at ../../kmail/messagesender.h:77
#44 KMSender::doSend (this=0x2abd610, aMsg=0x29a3010, sendNow=<value optimized out>) at ../../kmail/kmsender.cpp:193
#45 0x00007f1f143d4a2d in send (this=0x47b41c0, sentOk=<value optimized out>) at ../../kmail/messagesender.h:65
#46 KMComposeWin::slotContinueDoSend (this=0x47b41c0, sentOk=<value optimized out>) at ../../kmail/kmcomposewin.cpp:3715
#47 0x00007f1f143f144b in KMComposeWin::qt_metacall (this=0x47b41c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3e2bf4f0) at ./kmcomposewin.moc:324
#48 0x00007f1f2fe3cb27 in QMetaObject::activate (sender=0x47b41c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#49 0x00007f1f143c85cf in KMComposeWin::applyChangesDone (this=0x29a3010, _t1=true) at ./kmcomposewin.moc:342
#50 0x00007f1f143c9930 in KMComposeWin::slotComposerDone (this=0x47b41c0, rc=64) at ../../kmail/kmcomposewin.cpp:2030
#51 0x00007f1f143f1437 in KMComposeWin::qt_metacall (this=0x47b41c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3e2bf680) at ./kmcomposewin.moc:323
#52 0x00007f1f2fe3cb27 in QMetaObject::activate (sender=0x696d3f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#53 0x00007f1f14664c3f in MessageComposer::done (this=0x29a3010, _t1=true) at ./messagecomposer.moc:88
#54 0x00007f1f14665075 in MessageComposer::emitDone (this=0x696d3f0, ok=64) at ../../kmail/messagecomposer.cpp:417
#55 0x00007f1f146652e1 in MessageComposer::qt_metacall (this=0x696d3f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x67cc4e0) at ./messagecomposer.moc:76
#56 0x00007f1f2fe36bde in QObject::event (this=0x696d3f0, e=0x29a3010) at kernel/qobject.cpp:1219
#57 0x00007f1f307dafdc in QApplicationPrivate::notify_helper (this=0x2416ff0, receiver=0x696d3f0, e=0x488e190) at kernel/qapplication.cpp:4396
#58 0x00007f1f307e0aed in QApplication::notify (this=0x7fff3e2c0150, receiver=0x696d3f0, e=0x488e190) at kernel/qapplication.cpp:4277
#59 0x00007f1f3152e4d6 in KApplication::notify (this=0x7fff3e2c0150, receiver=0x696d3f0, event=0x488e190) at ../../kdeui/kernel/kapplication.cpp:310
#60 0x00007f1f2fe24cdc in QCoreApplication::notifyInternal (this=0x7fff3e2c0150, receiver=0x696d3f0, event=0x488e190) at kernel/qcoreapplication.cpp:732
#61 0x00007f1f2fe27c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x23e5380) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#62 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x23e5380) at kernel/qcoreapplication.cpp:1373
#63 0x00007f1f2fe51653 in sendPostedEvents (s=0x241f7c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#64 postEventSourceDispatch (s=0x241f7c0) at kernel/qeventdispatcher_glib.cpp:277
#65 0x00007f1f28477342 in g_main_dispatch (context=0x241ed20) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2149
#66 g_main_context_dispatch (context=0x241ed20) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2702
#67 0x00007f1f2847b2a8 in g_main_context_iterate (context=0x241ed20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2780
#68 0x00007f1f2847b45c in g_main_context_iteration (context=0x241ed20, may_block=1) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2843
#69 0x00007f1f2fe51193 in QEventDispatcherGlib::processEvents (this=0x23e4e90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#70 0x00007f1f3088da4e in QGuiEventDispatcherGlib::processEvents (this=0x29a3010, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#71 0x00007f1f2fe23a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#72 0x00007f1f2fe23dec in QEventLoop::exec (this=0x7fff3e2c0090, flags=) at kernel/qeventloop.cpp:201
#73 0x00007f1f2fe27ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#74 0x0000000000403b4e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224

Possible duplicates by query: bug 160651.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-02-14 16:28:06 UTC

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