[Bug 204515] crash when sending queued mail

Matt Whitlock matt at whitlock.name
Mon Aug 31 21:46:30 BST 2009


https://bugs.kde.org/show_bug.cgi?id=204515





--- Comment #4 from Matt Whitlock <matt whitlock name>  2009-08-31 22:46:11 ---
I just had this happen again.  This time, instead of waiting to get a backtrace
until after the inevitable crash, I attached gdb to the running process just
after I clicked Send and observed the composer window to disable but not to
close.  The "sending mail" background task is stuck at 0%, as is always the
case in this scenario.

For what it's worth, my wallet was already open at the time I clicked Send, but
I had forcibly closed my wallet and reopened it previously without restarting
KMail.  In other words:

1. Start KMail.
2. Enter password in KWallet popup to open wallet.
3. Force wallet closed.
4. Reopen wallet by accessing it from another application (e.g., Konqueror).
5. Attempt to send a message in KMail.

I have no idea whether this sequence has any significance to this bug
whatsoever, but I figured it might be worth mentioning since there are some
KWallet calls in the backtrace.

Here's the backtrace (there's only one thread):

#0  0x00007f953f2cf426 in __poll (fds=0x1af6830, nfds=10, timeout=49) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f953856e86a in g_main_context_iterate (context=0x872000, block=1,
dispatch=1, self=<value optimized out>)
    at gmain.c:2768                                                             
#2  0x00007f953856ec0c in IA__g_main_context_iteration (context=0x872000,
may_block=1) at gmain.c:2518              
#3  0x00007f95400bdd1f in QEventDispatcherGlib::processEvents (this=0x83a0d0,
flags=<value optimized out>)          
    at kernel/qeventdispatcher_glib.cpp:327                                     
#4  0x00007f95408155be in QGuiEventDispatcherGlib::processEvents
(this=0x1af6830, flags=<value optimized out>)      
    at kernel/qguieventdispatcher_glib.cpp:202                                  
#5  0x00007f9540090932 in QEventLoop::processEvents (this=<value optimized
out>, flags={i = 249165136})             
    at kernel/qeventloop.cpp:149                                                
#6  0x00007f9540090dbd in QEventLoop::exec (this=0x7fff0ed9f6b0, flags={i =
249165696}) at kernel/qeventloop.cpp:197
#7  0x00007f9545bc1b98 in KWallet::Wallet::openWallet (name=@0x7fff0ed9f7d0,
w=<value optimized out>,               
    ot=KWallet::Wallet::Synchronous)                                            
    at
/var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kdeui/util/kwallet.cpp:252 
#8  0x00007f953b8df47d in MailTransport::TransportManager::wallet
(this=0x8d57f0)                                   
    at
/var/tmp/portage/kde-base/kdepimlibs-4.3.0/work/kdepimlibs-4.3.0/mailtransport/transportmanager.cpp:420 
#9  0x00007f953b8d559d in MailTransport::Transport::readPassword
(this=0x874ad0)                                    
    at
/var/tmp/portage/kde-base/kdepimlibs-4.3.0/work/kdepimlibs-4.3.0/mailtransport/transport.cpp:245 
#10 0x00007f953b8dfa2a in MailTransport::TransportManager::loadPasswords
(this=0x8d57f0)                            
    at
/var/tmp/portage/kde-base/kdepimlibs-4.3.0/work/kdepimlibs-4.3.0/mailtransport/transportmanager.cpp:445 
#11 0x00007f953b8d486d in MailTransport::Transport::password (this=0x357dce0)   
    at
/var/tmp/portage/kde-base/kdepimlibs-4.3.0/work/kdepimlibs-4.3.0/mailtransport/transport.cpp:76 
#12 0x00007f953b8e7fe6 in MailTransport::SmtpJob::startSmtpJob (this=0x8c83e0)  
    at
/var/tmp/portage/kde-base/kdepimlibs-4.3.0/work/kdepimlibs-4.3.0/mailtransport/smtpjob.cpp:159 
#13 0x00007f953b8e913a in MailTransport::SmtpJob::doStart (this=0x8c83e0)       
    at
/var/tmp/portage/kde-base/kdepimlibs-4.3.0/work/kdepimlibs-4.3.0/mailtransport/smtpjob.cpp:114 
#14 0x00007f953b8dd6bd in MailTransport::TransportJob::start (this=0x8c83e0)    
    at
/var/tmp/portage/kde-base/kdepimlibs-4.3.0/work/kdepimlibs-4.3.0/mailtransport/transportjob.cpp:129 
#15 0x00007f9544c3e8fc in KMSender::doSendMsg (this=0xb2b810)                   
    at
/var/tmp/portage/kde-base/kmail-4.3.0/work/kmail-4.3.0/kmail/kmsender.cpp:592   
#16 0x00007f9544c4014c in KMSender::doSendQueued (this=0xb2b810,
customTransport=@0x7fff0eda07f0)                   
    at
/var/tmp/portage/kde-base/kmail-4.3.0/work/kmail-4.3.0/kmail/kmsender.cpp:244   
#17 0x00007f9544c3c705 in KMSender::doSend (this=0xb2b810, aMsg=0x24121b0,
sendNow=1)                               
    at
/var/tmp/portage/kde-base/kmail-4.3.0/work/kmail-4.3.0/kmail/messagesender.h:77 
#18 0x00007f9544bc838b in KMComposeWin::slotContinueDoSend (this=0x2d046e0,
sentOk=<value optimized out>)           
    at
/var/tmp/portage/kde-base/kmail-4.3.0/work/kmail-4.3.0/kmail/messagesender.h:65 
#19 0x00007f9544bc8bcc in KMComposeWin::qt_metacall (this=0x2d046e0,
_c=QMetaObject::InvokeMetaMethod,              
    _id=<value optimized out>, _a=0x7fff0eda0b70)                               
    at
/var/tmp/portage/kde-base/kmail-4.3.0/work/kmail-4.3.0_build/kmail/kmcomposewin.moc:313 
#20 0x00007f95400a4f9e in QMetaObject::activate (sender=0x2d046e0,
from_signal_index=<value optimized out>,         
    to_signal_index=50, argv=0xffffffffffffffff) at kernel/qobject.cpp:3101     
#21 0x00007f9544b9971d in KMComposeWin::slotComposerDone (this=0x2d046e0,
rc=true)                                  
    at
/var/tmp/portage/kde-base/kmail-4.3.0/work/kmail-4.3.0_build/kmail/kmcomposewin.moc:331 
#22 0x00007f9544bc8be4 in KMComposeWin::qt_metacall (this=0x2d046e0,
_c=QMetaObject::InvokeMetaMethod,              
    _id=<value optimized out>, _a=0x7fff0eda0ce0)                               
    at
/var/tmp/portage/kde-base/kmail-4.3.0/work/kmail-4.3.0_build/kmail/kmcomposewin.moc:312 
#23 0x00007f95400a4f9e in QMetaObject::activate (sender=0xa31ad0,
from_signal_index=<value optimized out>,
    to_signal_index=4, argv=0xffffffffffffffff) at kernel/qobject.cpp:3101
#24 0x00007f9544e7ebcc in MessageComposer::emitDone (this=0xa31ad0, ok=true)
    at
/var/tmp/portage/kde-base/kmail-4.3.0/work/kmail-4.3.0_build/kmail/messagecomposer.moc:82
#25 0x00007f9544e7ed4f in MessageComposer::doNextJob (this=0xa31ad0)
    at
/var/tmp/portage/kde-base/kmail-4.3.0/work/kmail-4.3.0/kmail/messagecomposer.cpp:393
#26 0x00007f9544e7ed89 in MessageComposer::slotDoNextJob (this=0xa31ad0)
    at
/var/tmp/portage/kde-base/kmail-4.3.0/work/kmail-4.3.0/kmail/messagecomposer.cpp:440
#27 0x00007f9544e7eebd in MessageComposer::qt_metacall (this=0xa31ad0,
_c=QMetaObject::InvokeMetaMethod, _id=-516,
    _a=0x7fff0eda0e80) at
/var/tmp/portage/kde-base/kmail-4.3.0/work/kmail-4.3.0_build/kmail/messagecomposer.moc:70
#28 0x00007f95400a4f9e in QMetaObject::activate (sender=0x1826130,
from_signal_index=<value optimized out>,
    to_signal_index=4, argv=0xffffffffffffffff) at kernel/qobject.cpp:3101
#29 0x00007f95400b0bca in QSingleShotTimer::timerEvent (this=0x1826130) at
.moc/release-shared/qtimer.moc:76
#30 0x00007f95400a6433 in QObject::event (this=0x1826130, e=0xa) at
kernel/qobject.cpp:1066
#31 0x00007f9540776fec in QApplicationPrivate::notify_helper (this=0x870320,
receiver=0x1826130, e=0x7fff0eda14f0)
    at kernel/qapplication.cpp:4056
#32 0x00007f95407786c8 in QApplication::notify (this=0x7fff0eda1970,
receiver=0x1826130, e=0x7fff0eda14f0)
    at kernel/qapplication.cpp:4021
#33 0x00007f9545b289cb in KApplication::notify (this=0x7fff0eda1970,
receiver=0x1826130, event=0x7fff0eda14f0)
    at
/var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kdeui/kernel/kapplication.cpp:302
#34 0x00007f9540091c9b in QCoreApplication::notifyInternal
(this=0x7fff0eda1970, receiver=0x1826130,
    event=0x7fff0eda14f0) at kernel/qcoreapplication.cpp:606
#35 0x00007f95400c0d05 in QTimerInfoList::activateTimers (this=0x8726c0) at
kernel/qcoreapplication.h:213
#36 0x00007f95400bddbd in timerSourceDispatch (source=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:165
#37 0x00007f953856cd1d in g_main_dispatch (context=0x872000) at gmain.c:1824
#38 0x00007f953856eaad in g_main_context_iterate (context=0x872000, block=1,
dispatch=1, self=<value optimized out>)
    at gmain.c:2377
#39 0x00007f953856ec0c in IA__g_main_context_iteration (context=0x872000,
may_block=1) at gmain.c:2518
#40 0x00007f95400bdd1f in QEventDispatcherGlib::processEvents (this=0x83a0d0,
flags=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:327
#41 0x00007f95408155be in QGuiEventDispatcherGlib::processEvents
(this=0x1af6830, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:202
#42 0x00007f9540090932 in QEventLoop::processEvents (this=<value optimized
out>, flags={i = 249173872})
    at kernel/qeventloop.cpp:149
#43 0x00007f9540090dbd in QEventLoop::exec (this=0x7fff0eda17c0, flags={i =
249173968}) at kernel/qeventloop.cpp:197
#44 0x00007f9540094bbc in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:888
#45 0x0000000000403361 in main (argc=<value optimized out>, argv=<value
optimized out>)
    at
/var/tmp/portage/kde-base/kmail-4.3.0/work/kmail-4.3.0/kmail/main.cpp:146

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list