Bug 282599 - Kmail freezes when sending email
Summary: Kmail freezes when sending email
Status: RESOLVED DUPLICATE of bug 206968
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-23 07:09 UTC by María Arias
Modified: 2011-12-07 18:26 UTC (History)
0 users

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 María Arias 2011-09-23 07:09:09 UTC
Application: kmail (1.13.7)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 2.6.32-5-amd64 x86_64
Distribution: Debian GNU/Linux 6.0.2 (squeeze)

-- Information about the crash:
- What I was doing when the application crashed:

Sending an email. It happens every time I do it (three times in a row right now).

- Unusual behavior I noticed:

When I clicked the send button, the edit/create mail window freezes (and went disabled) and then I have to restart the computer (killing all "*mail*" processes was not enough) if I want to send more messages.

The message was saved on the Sending folder, so it was sent right after the reboot.

It was a gmail mail account.

-More info:

Related to this? https://bugs.launchpad.net/kubuntu-ppa/+bug/711309

It happened after I updated kde from stable to unstable.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
The current source language is "auto; currently asm".
[KCrash Handler]
#6  0x0000000007459a8c in ?? ()
#7  0x00007f3247a8a15a in KMail::MessageListView::StorageModel::initializeMessageItem (this=0x6ff5960, mi=0x45dc900, row=<value optimized out>, bUseReceiver=true)
    at ../../kmail/messagelistview/storagemodel.cpp:418
#8  0x00007f3241acbf68 in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Fill (this=0x2ac7e80, job=0x6a60770, tStart=...) at ../../messagelist/core/model.cpp:2721
#9  0x00007f3241ace26d in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJob (this=0x2ac7e80, job=0x6a60770, tStart=...) at ../../messagelist/core/model.cpp:3363
#10 0x00007f3241ace870 in MessageList::Core::ModelPrivate::viewItemJobStepInternal (this=0x2ac7e80) at ../../messagelist/core/model.cpp:3750
#11 0x00007f3241acf3f7 in MessageList::Core::ModelPrivate::viewItemJobStep (this=0x2ac7e80) at ../../messagelist/core/model.cpp:3965
#12 0x00007f3241ad0528 in MessageList::Core::Model::setStorageModel (this=0x2ab0870, storageModel=0x6ff5960, preSelectionMode=MessageList::Core::PreSelectFirstNewOrUnreadCentered)
    at ../../messagelist/core/model.cpp:838
#13 0x00007f3241aeae25 in MessageList::Core::View::setStorageModel (this=0x2ae1080, storageModel=<value optimized out>, preSelectionMode=<value optimized out>) at ../../messagelist/core/view.cpp:216
#14 0x00007f3241af9f33 in MessageList::Core::Widget::setStorageModel (this=0x2a73e10, storageModel=0x6ff5960, preSelectionMode=MessageList::Core::PreSelectFirstNewOrUnreadCentered)
    at ../../messagelist/core/widgetbase.cpp:375
#15 0x00007f3247a8ae8e in KMail::MessageListView::Widget::setFolder (this=0x2a73e10, fld=0x2649470, icon=<value optimized out>, preSelectionMode=MessageList::Core::PreSelectFirstNewOrUnreadCentered)
    at ../../kmail/messagelistview/widget.cpp:116
#16 0x00007f3247a85569 in KMail::MessageListView::Pane::setCurrentFolder (this=0x2b044c0, fld=0x2649470, preferEmptyTab=<value optimized out>, 
    preSelectionMode=MessageList::Core::PreSelectFirstNewOrUnreadCentered, overrideLabel=...) at ../../kmail/messagelistview/pane.cpp:257
#17 0x00007f3247977e11 in KMMainWidget::folderSelected (this=0x2b01fa0, aFolder=0x2649470, forceJumpToUnread=<value optimized out>, preferNewTabForOpening=false) at ../../kmail/kmmainwidget.cpp:3048
#18 0x00007f324797d957 in KMMainWidget::qt_metacall (this=0x2b01fa0, _c=QMetaObject::InvokeMetaMethod, _id=162, _a=0x7fffbf665750) at ./kmmainwidget.moc:518
#19 0x00007f32466015ea in QMetaObject::activate (sender=0x2a51680, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffbf665750) at kernel/qobject.cpp:3278
#20 0x00007f324775c650 in KMail::FolderViewManager::folderActivated (this=<value optimized out>, _t1=0x2649470, _t2=false) at ./folderview.moc:95
#21 0x00007f324776272f in KMail::FolderView::activateItemInternal (this=0x2c1ce50, fvi=0x2e8ab80, keepSelection=false, notifyManager=true, middleButton=false) at ../../kmail/folderview.cpp:1016
#22 0x00007f3247756b7f in KMail::FolderView::slotItemClicked (this=0x2c1ce50, item=<value optimized out>, column=<value optimized out>) at ../../kmail/folderview.cpp:528
#23 0x00007f3247761bb8 in KMail::FolderView::qt_metacall (this=0x2c1ce50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbf665930) at ./folderview.moc:219
#24 0x00007f32477658b0 in KMail::MainFolderView::qt_metacall (this=0x2c1ce50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbf665930) at ./mainfolderview.moc:70
#25 0x00007f32466015ea in QMetaObject::activate (sender=0x2c1ce50, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffbf665930) at kernel/qobject.cpp:3278
#26 0x00007f32470a0a70 in QTreeWidget::itemClicked (this=<value optimized out>, _t1=0x2e8ab90, _t2=0) at .moc/release-shared/moc_qtreewidget.cpp:207
#27 0x00007f32470a85d8 in QTreeWidget::qt_metacall (this=0x2c1ce50, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0x7fffbf665b00) at .moc/release-shared/moc_qtreewidget.cpp:150
#28 0x00007f323fb669c0 in KPIM::TreeWidget::qt_metacall (this=0x2c1ce50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbf665b00) at moc_treewidget.cpp:74
#29 0x00007f323fbd79d0 in KPIM::FolderTreeWidget::qt_metacall (this=0x2c1ce50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbf665b00) at ./foldertreewidget.moc:74
#30 0x00007f32477619e0 in KMail::FolderView::qt_metacall (this=0x2c1ce50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbf665b00) at ./folderview.moc:200
#31 0x00007f32477658b0 in KMail::MainFolderView::qt_metacall (this=0x2c1ce50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbf665b00) at ./mainfolderview.moc:70
#32 0x00007f32466015ea in QMetaObject::activate (sender=0x2c1ce50, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffbf665b00) at kernel/qobject.cpp:3278
#33 0x00007f324702cd95 in QAbstractItemView::clicked (this=<value optimized out>, _t1=<value optimized out>) at .moc/release-shared/moc_qabstractitemview.cpp:331
#34 0x00007f324702d158 in QAbstractItemView::mouseReleaseEvent (this=0x2c1ce50, event=0x7fffbf666a60) at itemviews/qabstractitemview.cpp:1798
#35 0x00007f3246b78d36 in QWidget::event (this=0x2c1ce50, event=0x7fffbf666a60) at kernel/qwidget.cpp:8259
#36 0x00007f3246f1a006 in QFrame::event (this=0x2c1ce50, e=0x7fffbf666a60) at widgets/qframe.cpp:557
#37 0x00007f324702a18b in QAbstractItemView::viewportEvent (this=0x2c1ce50, event=0x7fffbf666a60) at itemviews/qabstractitemview.cpp:1628
#38 0x00007f324706ef65 in QTreeView::viewportEvent (this=0x2c1ce50, event=0x7fffbf666a60) at itemviews/qtreeview.cpp:1256
#39 0x00007f32465eeb08 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2c1c670, event=0x7fffbf666a60) at kernel/qcoreapplication.cpp:846
#40 0x00007f3246b2869f in QApplicationPrivate::notify_helper (this=0x2368ed0, receiver=0x2c1c670, e=0x7fffbf666a60) at kernel/qapplication.cpp:4463
#41 QApplicationPrivate::notify_helper (this=0x2368ed0, receiver=0x2c1c670, e=0x7fffbf666a60) at kernel/qapplication.cpp:4439
#42 0x00007f3246b2de5b in QApplication::notify (this=<value optimized out>, receiver=0x2c1c670, e=0x7fffbf666a60) at kernel/qapplication.cpp:4028
#43 0x00007f3248792a66 in KApplication::notify (this=0x7fffbf669860, receiver=0x2c1c670, event=0x7fffbf666a60) at ../../kdeui/kernel/kapplication.cpp:311
#44 0x00007f32465ee97c in QCoreApplication::notifyInternal (this=0x7fffbf669860, receiver=0x2c1c670, event=0x7fffbf666a60) at kernel/qcoreapplication.cpp:731
#45 0x00007f3246b296a2 in QCoreApplication::sendEvent (receiver=0x2c1c670, event=0x7fffbf666a60, alienWidget=0x2c1c670, nativeWidget=0x2c1c700, buttonDown=0x2c1c670, lastMouseReceiver=..., 
    spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#46 QApplicationPrivate::sendMouseEvent (receiver=0x2c1c670, event=0x7fffbf666a60, alienWidget=0x2c1c670, nativeWidget=0x2c1c700, buttonDown=0x2c1c670, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3127
#47 0x00007f3246ba5b48 in QETWidget::translateMouseEvent (this=0x2c1c700, event=<value optimized out>) at kernel/qapplication_x11.cpp:4461
#48 0x00007f3246ba494a in QApplication::x11ProcessEvent (this=0x7fffbf669860, event=0x7fffbf667180) at kernel/qapplication_x11.cpp:3587
#49 0x00007f3246bcca72 in x11EventSourceDispatch (s=0x2369d60, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#50 0x00007f323d99b4a3 in g_main_dispatch (context=0x236b410) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#51 g_main_context_dispatch (context=0x236b410) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#52 0x00007f323d99bc80 in g_main_context_iterate (context=0x236b410, block=1, dispatch=1, self=<value optimized out>) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#53 0x00007f323d99bf1d in g_main_context_iteration (context=0x236b410, may_block=1) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#54 0x00007f32466195cf in QEventDispatcherGlib::processEvents (this=0x22f0b80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#55 0x00007f3246bcc70e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#56 0x00007f32465edb82 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#57 0x00007f32465edd7f in QEventLoop::exec (this=0x7fffbf6675f0, flags=...) at kernel/qeventloop.cpp:201
#58 0x00007f3248811481 in KWallet::Wallet::openWallet (name=..., w=54575760, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:304
#59 0x00007f3240f6afb3 in MailTransport::TransportManager::wallet (this=0x2548080) at ../../mailtransport/transportmanager.cpp:604
#60 0x00007f3240f6275d in MailTransport::Transport::readPassword (this=0x7787ce0) at ../../mailtransport/transport.cpp:309
#61 0x00007f3240f62f22 in MailTransport::Transport::password (this=<value optimized out>) at ../../mailtransport/transport.cpp:68
#62 0x00007f3240f71077 in MailTransport::SmtpJob::startSmtpJob (this=0x517b290) at ../../mailtransport/smtpjob.cpp:168
#63 0x00007f3240f72aa2 in MailTransport::SmtpJob::doStart (this=0x517b290) at ../../mailtransport/smtpjob.cpp:129
#64 0x00007f3240f6e81c in MailTransport::TransportJob::start (this=0x517b290) at ../../mailtransport/transportjob.cpp:129
#65 0x00007f32477fab88 in KMSender::doSendMsg (this=0x2af66e0) at ../../kmail/kmsender.cpp:607
#66 0x00007f32477fcbf9 in KMSender::doSendQueued (this=0x2af66e0, customTransport=...) at ../../kmail/kmsender.cpp:243
#67 KMSender::doSendQueued (this=0x2af66e0, customTransport=...) at ../../kmail/kmsender.cpp:208
#68 0x00007f32477f7a9f in KMail::MessageSender::sendQueued (this=0x2af66e0, aMsg=0x72668d0, sendNow=1) at ../../kmail/messagesender.h:77
#69 KMSender::doSend (this=0x2af66e0, aMsg=0x72668d0, sendNow=1) at ../../kmail/kmsender.cpp:193
#70 0x00007f324778dbe9 in KMail::MessageSender::send (this=0x3484970, sentOk=<value optimized out>) at ../../kmail/messagesender.h:65
#71 KMComposeWin::slotContinueDoSend (this=0x3484970, sentOk=<value optimized out>) at ../../kmail/kmcomposewin.cpp:3715
#72 0x00007f32477982d9 in KMComposeWin::qt_metacall (this=0x3484970, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbf668ba0) at ./kmcomposewin.moc:324
#73 0x00007f32466015ea in QMetaObject::activate (sender=0x3484970, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffbf668ba0) at kernel/qobject.cpp:3278
#74 0x00007f3247770d9f in KMComposeWin::applyChangesDone (this=<value optimized out>, _t1=true) at ./kmcomposewin.moc:342
#75 0x00007f324778cfb2 in KMComposeWin::slotComposerDone (this=0x3484970, rc=true) at ../../kmail/kmcomposewin.cpp:2030
#76 0x00007f32477982bc in KMComposeWin::qt_metacall (this=0x3484970, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbf668d00) at ./kmcomposewin.moc:323
#77 0x00007f32466015ea in QMetaObject::activate (sender=0x32757b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffbf668d00) at kernel/qobject.cpp:3278
#78 0x00007f32479d3aef in MessageComposer::done (this=<value optimized out>, _t1=true) at ./messagecomposer.moc:88
#79 0x00007f32479d3b68 in MessageComposer::emitDone (this=0x32757b0, ok=true) at ../../kmail/messagecomposer.cpp:417
#80 0x00007f32479d3f71 in MessageComposer::qt_metacall (this=0x32757b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x8602450) at ./messagecomposer.moc:76
#81 0x00007f324660519a in QObject::event (this=0x32757b0, e=<value optimized out>) at kernel/qobject.cpp:1217
#82 0x00007f3246b286d4 in QApplicationPrivate::notify_helper (this=0x2368ed0, receiver=0x32757b0, e=0x5ecd040) at kernel/qapplication.cpp:4467
#83 QApplicationPrivate::notify_helper (this=0x2368ed0, receiver=0x32757b0, e=0x5ecd040) at kernel/qapplication.cpp:4439
#84 0x00007f3246b2d561 in QApplication::notify (this=0x7fffbf669860, receiver=0x32757b0, e=0x5ecd040) at kernel/qapplication.cpp:4346
#85 0x00007f3248792a66 in KApplication::notify (this=0x7fffbf669860, receiver=0x32757b0, event=0x5ecd040) at ../../kdeui/kernel/kapplication.cpp:311
#86 0x00007f32465ee97c in QCoreApplication::notifyInternal (this=0x7fffbf669860, receiver=0x32757b0, event=0x5ecd040) at kernel/qcoreapplication.cpp:731
#87 0x00007f32465f1cc4 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x22eec30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#88 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x22eec30) at kernel/qcoreapplication.cpp:1372
#89 0x00007f3246619173 in QCoreApplication::sendPostedEvents (s=0x236b300) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#90 postEventSourceDispatch (s=0x236b300) at kernel/qeventdispatcher_glib.cpp:277
#91 0x00007f323d99b4a3 in g_main_dispatch (context=0x236b410) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#92 g_main_context_dispatch (context=0x236b410) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#93 0x00007f323d99bc80 in g_main_context_iterate (context=0x236b410, block=1, dispatch=1, self=<value optimized out>) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#94 0x00007f323d99bf1d in g_main_context_iteration (context=0x236b410, may_block=1) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#95 0x00007f32466195cf in QEventDispatcherGlib::processEvents (this=0x22f0b80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#96 0x00007f3246bcc70e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#97 0x00007f32465edb82 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#98 0x00007f32465edd7f in QEventLoop::exec (this=0x7fffbf6696a0, flags=...) at kernel/qeventloop.cpp:201
#99 0x00007f32465f1f57 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#100 0x0000000000402f80 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:158

Reported using DrKonqi
Comment 1 María Arias 2011-09-23 08:10:33 UTC
Some packages version:

$ dpkg -l | grep mail
ii  bsd-mailx                             8.1.2-0.20100314cvs-1             simple mail user agent
ii  evolution                             2.30.3-5                          groupware suite with mail client and organizer
ii  kalarm                                4:4.4.11.1+l10n-1                 alarm message, command and email scheduler
ii  kmail                                 4:4.4.11.1+l10n-1                 full featured graphical email client
ii  libgnumail-java                       1.1.2-5                           free implementation of the javamail API
ii  libkmbox4                             4:4.6.5-1                         library for handling mbox mailboxes
ii  libkpimutils4                         4:4.6.5-1                         library for dealing with email addresses
ii  libksieve4                            4:4.4.11.1+l10n-1                 mail/news message filtering library
ii  libmail-sendmail-perl                 0.79.16-1                         Send email from a perl script
ii  libmailtools-perl                     2.06-1                            Manipulate email in perl programs
ii  libmailtransport4                     4:4.6.5-1                         mail transport service library
ii  libreoffice-emailmerge                1:3.4.3-2                         office productivity suite -- email mail merge
ii  lockfile-progs                        0.1.15                            Programs for locking and unlocking files and mailboxes
ii  mime-support                          3.48-1                            MIME files 'mime.types' & 'mailcap', and support programs
ii  mutt                                  1.5.20-9+squeeze1                 text-based mailreader supporting MIME, GPG, PGP and threading
ii  procmail                              3.22-19                           Versatile e-mail processor
Comment 2 Christophe Marin 2011-10-12 23:33:36 UTC

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