Bug 247624 - KMail freezes when trying to send emails
Summary: KMail freezes when trying to send emails
Status: RESOLVED DUPLICATE of bug 257362
Alias: None
Product: kmail
Classification: Applications
Component: sending (show other bugs)
Version: 1.13.3
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-13 10:50 UTC by gambas
Modified: 2011-02-15 18:17 UTC (History)
3 users (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 gambas 2010-08-13 10:50:29 UTC
Version:           1.13.3
OS:                Linux

I have just upgraded to KDE 4.5, and now each time I want to send an e-mail, KMail freezes.

Reproducible: Always




I stopped KMail with gdb to get the following backtrace:

#0  0x00007f10264d3cf3 in select () from /lib64/libc.so.6
#1  0x00007f1027ade99a in qt_safe_select(int, <anonymous struct> *, <anonymous struct> *, <anonymous struct> *, const timeval *) (nfds=31, fdread=0x2233400, fdwrite=0x2233698, 
    fdexcept=0x2233930, orig_timeout=0x7fffdf052d80) at kernel/qcore_unix.cpp:92
#2  0x00007f1027ae3d9b in QEventDispatcherUNIXPrivate::doSelect (this=0x2233240, flags=<value optimized out>, timeout=<value optimized out>)
    at kernel/qeventdispatcher_unix.cpp:219
#3  0x00007f1027ae497b in QEventDispatcherUNIX::processEvents (this=0x21e1b70, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventdispatcher_unix.cpp:919
#4  0x00007f1026ef39ff in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventdispatcher_x11.cpp:152
#5  0x00007f1027ab3f12 in QEventLoop::processEvents (this=<value optimized out>, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:149
#6  0x00007f1027ab42fc in QEventLoop::exec (this=0x7fffdf053040, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:201
#7  0x00007f1028aa9046 in KJob::exec (this=0x2c49ed0) at /usr/src/debug/kdelibs-4.5.0/kdecore/jobs/kjob.cpp:204
#8  0x00007f1020072349 in KPIM::KAddrBookExternal::expandDistributionList(QString const&, bool&) () from /usr/lib64/libkdepim.so.4
#9  0x00007f10282bd0e2 in ?? () from /usr/lib64/libkmailprivate.so.4
#10 0x00007f102827a9c1 in ?? () from /usr/lib64/libkmailprivate.so.4
#11 0x00007f1027f81a49 in ?? () from /usr/lib64/libkmailprivate.so.4
#12 0x00007f1027f8370f in ?? () from /usr/lib64/libkmailprivate.so.4
#13 0x00007f1027f95052 in ?? () from /usr/lib64/libkmailprivate.so.4
#14 0x00007f1027acceb7 in QMetaObject::activate (sender=0x3522100, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff)
    at kernel/qobject.cpp:3272
#15 0x00007f1026e3a7a2 in QAction::triggered (this=0x1f, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#16 0x00007f1026e3be9b in QAction::activate (this=0x3522100, event=<value optimized out>) at kernel/qaction.cpp:1256
#17 0x00007f10272118ca in QAbstractButtonPrivate::click (this=0x35ffcc0) at widgets/qabstractbutton.cpp:528
#18 0x00007f1027211b7c in QAbstractButton::mouseReleaseEvent (this=0x35f47e0, e=0x7fffdf0547e0) at widgets/qabstractbutton.cpp:1121
#19 0x00007f10272e083a in QToolButton::mouseReleaseEvent (this=0x1f, e=0x2233400) at widgets/qtoolbutton.cpp:721
#20 0x00007f1026e97f02 in QWidget::event (this=0x35f47e0, event=0x7fffdf0547e0) at kernel/qwidget.cpp:8158
#21 0x00007f1026e41e9c in QApplicationPrivate::notify_helper (this=0x2233030, receiver=0x35f47e0, e=0x7fffdf0547e0) at kernel/qapplication.cpp:4389
#22 0x00007f1026e488de in QApplication::notify (this=0x7fffdf055460, receiver=0x35f47e0, e=0x7fffdf0547e0) at kernel/qapplication.cpp:3952
#23 0x00007f102908f756 in KApplication::notify (this=0x7fffdf055460, receiver=0x35f47e0, event=0x7fffdf0547e0) at /usr/src/debug/kdelibs-4.5.0/kdeui/kernel/kapplication.cpp:310
#24 0x00007f1027ab51ec in QCoreApplication::notifyInternal (this=0x7fffdf055460, receiver=0x35f47e0, event=0x7fffdf0547e0) at kernel/qcoreapplication.cpp:732
#25 0x00007f1026e46c7e in sendEvent (receiver=0x35f47e0, event=0x7fffdf0547e0, alienWidget=0x35f47e0, nativeWidget=0x2ce6130, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#26 QApplicationPrivate::sendMouseEvent (receiver=0x35f47e0, event=0x7fffdf0547e0, alienWidget=0x35f47e0, nativeWidget=0x2ce6130, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3051
#27 0x00007f1026ec9605 in QETWidget::translateMouseEvent (this=0x2ce6130, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403
#28 0x00007f1026ec82fa in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffdf055110) at kernel/qapplication_x11.cpp:3536
#29 0x00007f1026ef393f in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventdispatcher_x11.cpp:132
#30 0x00007f1027ab3f12 in QEventLoop::processEvents (this=<value optimized out>, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:149
#31 0x00007f1027ab42fc in QEventLoop::exec (this=0x7fffdf055290, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:201
#32 0x00007f1027ab9279 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#33 0x0000000000403086 in _start ()
Comment 1 gambas 2010-08-13 11:29:56 UTC
OK, I finally found a workaround. Here it is:

# akonadictl --stop
# rm -rf ~/.local/share/akonadi
# rm -f ~/.kde4/share/config/akonadi*
# akonadictl --start

KDE should provide an upgrading system, or at least a warning somewhere. I'm not sure that every user will find the workaround by himself! Moreover, that workaround deletes all previous akonadi data, which is not necessarily a good idea...
Comment 2 boucher.nicolas 2010-08-22 16:00:27 UTC
I have the same behavior with Kmail with a fresh OpenSUSE 11.3 install.

It freezes until the mail is sent just after clicking on the send button (it lasts 10 sec).

It is very ennoying.
Comment 3 Toby Dickenson 2010-10-16 09:26:04 UTC
I'm seeing the same thing on kde 4.4.5. I have two logins with essentially the same configuration; one has the problem (and it seems always has since installing in July) and the other does not.

The workaround described in #1 has fixed the problem for now.
(but with "akonadictl stop" rather than "akonadictl --stop")
Comment 4 Tristan Miller 2010-11-15 14:57:45 UTC
I encounter this symptom as well; instead of the detailed workaround in Comment #1, simply issuing "akonadictl restart" works for me.
Comment 5 Christophe Marin 2011-02-15 18:17:15 UTC
Merging with 257362

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