[Bug 200382] "Send" disables compose window but doesn't close it

Matt Whitlock matt at whitlock.name
Sun Jul 26 20:16:33 BST 2009


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





--- Comment #4 from Matt Whitlock <matt whitlock name>  2009-07-26 21:16:30 ---
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

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