Bug 200382 - "Send" disables compose window but doesn't close it
Summary: "Send" disables compose window but doesn't close it
Status: RESOLVED DUPLICATE of bug 204515
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.12.0
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-16 00:55 UTC by Matt Whitlock
Modified: 2009-08-20 13:58 UTC (History)
1 user (show)

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 Matt Whitlock 2009-07-16 00:55:00 UTC
Version:           1.12.0 (using KDE 4.2.96)
Compiler:          gcc (Gentoo 4.3.3-r2 p1.1, pie-10.1.5) 4.3.3 
OS:                Linux
Installed from:    Gentoo Packages

1. Open a composer, either a new message or a reply.
2. Enter a recipient, subject, and a message.
3. Click "Send" on the composer window's toolbar.
4. All widgets in the composer become disabled, but the composer window does not close.
5. The message is added to the Outbox.
6. "Sending message 1 of 1" appears in the background tasks list, but the message does not send.
7. Canceling the background task by clicking the minus button successfully aborts the task.
8. The composer window is still visible and totally disabled.
9. Try to close the composer window using the window's close button and see the popup: "Do you want to save the message for later or discard it?"
10. Click "Discard".
11. The compose window disappears.
12. Moments later, KMail crashes.
13. The following is output to the ~/.xsession-errors log file:

kmail(23597) KMComposeWin::cleanupAutoSave: deleting autosave file "1247697484.23597.im8Kb"
kmail(23597) KMFolderMaildir::removeFile: Can't delete "/home/mattw/.kde4/share/apps/kmail/autosave/new/1247697484.23597.im8Kb" "No such file or directory"
*** KMail got signal 11 (Crashing)
kmail(23597) KMComposeWin::autoSaveMessage:

Sometimes I get a Dr. Konqi dialog, and sometimes I don't.

Other variations on the above also cause KMail to crash.  For example, instead of closing the composer at step 9, try right-clicking the Outbox and choosing "Send Queued Messages."  That usually causes KMail to crash too.

In every case, when KMail is restarted, the message is still in the Outbox, and a manual "Send Queued Messages" successfully sends it.
Comment 1 Christophe Marin 2009-07-17 17:47:51 UTC
Can you try to get a backtrace using gdb ? 

The command line is: gdb --args kmail --nofork then: bt full once you trigger the crash. (you need the debug symbols for kmail to get a useful output)


More information on this page: http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 2 Matt Whitlock 2009-07-18 01:32:48 UTC
I've been running KMail inside gdb all day and have sent several messages, and so far I have been unable to reproduce this bug.  Possibly it will not occur while gdb is attached, which could particularly be the case if it's a thread synchronization bug.  If I can't get it to happen while running KMail inside gdb, I'll try enabling core dumps in my kernel and running KMail standalone with --nocrashhandler.
Comment 3 Matt Whitlock 2009-07-24 22:56:09 UTC
I managed to get it to crash with a KDE Crash Handler today.

Steps:

1. Choose to forward a message as an attachment.
2. Start typing a recipient's name in the "To" field and accept the auto-complete suggestion.
3. Click Send.
4. The composer window grays out but does not disappear.
5. KMail shows a message in the Outbox and a background sending task.
6. Several minutes later, nothing has changed.
7. Close the composer window using the close window button in the title bar.  No confirmation dialog is shown.
8. Expand the background task list in the KMail main window.
9. Click the red minus button on the background send task.
10. KMail crashes with the following stack trace:

Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f0fbbaad744 in KMMsgBase::syncIndexString (this=0x37a3db0) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/kmmsgbase.cpp:1208
#6  0x00007f0fbbc45d14 in KMFolderIndex::updateIndex (this=0x17e6830, aboutToClose=<value optimized out>) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/kmfolderindex.cpp:57
#7  0x00007f0fbbb2dbda in KMFolderMaildir::reallyDoClose (this=0x37a3db0) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/kmfoldermaildir.cpp:199
#8  0x00007f0fbba6914b in KMSender::cleanup (this=0x1630520) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/kmsender.cpp:615
#9  0x00007f0fbba6c8c0 in KMSender::slotResult (this=0x1630520, job=<value optimized out>) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/kmsender.cpp:729
#10 0x00007f0fbba6d014 in KMSender::qt_metacall (this=0x1630520, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffc4f8f780)
    at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98_build/kmail/kmsender.moc:73
#11 0x00007f0fb6ecdf9e in QMetaObject::activate (sender=0x3f5a9d0, from_signal_index=<value optimized out>, to_signal_index=7, argv=0x36eba20) at kernel/qobject.cpp:3101
#12 0x00007f0fbc372022 in KJob::result (this=0x37a3db0, _t1=0x3f5a9d0) at /var/tmp/portage/kde-base/kdelibs-4.2.98/work/kdelibs-4.2.98_build/kdecore/kjob.moc:188
#13 0x00007f0fbc37239f in KJob::emitResult (this=0x3f5a9d0) at /var/tmp/portage/kde-base/kdelibs-4.2.98/work/kdelibs-4.2.98/kdecore/jobs/kjob.cpp:304
#14 0x00007f0fbc372448 in KJob::kill (this=0x3f5a9d0, verbosity=KJob::EmitResult) at /var/tmp/portage/kde-base/kdelibs-4.2.98/work/kdelibs-4.2.98/kdecore/jobs/kjob.cpp:112
#15 0x00007f0fbba6cfd8 in KMSender::qt_metacall (this=0x1630520, _c=QMetaObject::InvokeMetaMethod, _id=55952768, _a=0x7fffc4f8f8e0)
    at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98_build/kmail/kmsender.moc:75
#16 0x00007f0fb6ecdf9e in QMetaObject::activate (sender=0x3f51850, from_signal_index=<value optimized out>, to_signal_index=7, argv=0x36eba20) at kernel/qobject.cpp:3101
#17 0x00007f0fbb58eb12 in KPIM::ProgressItem::progressItemCanceled (this=0x37a3db0, _t1=0x3f51850)
    at /var/tmp/portage/kde-base/libkdepim-4.2.98/work/libkdepim-4.2.98_build/libkdepim/progressmanager.moc:118
#18 0x00007f0fbb58f8d6 in KPIM::ProgressItem::cancel (this=0x3f51850) at /var/tmp/portage/kde-base/libkdepim-4.2.98/work/libkdepim-4.2.98/libkdepim/progressmanager.cpp:100
#19 0x00007f0fbb5917cd in KPIM::TransactionItem::qt_metacall (this=0x3f2ff40, _c=QMetaObject::InvokeMetaMethod, _id=55952768, _a=<value optimized out>)
    at /var/tmp/portage/kde-base/libkdepim-4.2.98/work/libkdepim-4.2.98/libkdepim/progressdialog.cpp:231
#20 0x00007f0fb6ecdf9e in QMetaObject::activate (sender=0x3f52bd0, from_signal_index=<value optimized out>, to_signal_index=30, argv=0x36eba20) at kernel/qobject.cpp:3101
#21 0x00007f0fb7c0a107 in QAbstractButton::clicked (this=0x37a3db0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#22 0x00007f0fb7940b9b in QAbstractButtonPrivate::emitClicked (this=0x3f53620) at widgets/qabstractbutton.cpp:543
#23 0x00007f0fb7942f90 in QAbstractButtonPrivate::click (this=0x3f53620) at widgets/qabstractbutton.cpp:536
#24 0x00007f0fb7943275 in QAbstractButton::mouseReleaseEvent (this=0x3f52bd0, e=0x7fffc4f90480) at widgets/qabstractbutton.cpp:1115
#25 0x00007f0fb75ff860 in QWidget::event (this=0x3f52bd0, event=0x7fffc4f90480) at kernel/qwidget.cpp:7549
#26 0x00007f0fb79e6c37 in QPushButton::event (this=0x3f52bd0, e=0x7fffc4f90480) at widgets/qpushbutton.cpp:662
#27 0x00007f0fb75a17ed in QApplicationPrivate::notify_helper (this=0x15b1240, receiver=0x3f52bd0, e=0x7fffc4f90480) at kernel/qapplication.cpp:4056
#28 0x00007f0fb75a4a7b in QApplication::notify (this=<value optimized out>, receiver=0x3f52bd0, e=0x7fffc4f90480) at kernel/qapplication.cpp:3758
#29 0x00007f0fbc9559cb in KApplication::notify (this=0x7fffc4f947c0, receiver=0x3f52bd0, event=0x7fffc4f90480)
    at /var/tmp/portage/kde-base/kdelibs-4.2.98/work/kdelibs-4.2.98/kdeui/kernel/kapplication.cpp:302
#30 0x00007f0fb6ebac9b in QCoreApplication::notifyInternal (this=0x7fffc4f947c0, receiver=0x3f52bd0, event=0x7fffc4f90480) at kernel/qcoreapplication.cpp:606
#31 0x00007f0fb75a6db8 in QApplicationPrivate::sendMouseEvent (receiver=0x3f52bd0, event=0x7fffc4f90480, alienWidget=0x3f52bd0, nativeWidget=0x1bdef20, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f0fb7fb0f90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#32 0x00007f0fb7617193 in QETWidget::translateMouseEvent (this=0x1bdef20, event=<value optimized out>) at kernel/qapplication_x11.cpp:4404
#33 0x00007f0fb76156b5 in QApplication::x11ProcessEvent (this=0x7fffc4f947c0, event=0x7fffc4f92030) at kernel/qapplication_x11.cpp:3545
#34 0x00007f0fb763f1b4 in x11EventSourceDispatch (s=0x15b3530, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007f0faf397d1d in g_main_dispatch (context=0x15b0670) at gmain.c:1824
#36 0x00007f0faf399aad in g_main_context_iterate (context=0x15b0670, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2377
#37 0x00007f0faf399c0c in IA__g_main_context_iteration (context=0x15b0670, may_block=1) at gmain.c:2518
#38 0x00007f0fb6ee6d1f in QEventDispatcherGlib::processEvents (this=0x1574f00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#39 0x00007f0fb763ea6f in QGuiEventDispatcherGlib::processEvents (this=0x37a3db0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#40 0x00007f0fb6eb9932 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -990305488}) at kernel/qeventloop.cpp:149
#41 0x00007f0fb6eb9dbd in QEventLoop::exec (this=0x7fffc4f92490, flags={i = -990304928}) at kernel/qeventloop.cpp:197
#42 0x00007f0fbc9eeab8 in KWallet::Wallet::openWallet (name=@0x7fffc4f925b0, w=<value optimized out>, ot=KWallet::Wallet::Synchronous)
    at /var/tmp/portage/kde-base/kdelibs-4.2.98/work/kdelibs-4.2.98/kdeui/util/kwallet.cpp:252
#43 0x00007f0fb270947d in MailTransport::TransportManager::wallet (this=0x15fab90) at /var/tmp/portage/kde-base/kdepimlibs-4.2.98/work/kdepimlibs-4.2.98/mailtransport/transportmanager.cpp:420
#44 0x00007f0fb26ff59d in MailTransport::Transport::readPassword (this=0x160e570) at /var/tmp/portage/kde-base/kdepimlibs-4.2.98/work/kdepimlibs-4.2.98/mailtransport/transport.cpp:245
#45 0x00007f0fb2709a2a in MailTransport::TransportManager::loadPasswords (this=0x15fab90) at /var/tmp/portage/kde-base/kdepimlibs-4.2.98/work/kdepimlibs-4.2.98/mailtransport/transportmanager.cpp:445
#46 0x00007f0fb26fe86d in MailTransport::Transport::password (this=0x3f54f20) at /var/tmp/portage/kde-base/kdepimlibs-4.2.98/work/kdepimlibs-4.2.98/mailtransport/transport.cpp:76
#47 0x00007f0fb2711fe6 in MailTransport::SmtpJob::startSmtpJob (this=0x3f5a9d0) at /var/tmp/portage/kde-base/kdepimlibs-4.2.98/work/kdepimlibs-4.2.98/mailtransport/smtpjob.cpp:159
#48 0x00007f0fb271313a in MailTransport::SmtpJob::doStart (this=0x3f5a9d0) at /var/tmp/portage/kde-base/kdepimlibs-4.2.98/work/kdepimlibs-4.2.98/mailtransport/smtpjob.cpp:114
#49 0x00007f0fb27076bd in MailTransport::TransportJob::start (this=0x3f5a9d0) at /var/tmp/portage/kde-base/kdepimlibs-4.2.98/work/kdepimlibs-4.2.98/mailtransport/transportjob.cpp:129
#50 0x00007f0fbba6b90c in KMSender::doSendMsg (this=0x1630520) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/kmsender.cpp:592
#51 0x00007f0fbba6d15c in KMSender::doSendQueued (this=0x1630520, customTransport=@0x7fffc4f935d0) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/kmsender.cpp:244
#52 0x00007f0fbba69715 in KMSender::doSend (this=0x1630520, aMsg=0x37a3db0, sendNow=1) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/messagesender.h:77
#53 0x00007f0fbb9f538b in KMComposeWin::slotContinueDoSend (this=0x36d8990, sentOk=<value optimized out>) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/messagesender.h:65
#54 0x00007f0fbb9f5bcc in KMComposeWin::qt_metacall (this=0x36d8990, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc4f93950)
    at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98_build/kmail/kmcomposewin.moc:313
#55 0x00007f0fb6ecdf9e in QMetaObject::activate (sender=0x36d8990, from_signal_index=<value optimized out>, to_signal_index=50, argv=0x36eba20) at kernel/qobject.cpp:3101
#56 0x00007f0fbb9c671d in KMComposeWin::slotComposerDone (this=0x36d8990, rc=true) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98_build/kmail/kmcomposewin.moc:331
#57 0x00007f0fbb9f5be4 in KMComposeWin::qt_metacall (this=0x36d8990, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc4f93ac0)
    at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98_build/kmail/kmcomposewin.moc:312
#58 0x00007f0fb6ecdf9e in QMetaObject::activate (sender=0x379d750, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x36eba20) at kernel/qobject.cpp:3101
#59 0x00007f0fbbcabb1c in MessageComposer::emitDone (this=0x379d750, ok=true) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98_build/kmail/messagecomposer.moc:82
#60 0x00007f0fbbcabc9f in MessageComposer::doNextJob (this=0x379d750) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/messagecomposer.cpp:393
#61 0x00007f0fbbcabcd9 in MessageComposer::slotDoNextJob (this=0x379d750) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/messagecomposer.cpp:440
#62 0x00007f0fbbcabe0d in MessageComposer::qt_metacall (this=0x379d750, _c=QMetaObject::InvokeMetaMethod, _id=55952768, _a=0x7fffc4f93c60)
    at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98_build/kmail/messagecomposer.moc:70
#63 0x00007f0fb6ecdf9e in QMetaObject::activate (sender=0x3696480, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x36eba20) at kernel/qobject.cpp:3101
#64 0x00007f0fb6ed9bca in QSingleShotTimer::timerEvent (this=0x3696480) at .moc/release-shared/qtimer.moc:76
#65 0x00007f0fb6ecf433 in QObject::event (this=0x3696480, e=0xffffffff) at kernel/qobject.cpp:1066
#66 0x00007f0fb75a17ed in QApplicationPrivate::notify_helper (this=0x15b1240, receiver=0x3696480, e=0x7fffc4f94340) at kernel/qapplication.cpp:4056
#67 0x00007f0fb75a430a in QApplication::notify (this=0x7fffc4f947c0, receiver=0x3696480, e=0x7fffc4f94340) at kernel/qapplication.cpp:4021
#68 0x00007f0fbc9559cb in KApplication::notify (this=0x7fffc4f947c0, receiver=0x3696480, event=0x7fffc4f94340)
    at /var/tmp/portage/kde-base/kdelibs-4.2.98/work/kdelibs-4.2.98/kdeui/kernel/kapplication.cpp:302
#69 0x00007f0fb6ebac9b in QCoreApplication::notifyInternal (this=0x7fffc4f947c0, receiver=0x3696480, event=0x7fffc4f94340) at kernel/qcoreapplication.cpp:606
#70 0x00007f0fb6ee9d05 in QTimerInfoList::activateTimers (this=0x15b34d0) at kernel/qcoreapplication.h:213
#71 0x00007f0fb6ee6dbd in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#72 0x00007f0faf397d1d in g_main_dispatch (context=0x15b0670) at gmain.c:1824
#73 0x00007f0faf399aad in g_main_context_iterate (context=0x15b0670, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2377
#74 0x00007f0faf399c0c in IA__g_main_context_iteration (context=0x15b0670, may_block=1) at gmain.c:2518
#75 0x00007f0fb6ee6d1f in QEventDispatcherGlib::processEvents (this=0x1574f00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#76 0x00007f0fb763ea6f in QGuiEventDispatcherGlib::processEvents (this=0x37a3db0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#77 0x00007f0fb6eb9932 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -990296640}) at kernel/qeventloop.cpp:149
#78 0x00007f0fb6eb9dbd in QEventLoop::exec (this=0x7fffc4f94610, flags={i = -990296544}) at kernel/qeventloop.cpp:197
#79 0x00007f0fb6ebdbbc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#80 0x0000000000403361 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/main.cpp:146
Comment 4 Matt Whitlock 2009-07-26 21:16:30 UTC
Got it to crash in a different way:

1. Reply to a message.
2. Click Send.
3. The composer window's contents gray out, but the composer window stays open.
4. Choose Quit from KMail's menu.
5. The main KMail window disappears, but the composer window is still there.
6. Close the composer window.
7. The KMail process is still running.
8. Invoke KMail again from the KDE applications menu.
9. The main KMail window reappears.
10. The status bar indicates there is a background task in progress, but clicking the expand button reveals nothing.
11. Right-click on the Outbox, which still has the message sitting in it.
12. KMail crashes with the following dump:

Application: KMail (kmail), signal: Segmentation fault
[Current thread is 0 (LWP 976)]

Thread 2 (Thread 0x7f0127172910 (LWP 2557)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f013ab34a8e in QWaitCondition::wait (this=0x35da738, mutex=0x35da730, time=<value optimized out>) at thread/qwaitcondition_unix.cpp:85
#2  0x00007f013ab2958e in QThreadPoolThread::run (this=0x3169cf0) at concurrent/qthreadpool.cpp:140
#3  0x00007f013ab33544 in QThreadPrivate::start (arg=0x3169cf0) at thread/qthread_unix.cpp:188
#4  0x00007f013a8bf2e7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f0139e895ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0140cd2740 (LWP 976)):
[KCrash Handler]
#5  DwStrcasecmp (aStr1=@0x3aeed80, aStr2=@0x7fff48d15930) at /var/tmp/portage/kde-base/mimelib-4.2.98/work/mimelib-4.2.98/mimelib/mimelib/string.h:627
#6  0x00007f01353fce57 in DwHeaders::AllFieldBodies (this=0x3aee720, aFieldName=@0x7fff48d15930) at /var/tmp/portage/kde-base/mimelib-4.2.98/work/mimelib-4.2.98/mimelib/headers.cpp:255
#7  0x00007f013f69f7e4 in KMMessage::rawHeaderFields (this=0x41bb5b0, field=<value optimized out>) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/kmmessage.cpp:1974
#8  0x00007f013f6a2731 in KMMessage::to (this=0x41bb5b0) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/kmmessage.cpp:1589
#9  0x00007f013f6a2ba9 in KMMessage::toStrip (this=0x7fff48d15930) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/kmmessage.cpp:1607
#10 0x00007f013fb12060 in KMail::MessageListView::StorageModel::initializeMessageItem (this=0x39e7b30, mi=0x3751e40, row=<value optimized out>, bUseReceiver=true)
    at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/messagelistview/storagemodel.cpp:300
#11 0x00007f013fb3e5a9 in KMail::MessageListView::Core::Model::viewItemJobStepInternalForJobPass1Fill (this=0x383a2b0, job=0x38bfd60, tStart=@0x7fff48d16070)
    at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/messagelistview/core/model.cpp:2735
#12 0x00007f013fb3fa05 in KMail::MessageListView::Core::Model::viewItemJobStepInternalForJob (this=0x383a2b0, job=0x7fff48d15930, tStart=@0x7fff48d16070)
    at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/messagelistview/core/model.cpp:3397
#13 0x00007f013fb40047 in KMail::MessageListView::Core::Model::viewItemJobStepInternal (this=0x383a2b0)
    at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/messagelistview/core/model.cpp:3769
#14 0x00007f013fb407a0 in KMail::MessageListView::Core::Model::viewItemJobStep (this=0x383a2b0) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/messagelistview/core/model.cpp:3957
#15 0x00007f013fb4171d in KMail::MessageListView::Core::Model::setStorageModel (this=0x383a2b0, storageModel=0x39e7b30, preSelectionMode=KMail::MessageListView::Core::PreSelectLastSelected)
    at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/messagelistview/core/model.cpp:791
#16 0x00007f013fb6ed61 in KMail::MessageListView::Core::View::setStorageModel (this=0x3660730, storageModel=0x7fff48d15930, preSelectionMode=100)
    at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/messagelistview/core/view.cpp:171
#17 0x00007f013fb77047 in KMail::MessageListView::Core::Widget::setStorageModel (this=0x372e730, storageModel=0x39e7b30, preSelectionMode=KMail::MessageListView::Core::PreSelectLastSelected)
    at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/messagelistview/core/widgetbase.cpp:306
#18 0x00007f013fb156ab in KMail::MessageListView::Widget::setFolder (this=0x372e730, fld=0x274e800, icon=<value optimized out>, preSelectionMode=KMail::MessageListView::Core::PreSelectLastSelected)
    at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/messagelistview/widget.cpp:113
#19 0x00007f013fb0ebe2 in KMail::MessageListView::Pane::setCurrentFolder (this=0x382b580, fld=0x274e800, preferEmptyTab=false, preSelectionMode=KMail::MessageListView::Core::PreSelectLastSelected, 
    overrideLabel=@0x7fff48d16910) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/messagelistview/pane.cpp:217
#20 0x00007f013f9c899f in KMMainWidget::folderSelected (this=0x27f7040, aFolder=0x274e800, forceJumpToUnread=false, preferNewTabForOpening=100)
    at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/kmmainwidget.cpp:3075
#21 0x00007f013f9cb511 in KMMainWidget::qt_metacall (this=0x27f7040, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff48d16a80)
    at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98_build/kmail/kmmainwidget.moc:509
#22 0x00007f013ac54f9e in QMetaObject::activate (sender=0x36e4860, from_signal_index=<value optimized out>, to_signal_index=5, argv=0x13) at kernel/qobject.cpp:3101
#23 0x00007f013f72d5f1 in KMail::FolderViewManager::viewFolderActivated (this=0x36e4860, view=0x3888030, fld=0x274e800, middleButton=false)
    at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98_build/kmail/folderview.moc:89
#24 0x00007f013f737768 in KMail::FolderView::activateItemInternal (this=0x3888030, fvi=0x373dff0, keepSelection=true, notifyManager=true, middleButton=19)
    at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/folderview.cpp:1007
#25 0x00007f013f736134 in KMail::FolderView::contextMenuEvent (this=0x3888030, e=0x7fff48d17900) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/folderview.cpp:1521
#26 0x00007f013b386bae in QWidget::event (this=0x3888030, event=0x7fff48d17900) at kernel/qwidget.cpp:7708
#27 0x00007f013b7162ab in QFrame::event (this=0x3888030, e=0x7fff48d17900) at widgets/qframe.cpp:559
#28 0x00007f013b853d1d in QAbstractItemView::viewportEvent (this=0x3888030, event=0x7fff48d17900) at itemviews/qabstractitemview.cpp:1476
#29 0x00007f013b892abb in QTreeView::viewportEvent (this=0x3888030, event=0x7fff48d17900) at itemviews/qtreeview.cpp:1266
#30 0x00007f013ac41467 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x396e490, event=0x7fff48d17900) at kernel/qcoreapplication.cpp:726
#31 0x00007f013b3287bc in QApplicationPrivate::notify_helper (this=0x24fd240, receiver=0x396e490, e=0x7fff48d17900) at kernel/qapplication.cpp:4052
#32 0x00007f013b32c1ae in QApplication::notify (this=<value optimized out>, receiver=0x396e490, e=0x7fff48d17900) at kernel/qapplication.cpp:3845
#33 0x00007f01406dc9cb in KApplication::notify (this=0x7fff48d1bc70, receiver=0x396e490, event=0x7fff48d17900)
    at /var/tmp/portage/kde-base/kdelibs-4.2.98/work/kdelibs-4.2.98/kdeui/kernel/kapplication.cpp:302
#34 0x00007f013ac41c9b in QCoreApplication::notifyInternal (this=0x7fff48d1bc70, receiver=0x396e490, event=0x7fff48d17900) at kernel/qcoreapplication.cpp:606
#35 0x00007f013b39e447 in QETWidget::translateMouseEvent (this=0x41110c0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4410
#36 0x00007f013b39c6b5 in QApplication::x11ProcessEvent (this=0x7fff48d1bc70, event=0x7fff48d194e0) at kernel/qapplication_x11.cpp:3545
#37 0x00007f013b3c61b4 in x11EventSourceDispatch (s=0x24ff530, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#38 0x00007f013311ed1d in g_main_dispatch (context=0x24fc670) at gmain.c:1824
#39 0x00007f0133120aad in g_main_context_iterate (context=0x24fc670, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2377
#40 0x00007f0133120c0c in IA__g_main_context_iteration (context=0x24fc670, may_block=1) at gmain.c:2518
#41 0x00007f013ac6dd1f in QEventDispatcherGlib::processEvents (this=0x24c0f00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#42 0x00007f013b3c5a6f in QGuiEventDispatcherGlib::processEvents (this=0x3aeed80, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#43 0x00007f013ac40932 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1221695456}) at kernel/qeventloop.cpp:149
#44 0x00007f013ac40dbd in QEventLoop::exec (this=0x7fff48d19940, flags={i = 1221696016}) at kernel/qeventloop.cpp:197
#45 0x00007f0140775ab8 in KWallet::Wallet::openWallet (name=@0x7fff48d19a60, w=<value optimized out>, ot=KWallet::Wallet::Synchronous)
    at /var/tmp/portage/kde-base/kdelibs-4.2.98/work/kdelibs-4.2.98/kdeui/util/kwallet.cpp:252
#46 0x00007f013649047d in MailTransport::TransportManager::wallet (this=0x2546970) at /var/tmp/portage/kde-base/kdepimlibs-4.2.98/work/kdepimlibs-4.2.98/mailtransport/transportmanager.cpp:420
#47 0x00007f013648659d in MailTransport::Transport::readPassword (this=0x255abc0) at /var/tmp/portage/kde-base/kdepimlibs-4.2.98/work/kdepimlibs-4.2.98/mailtransport/transport.cpp:245
#48 0x00007f0136490a2a in MailTransport::TransportManager::loadPasswords (this=0x2546970) at /var/tmp/portage/kde-base/kdepimlibs-4.2.98/work/kdepimlibs-4.2.98/mailtransport/transportmanager.cpp:445
#49 0x00007f013648586d in MailTransport::Transport::password (this=0x41a3770) at /var/tmp/portage/kde-base/kdepimlibs-4.2.98/work/kdepimlibs-4.2.98/mailtransport/transport.cpp:76
#50 0x00007f0136498fe6 in MailTransport::SmtpJob::startSmtpJob (this=0x4506dc0) at /var/tmp/portage/kde-base/kdepimlibs-4.2.98/work/kdepimlibs-4.2.98/mailtransport/smtpjob.cpp:159
#51 0x00007f013649a13a in MailTransport::SmtpJob::doStart (this=0x4506dc0) at /var/tmp/portage/kde-base/kdepimlibs-4.2.98/work/kdepimlibs-4.2.98/mailtransport/smtpjob.cpp:114
#52 0x00007f013648e6bd in MailTransport::TransportJob::start (this=0x4506dc0) at /var/tmp/portage/kde-base/kdepimlibs-4.2.98/work/kdepimlibs-4.2.98/mailtransport/transportjob.cpp:129
#53 0x00007f013f7f290c in KMSender::doSendMsg (this=0x25853e0) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/kmsender.cpp:592
#54 0x00007f013f7f415c in KMSender::doSendQueued (this=0x25853e0, customTransport=@0x7fff48d1aa80) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/kmsender.cpp:244
#55 0x00007f013f7f0715 in KMSender::doSend (this=0x25853e0, aMsg=0x3aeed10, sendNow=1) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/messagesender.h:77
#56 0x00007f013f77c38b in KMComposeWin::slotContinueDoSend (this=0x38f8d50, sentOk=<value optimized out>) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/messagesender.h:65
#57 0x00007f013f77cbcc in KMComposeWin::qt_metacall (this=0x38f8d50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff48d1ae00)
    at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98_build/kmail/kmcomposewin.moc:313
#58 0x00007f013ac54f9e in QMetaObject::activate (sender=0x38f8d50, from_signal_index=<value optimized out>, to_signal_index=50, argv=0x13) at kernel/qobject.cpp:3101
#59 0x00007f013f74d71d in KMComposeWin::slotComposerDone (this=0x38f8d50, rc=true) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98_build/kmail/kmcomposewin.moc:331
#60 0x00007f013f77cbe4 in KMComposeWin::qt_metacall (this=0x38f8d50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff48d1af70)
    at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98_build/kmail/kmcomposewin.moc:312
#61 0x00007f013ac54f9e in QMetaObject::activate (sender=0x3aad6f0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x13) at kernel/qobject.cpp:3101
#62 0x00007f013fa32b1c in MessageComposer::emitDone (this=0x3aad6f0, ok=true) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98_build/kmail/messagecomposer.moc:82
#63 0x00007f013fa32c9f in MessageComposer::doNextJob (this=0x3aad6f0) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/messagecomposer.cpp:393
#64 0x00007f013fa32cd9 in MessageComposer::slotDoNextJob (this=0x3aad6f0) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/messagecomposer.cpp:440
#65 0x00007f013fa32e0d in MessageComposer::qt_metacall (this=0x3aad6f0, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0x7fff48d1b110)
    at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98_build/kmail/messagecomposer.moc:70
#66 0x00007f013ac54f9e in QMetaObject::activate (sender=0x392a7a0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x13) at kernel/qobject.cpp:3101
#67 0x00007f013ac60bca in QSingleShotTimer::timerEvent (this=0x392a7a0) at .moc/release-shared/qtimer.moc:76
#68 0x00007f013ac56433 in QObject::event (this=0x392a7a0, e=0x7fff48d15930) at kernel/qobject.cpp:1066
#69 0x00007f013b3287ed in QApplicationPrivate::notify_helper (this=0x24fd240, receiver=0x392a7a0, e=0x7fff48d1b7f0) at kernel/qapplication.cpp:4056
#70 0x00007f013b32b30a in QApplication::notify (this=0x7fff48d1bc70, receiver=0x392a7a0, e=0x7fff48d1b7f0) at kernel/qapplication.cpp:4021
#71 0x00007f01406dc9cb in KApplication::notify (this=0x7fff48d1bc70, receiver=0x392a7a0, event=0x7fff48d1b7f0)
    at /var/tmp/portage/kde-base/kdelibs-4.2.98/work/kdelibs-4.2.98/kdeui/kernel/kapplication.cpp:302
#72 0x00007f013ac41c9b in QCoreApplication::notifyInternal (this=0x7fff48d1bc70, receiver=0x392a7a0, event=0x7fff48d1b7f0) at kernel/qcoreapplication.cpp:606
#73 0x00007f013ac70d05 in QTimerInfoList::activateTimers (this=0x24ff4d0) at kernel/qcoreapplication.h:213
#74 0x00007f013ac6ddbd in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#75 0x00007f013311ed1d in g_main_dispatch (context=0x24fc670) at gmain.c:1824
#76 0x00007f0133120aad in g_main_context_iterate (context=0x24fc670, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2377
#77 0x00007f0133120c0c in IA__g_main_context_iteration (context=0x24fc670, may_block=1) at gmain.c:2518
#78 0x00007f013ac6dd1f in QEventDispatcherGlib::processEvents (this=0x24c0f00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#79 0x00007f013b3c5a6f in QGuiEventDispatcherGlib::processEvents (this=0x3aeed80, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#80 0x00007f013ac40932 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1221704304}) at kernel/qeventloop.cpp:149
#81 0x00007f013ac40dbd in QEventLoop::exec (this=0x7fff48d1bac0, flags={i = 1221704400}) at kernel/qeventloop.cpp:197
#82 0x00007f013ac44bbc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#83 0x0000000000403361 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kmail-4.2.98/work/kmail-4.2.98/kmail/main.cpp:146
Comment 5 Christophe Marin 2009-08-20 13:58:03 UTC

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