[Bug 204515] New: crash when sending queued mail

Neal Becker ndbecker2 at gmail.com
Thu Aug 20 12:15:42 BST 2009


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

           Summary: crash when sending queued mail
           Product: kmail
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: ndbecker2 at gmail.com


Application that crashed: kmail
Version of the application: 1.12.0
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.29.6-217.2.8.fc11.x86_64 x86_64
Distribution: "Fedora release 11 (Leonidas)"

What I was doing when the application crashed:
This has happened many times since updating to 4.3 (never before)
I try to send a mail.  Composer window is grayed out.  But mail send seems to
hang.  Try to close composer.  Select 'save as draft'.  Nothing happens. 
Window still grayed.  Just choose 'discard'.  Window closes.

Now outbox has a mail.  Choose 'send queued messages'.  This triggers crash. 
Sending was still hung.  Maybe I tried to delete message it was sending,
triggering crash?

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f826a4eb820 (LWP 14303))]

Thread 6 (Thread 0x7f82584a7910 (LWP 17875)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f82562fa5c1 in ?? () from /usr/lib64/libxine.so.1
#2  0x00000037ffa0686a in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#3  0x00000037feede39d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f824bf39910 (LWP 17876)):
#0  timerSourcePrepare (source=<value optimized out>, timeout=0x7f824bf38d9c)
at kernel/qeventdispatcher_glib.cpp:141
#1  0x0000003801a3aa9a in g_main_context_prepare () from
/lib64/libglib-2.0.so.0
#2  0x0000003801a3ae71 in ?? () from /lib64/libglib-2.0.so.0
#3  0x0000003801a3b3a0 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#4  0x00000036acd6840e in QEventDispatcherGlib::processEvents
(this=0x7f8250002710, flags=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:329
#5  0x00000036acd3e5f2 in QEventLoop::processEvents (this=<value optimized
out>, flags={i = 36}) at kernel/qeventloop.cpp:149
#6  0x00000036acd3e9c4 in QEventLoop::exec (this=0x7f824bf38f30, flags={i = 0})
at kernel/qeventloop.cpp:201
#7  0x00000036acc56f6b in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#8  0x00007f8256553b4e in Phonon::Xine::XineThread::run (this=0x23d7ff0) at
/usr/src/debug/phonon-4.3.1/xine/xinethread.cpp:143
#9  0x00000036acc59cd5 in QThreadPrivate::start (arg=0x23d7ff0) at
thread/qthread_unix.cpp:188
#10 0x00000037ffa0686a in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#11 0x00000037feede39d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f824b538910 (LWP 17877)):
#0  0x00000037feed50b3 in *__GI___poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f824ce117f3 in ?? () from /usr/lib64/libpulse.so.0
#2  0x00007f824cdff2c4 in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#3  0x00007f824cdff673 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x00007f824cdff6e6 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x00007f824ce11870 in ?? () from /usr/lib64/libpulse.so.0
#6  0x00007f824cbc6c47 in ?? () from /usr/lib64/libpulsecommon-0.9.15.so
#7  0x00000037ffa0686a in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#8  0x00000037feede39d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f824ab37910 (LWP 17878)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f825630b493 in ?? () from /usr/lib64/libxine.so.1
#2  0x00000037ffa0686a in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#3  0x00000037feede39d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f8249b12910 (LWP 17879)):
#0  0x00000037feed70e2 in select () from /lib64/libc.so.6
#1  0x00007f8256322a85 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007f8256308289 in ?? () from /usr/lib64/libxine.so.1
#3  0x00000037ffa0686a in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#4  0x00000037feede39d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f826a4eb820 (LWP 14303)):
[KCrash Handler]
#5  0x000000000248c4b0 in ?? ()
#6  0x00007f826c025c8a in KMMsgBase::syncIndexString (this=0x3200760) at
/usr/src/debug/kdepim-4.3.0/kmail/kmmsgbase.cpp:1208
#7  0x00007f826c190f38 in KMFolderIndex::updateIndex (this=0x110ffb0,
aboutToClose=<value optimized out>) at
/usr/src/debug/kdepim-4.3.0/kmail/kmfolderindex.cpp:57
#8  0x00007f826c091dc2 in KMFolderMaildir::reallyDoClose (this=0x3200760) at
/usr/src/debug/kdepim-4.3.0/kmail/kmfoldermaildir.cpp:199
#9  0x00007f826bfe8cac in KMSender::cleanup (this=0x1b217a0) at
/usr/src/debug/kdepim-4.3.0/kmail/kmsender.cpp:615
#10 0x00007f826bfebc69 in KMSender::slotResult (this=0x1b217a0, job=<value
optimized out>) at /usr/src/debug/kdepim-4.3.0/kmail/kmsender.cpp:729
#11 0x00007f826bfec3b8 in KMSender::qt_metacall (this=0x1b217a0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6ff212e0)
    at
/usr/src/debug/kdepim-4.3.0/x86_64-redhat-linux-gnu/kmail/kmsender.moc:73
#12 0x00000036acd54fdc in QMetaObject::activate (sender=0x32e9c20,
from_signal_index=<value optimized out>, to_signal_index=<value optimized out>,
argv=0x37ff169e90) at kernel/qobject.cpp:3113
#13 0x00000036aeaee322 in KJob::result (this=0x3200760, _t1=0x32e9c20) at
/usr/src/debug/kdelibs-4.3.0/x86_64-redhat-linux-gnu/kdecore/kjob.moc:188
#14 0x00000036aeaee69f in KJob::emitResult (this=0x32e9c20) at
/usr/src/debug/kdelibs-4.3.0/kdecore/jobs/kjob.cpp:304
#15 0x00000036aeaee738 in KJob::kill (this=0x32e9c20,
verbosity=KJob::EmitResult) at
/usr/src/debug/kdelibs-4.3.0/kdecore/jobs/kjob.cpp:112
#16 0x00007f826bfec36c in KMSender::qt_metacall (this=0x1b217a0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6ff21450)
    at
/usr/src/debug/kdepim-4.3.0/x86_64-redhat-linux-gnu/kmail/kmsender.moc:75
#17 0x00000036acd54fdc in QMetaObject::activate (sender=0x2010fd0,
from_signal_index=<value optimized out>, to_signal_index=<value optimized out>,
argv=0x37ff169e90) at kernel/qobject.cpp:3113
#18 0x00007f826bb423e2 in KPIM::ProgressItem::progressItemCanceled
(this=0x3200760, _t1=0x2010fd0) at
/usr/src/debug/kdepim-4.3.0/x86_64-redhat-linux-gnu/libkdepim/progressmanager.moc:118
#19 0x00007f826bb437bd in KPIM::ProgressItem::cancel (this=0x2010fd0) at
/usr/src/debug/kdepim-4.3.0/libkdepim/progressmanager.cpp:100
#20 0x00007f826bb44320 in KPIM::TransactionItem::qt_metacall (this=0x246bb30,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value
optimized out>)
    at
/usr/src/debug/kdepim-4.3.0/x86_64-redhat-linux-gnu/libkdepim/progressdialog.moc:120
#21 0x00000036acd54fdc in QMetaObject::activate (sender=0x1f25a20,
from_signal_index=<value optimized out>, to_signal_index=<value optimized out>,
argv=0x37ff169e90) at kernel/qobject.cpp:3113
#22 0x00000036ae58d317 in QAbstractButton::clicked (this=0x3200760, _t1=false)
at .moc/release-shared/moc_qabstractbutton.cpp:200
#23 0x00000036ae2f142b in QAbstractButtonPrivate::emitClicked (this=0x32e7d90)
at widgets/qabstractbutton.cpp:543
#24 0x00000036ae2f303b in QAbstractButtonPrivate::click (this=0x32e7d90) at
widgets/qabstractbutton.cpp:536
#25 0x00000036ae2f3285 in QAbstractButton::mouseReleaseEvent (this=0x1f25a20,
e=0x7fff6ff21d30) at widgets/qabstractbutton.cpp:1115
#26 0x00000036adfde100 in QWidget::event (this=0x1f25a20, event=0x7fff6ff21d30)
at kernel/qwidget.cpp:7549
#27 0x00000036adf8f69c in QApplicationPrivate::notify_helper (this=0xe18fc0,
receiver=0x1f25a20, e=0x7fff6ff21d30) at kernel/qapplication.cpp:4056
#28 0x00000036adf96dc1 in QApplication::notify (this=<value optimized out>,
receiver=0x1f25a20, e=0x7fff6ff21d30) at kernel/qapplication.cpp:3758
#29 0x00000036af610546 in KApplication::notify (this=0x7fff6ff25e30,
receiver=0x1f25a20, event=0x7fff6ff21d30) at
/usr/src/debug/kdelibs-4.3.0/kdeui/kernel/kapplication.cpp:302
#30 0x00000036acd3fcbc in QCoreApplication::notifyInternal
(this=0x7fff6ff25e30, receiver=0x1f25a20, event=0x7fff6ff21d30) at
kernel/qcoreapplication.cpp:610
#31 0x00000036adf96080 in QCoreApplication::sendSpontaneousEvent (event=<value
optimized out>, receiver=<value optimized out>) at
../../src/corelib/kernel/qcoreapplication.h:216
#32 QApplicationPrivate::sendMouseEvent (event=<value optimized out>,
receiver=<value optimized out>) at kernel/qapplication.cpp:2924
#33 0x00000036adffbece in QETWidget::translateMouseEvent (this=0x1c30be0,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4404
#34 0x00000036adffaf6a in QApplication::x11ProcessEvent (this=<value optimized
out>, event=0x7fff6ff23860) at kernel/qapplication_x11.cpp:3545
#35 0x00000036ae022c7c in x11EventSourceDispatch (s=<value optimized out>,
callback=<value optimized out>, user_data=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:146
#36 0x0000003801a37abe in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#37 0x0000003801a3b278 in ?? () from /lib64/libglib-2.0.so.0
#38 0x0000003801a3b3a0 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#39 0x00000036acd683b6 in QEventDispatcherGlib::processEvents (this=0xde4750,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#40 0x00000036ae02242e in QGuiEventDispatcherGlib::processEvents
(this=0x3200760, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:202
#41 0x00000036acd3e5f2 in QEventLoop::processEvents (this=<value optimized
out>, flags={i = 36}) at kernel/qeventloop.cpp:149
#42 0x00000036acd3e9c4 in QEventLoop::exec (this=0x7fff6ff23cb0, flags={i = 0})
at kernel/qeventloop.cpp:201
#43 0x00000036af698b80 in KWallet::Wallet::openWallet (name=<value optimized
out>, w=<value optimized out>, ot=KWallet::Wallet::Synchronous) at
/usr/src/debug/kdelibs-4.3.0/kdeui/util/kwallet.cpp:252
#44 0x00000036b921f812 in MailTransport::TransportManager::wallet() () from
/usr/lib64/libmailtransport.so.4
#45 0x00000036b92155a5 in MailTransport::Transport::readPassword() () from
/usr/lib64/libmailtransport.so.4
#46 0x00000036b921e867 in MailTransport::TransportManager::loadPasswords() ()
from /usr/lib64/libmailtransport.so.4
#47 0x00000036b9214d6d in MailTransport::Transport::password() () from
/usr/lib64/libmailtransport.so.4
#48 0x00000036b9225dc4 in MailTransport::SmtpJob::startSmtpJob() () from
/usr/lib64/libmailtransport.so.4
#49 0x00000036b9226c7f in MailTransport::SmtpJob::doStart() () from
/usr/lib64/libmailtransport.so.4
#50 0x00000036b921d77c in MailTransport::TransportJob::start() () from
/usr/lib64/libmailtransport.so.4
#51 0x00007f826bfeb19b in KMSender::doSendMsg (this=0x1b217a0) at
/usr/src/debug/kdepim-4.3.0/kmail/kmsender.cpp:592
#52 0x00007f826bfec4e9 in KMSender::doSendQueued (this=0x1b217a0,
customTransport=@0x7fff6ff24d90) at
/usr/src/debug/kdepim-4.3.0/kmail/kmsender.cpp:244
#53 0x00007f826bfe92cf in KMail::MessageSender::sendQueued (transport=<value
optimized out>, this=<value optimized out>) at
/usr/src/debug/kdepim-4.3.0/kmail/messagesender.h:77
#54 KMSender::doSend (transport=<value optimized out>, this=<value optimized
out>) at /usr/src/debug/kdepim-4.3.0/kmail/kmsender.cpp:194
#55 0x00007f826bf723ec in KMail::MessageSender::send (method=<value optimized
out>, msg=<value optimized out>, this=<value optimized out>) at
/usr/src/debug/kdepim-4.3.0/kmail/messagesender.h:65
#56 KMComposeWin::slotContinueDoSend (method=<value optimized out>, msg=<value
optimized out>, this=<value optimized out>) at
/usr/src/debug/kdepim-4.3.0/kmail/kmcomposewin.cpp:3691
#57 0x00007f826bf8115b in KMComposeWin::qt_metacall (this=0x31ae800,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6ff25130)
    at
/usr/src/debug/kdepim-4.3.0/x86_64-redhat-linux-gnu/kmail/kmcomposewin.moc:313
#58 0x00000036acd54fdc in QMetaObject::activate (sender=0x31ae800,
from_signal_index=<value optimized out>, to_signal_index=<value optimized out>,
argv=0x37ff169e90) at kernel/qobject.cpp:3113
#59 0x00007f826bf57a6f in KMComposeWin::applyChangesDone (this=0x3200760,
_t1=true) at
/usr/src/debug/kdepim-4.3.0/x86_64-redhat-linux-gnu/kmail/kmcomposewin.moc:331
#60 0x00007f826bf57b3f in KMComposeWin::slotComposerDone (this=0x31ae800,
rc=255) at /usr/src/debug/kdepim-4.3.0/kmail/kmcomposewin.cpp:2012
#61 0x00007f826bf81147 in KMComposeWin::qt_metacall (this=0x31ae800,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6ff252c0)
    at
/usr/src/debug/kdepim-4.3.0/x86_64-redhat-linux-gnu/kmail/kmcomposewin.moc:312
#62 0x00000036acd54fdc in QMetaObject::activate (sender=0x3202920,
from_signal_index=<value optimized out>, to_signal_index=<value optimized out>,
argv=0x37ff169e90) at kernel/qobject.cpp:3113
#63 0x00007f826c1e9c1f in MessageComposer::done (this=0x3200760, _t1=true) at
/usr/src/debug/kdepim-4.3.0/x86_64-redhat-linux-gnu/kmail/messagecomposer.moc:82
#64 0x00007f826c1e9e95 in MessageComposer::emitDone (this=0x3202920, ok=255) at
/usr/src/debug/kdepim-4.3.0/kmail/messagecomposer.cpp:417
#65 0x00007f826c1ea171 in MessageComposer::qt_metacall (this=0x3202920,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6ff253d0)
    at
/usr/src/debug/kdepim-4.3.0/x86_64-redhat-linux-gnu/kmail/messagecomposer.moc:70
#66 0x00000036acd54fdc in QMetaObject::activate (sender=0x2147090,
from_signal_index=<value optimized out>, to_signal_index=<value optimized out>,
argv=0x37ff169e90) at kernel/qobject.cpp:3113
#67 0x00000036acd59fdf in QSingleShotTimer::timerEvent (this=0x2147090) at
kernel/qtimer.cpp:298
#68 0x00000036acd4ef93 in QObject::event (this=0x2147090, e=0xffffffff) at
kernel/qobject.cpp:1075
#69 0x00000036adf8f69c in QApplicationPrivate::notify_helper (this=0xe18fc0,
receiver=0x2147090, e=0x7fff6ff259e0) at kernel/qapplication.cpp:4056
#70 0x00000036adf966ce in QApplication::notify (this=0x7fff6ff25e30,
receiver=0x2147090, e=0x7fff6ff259e0) at kernel/qapplication.cpp:4021
#71 0x00000036af610546 in KApplication::notify (this=0x7fff6ff25e30,
receiver=0x2147090, event=0x7fff6ff259e0) at
/usr/src/debug/kdelibs-4.3.0/kdeui/kernel/kapplication.cpp:302
#72 0x00000036acd3fcbc in QCoreApplication::notifyInternal
(this=0x7fff6ff25e30, receiver=0x2147090, event=0x7fff6ff259e0) at
kernel/qcoreapplication.cpp:610
#73 0x00000036acd6aa72 in QCoreApplication::sendEvent (event=<value optimized
out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#74 QTimerInfoList::activateTimers (event=<value optimized out>,
receiver=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:572
#75 0x00000036acd6846d in timerSourceDispatch (source=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:165
#76 0x0000003801a37abe in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#77 0x0000003801a3b278 in ?? () from /lib64/libglib-2.0.so.0
#78 0x0000003801a3b3a0 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#79 0x00000036acd683b6 in QEventDispatcherGlib::processEvents (this=0xde4750,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#80 0x00000036ae02242e in QGuiEventDispatcherGlib::processEvents
(this=0x3200760, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:202
#81 0x00000036acd3e5f2 in QEventLoop::processEvents (this=<value optimized
out>, flags={i = 36}) at kernel/qeventloop.cpp:149
#82 0x00000036acd3e9c4 in QEventLoop::exec (this=0x7fff6ff25c80, flags={i = 0})
at kernel/qeventloop.cpp:201
#83 0x00000036acd40b79 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:888
#84 0x0000000000402e69 in main (argc=<value optimized out>, argv=<value
optimized out>) at /usr/src/debug/kdepim-4.3.0/kmail/main.cpp:146

Reported using DrKonqi

-- 
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