Bug 224842 - freeze while composing message
Summary: freeze while composing message
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-30 02:36 UTC by Chani
Modified: 2012-08-19 11:04 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 Chani 2010-01-30 02:36:26 UTC
Application: kmail (1.13.0)
KDE Platform Version: 4.4.61 (KDE 4.4.61 (KDE 4.5 >= 20100127)) (Compiled from sources)
Qt Version: 4.6.1
Operating System: Linux 2.6.30-ARCH i686

-- Information about the crash:
this started yesterday on 4.4 branch. while I'm composing a message, kmail often locks up. the UI still draws (without composite), the cursor blinks, but it's completely unresponsive. it's happened on... I think all but two of the emails I've written today. so it's kinda severe.

this latest one happened just after I hit the send button - the message window went grey the way it does when sending, but never went away.
the backtrace dr konqi picked up here is from running kquitapp kmail, and might not be much use; I got a backtrace out of gdb before making kmail crash (two actually; identical. it's really stuck.)

I think it *might* have frozen once while just reading mail, too.

here's the gdb backtrace:
#0  0xb7fcf424 in __kernel_vsyscall ()
#1  0xb535c216 in poll () from /lib/libc.so.6
#2  0xb30bb2ab in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb30ae21b in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#4  0xb30ae513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb652fab8 in QEventDispatcherGlib::processEvents (this=0x8e79f60, flags={i = 37})
    at /home/chani/src/kde-qt/src/corelib/kernel/qeventdispatcher_glib.cpp:407
#6  0xb59094a8 in QGuiEventDispatcherGlib::processEvents (this=0x8e79f60, flags={i = 37})
    at /home/chani/src/kde-qt/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#7  0xb64f55d3 in QEventLoop::processEvents (this=0xbfaf3fbc, flags={i = 37}) at /home/chani/src/kde-qt/src/corelib/kernel/qeventloop.cpp:149
#8  0xb64f5718 in QEventLoop::exec (this=0xbfaf3fbc, flags={i = 1}) at /home/chani/src/kde-qt/src/corelib/kernel/qeventloop.cpp:201
#9  0xb79c2748 in KJob::exec (this=0xa4357d0) at /home/chani/src/kdelibs/kdecore/jobs/kjob.cpp:204
#10 0xb73e5976 in KabcBridge::expandNickName (nickName=@0xbfaf4094) at /home/chani/src/kdepim/kmail/kmaddrbook.cpp:117
#11 0xb76677fe in KMail::StringUtil::expandAliases (recipients=@0xbfaf4124, distributionListEmpty=@0xbfaf4128)
    at /home/chani/src/kdepim/kmail/stringutil.cpp:944
#12 0xb7327c32 in KMComposeWin::slotContinueDoSend (this=0xa3a8740, sentOk=true) at /home/chani/src/kdepim/kmail/kmcomposewin.cpp:3710
#13 0xb7305d43 in KMComposeWin::qt_metacall (this=0xa3a8740, _c=QMetaObject::InvokeMetaMethod, _id=86, _a=0xbfaf42e8)
    at /home/chani/build/kdepim/kmail/kmcomposewin.moc:324
#14 0xb64ff77c in QMetaObject::metacall (object=0xa3a8740, cl=QMetaObject::InvokeMetaMethod, idx=136, argv=0xbfaf42e8)
    at /home/chani/src/kde-qt/src/corelib/kernel/qmetaobject.cpp:237
#15 0xb6513774 in QMetaObject::activate (sender=0xa3a8740, m=0xb78a43cc, local_signal_index=0, argv=0xbfaf42e8)
    at /home/chani/src/kde-qt/src/corelib/kernel/qobject.cpp:3283
#16 0xb7305e44 in KMComposeWin::applyChangesDone (this=0xa3a8740, _t1=true) at /home/chani/build/kdepim/kmail/kmcomposewin.moc:342
#17 0xb731b14e in KMComposeWin::slotComposerDone (this=0xa3a8740, rc=true) at /home/chani/src/kdepim/kmail/kmcomposewin.cpp:2033
#18 0xb7305d21 in KMComposeWin::qt_metacall (this=0xa3a8740, _c=QMetaObject::InvokeMetaMethod, _id=85, _a=0xbfaf4468)
    at /home/chani/build/kdepim/kmail/kmcomposewin.moc:323
#19 0xb64ff77c in QMetaObject::metacall (object=0xa3a8740, cl=QMetaObject::InvokeMetaMethod, idx=135, argv=0xbfaf4468)
    at /home/chani/src/kde-qt/src/corelib/kernel/qmetaobject.cpp:237
#20 0xb6513774 in QMetaObject::activate (sender=0xa43b4e8, m=0xb78aedc4, local_signal_index=0, argv=0xbfaf4468)
    at /home/chani/src/kde-qt/src/corelib/kernel/qobject.cpp:3283
#21 0xb75b0f76 in MessageComposer::done (this=0xa43b4e8, _t1=true) at /home/chani/build/kdepim/kmail/messagecomposer.moc:88
#22 0xb75a241e in MessageComposer::emitDone (this=0xa43b4e8, ok=true) at /home/chani/src/kdepim/kmail/messagecomposer.cpp:417
#23 0xb75a22c1 in MessageComposer::doNextJob (this=0xa43b4e8) at /home/chani/src/kdepim/kmail/messagecomposer.cpp:393
#24 0xb75a254e in MessageComposer::slotDoNextJob (this=0xa43b4e8) at /home/chani/src/kdepim/kmail/messagecomposer.cpp:440
#25 0xb75b0f18 in MessageComposer::qt_metacall (this=0xa43b4e8, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfaf4590)
    at /home/chani/build/kdepim/kmail/messagecomposer.moc:76
#26 0xb64ff77c in QMetaObject::metacall (object=0xa43b4e8, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xbfaf4590)
    at /home/chani/src/kde-qt/src/corelib/kernel/qmetaobject.cpp:237
#27 0xb6513774 in QMetaObject::activate (sender=0x9d2aa18, m=0xb665b2c4, local_signal_index=0, argv=0x0)
    at /home/chani/src/kde-qt/src/corelib/kernel/qobject.cpp:3283
#28 0xb651c579 in QSingleShotTimer::timeout (this=0x9d2aa18) at .moc/debug-shared/qtimer.moc:82
#29 0xb651c42e in QSingleShotTimer::timerEvent (this=0x9d2aa18) at /home/chani/src/kde-qt/src/corelib/kernel/qtimer.cpp:308
#30 0xb650f83e in QObject::event (this=0x9d2aa18, e=0xbfaf4bf4) at /home/chani/src/kde-qt/src/corelib/kernel/qobject.cpp:1223
#31 0xb583477c in QApplicationPrivate::notify_helper (this=0x8e7c3e0, receiver=0x9d2aa18, e=0xbfaf4bf4)
    at /home/chani/src/kde-qt/src/gui/kernel/qapplication.cpp:4253
#32 0xb5831f3f in QApplication::notify (this=0xbfaf5034, receiver=0x9d2aa18, e=0xbfaf4bf4) at /home/chani/src/kde-qt/src/gui/kernel/qapplication.cpp:3663
#33 0xb7d579bc in KApplication::notify (this=0xbfaf5034, receiver=0x9d2aa18, event=0xbfaf4bf4) at /home/chani/src/kdelibs/kdeui/kernel/kapplication.cpp:302
#34 0xb64f81c9 in QCoreApplication::notifyInternal (this=0xbfaf5034, receiver=0x9d2aa18, event=0xbfaf4bf4)
    at /home/chani/src/kde-qt/src/corelib/kernel/qcoreapplication.cpp:704
#35 0xb64fbca1 in QCoreApplication::sendEvent (receiver=0x9d2aa18, event=0xbfaf4bf4)
    at ../../include/QtCore/../../../../src/kde-qt/src/corelib/kernel/qcoreapplication.h:215
#36 0xb6532a20 in QTimerInfoList::activateTimers (this=0x8e7ed5c) at /home/chani/src/kde-qt/src/corelib/kernel/qeventdispatcher_unix.cpp:603
#37 0xb652e91c in timerSourceDispatch (source=0x8e7ed28) at /home/chani/src/kde-qt/src/corelib/kernel/qeventdispatcher_glib.cpp:184
#38 0xb652e9d5 in idleTimerSourceDispatch (source=0x8e7ed90) at /home/chani/src/kde-qt/src/corelib/kernel/qeventdispatcher_glib.cpp:231
#39 0xb30aad98 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0xb30ae3e0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#41 0xb30ae513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#42 0xb652fab8 in QEventDispatcherGlib::processEvents (this=0x8e79f60, flags={i = 36})
    at /home/chani/src/kde-qt/src/corelib/kernel/qeventdispatcher_glib.cpp:407
#43 0xb59094a8 in QGuiEventDispatcherGlib::processEvents (this=0x8e79f60, flags={i = 36})
    at /home/chani/src/kde-qt/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#44 0xb64f55d3 in QEventLoop::processEvents (this=0xbfaf4eec, flags={i = 36}) at /home/chani/src/kde-qt/src/corelib/kernel/qeventloop.cpp:149
#45 0xb64f5718 in QEventLoop::exec (this=0xbfaf4eec, flags={i = 0}) at /home/chani/src/kde-qt/src/corelib/kernel/qeventloop.cpp:201
#46 0xb64f88a5 in QCoreApplication::exec () at /home/chani/src/kde-qt/src/corelib/kernel/qcoreapplication.cpp:981
#47 0xb5831b62 in QApplication::exec () at /home/chani/src/kde-qt/src/gui/kernel/qapplication.cpp:3572
#48 0x0804b287 in main (argc=1, argv=0xbfaf5154) at /home/chani/src/kdepim/kmail/main.cpp:156



The crash can be reproduced some of the time.

 -- Backtrace:
Application: KMail (kmail), signal: Aborted
[KCrash Handler]
#6  0xb7fcf424 in __kernel_vsyscall ()
#7  0xb52c3411 in raise () from /lib/libc.so.6
#8  0xb52c4c12 in abort () from /lib/libc.so.6
#9  0xb63d7953 in qt_message_output (msgType=QtFatalMsg, buf=0xa50ea38 "ASSERT: \"!transferInProgress( serNum )\" in file /home/chani/src/kdepim/kmail/messageproperty.cpp, line 180")
    at /home/chani/src/kde-qt/src/corelib/global/qglobal.cpp:2226
#10 0xb63d7b15 in qt_message (msgType=QtFatalMsg, msg=0xb6576520 "ASSERT: \"%s\" in file %s, line %d", ap=0xbfaf4d24 "�\232o��\232o��") at /home/chani/src/kde-qt/src/corelib/global/qglobal.cpp:2272
#11 0xb63d7f33 in qFatal (msg=0xb6576520 "ASSERT: \"%s\" in file %s, line %d") at /home/chani/src/kde-qt/src/corelib/global/qglobal.cpp:2455
#12 0xb63d74ec in qt_assert (assertion=0xb76f9aef "!transferInProgress( serNum )", file=0xb76f9aa0 "/home/chani/src/kdepim/kmail/messageproperty.cpp", line=180)
    at /home/chani/src/kde-qt/src/corelib/global/qglobal.cpp:1989
#13 0xb737d0be in KMail::MessageProperty::forget (msgBase=0xa41c998) at /home/chani/src/kdepim/kmail/messageproperty.cpp:180
#14 0xb73db7d4 in ~KMMsgBase (this=0xa41c998) at /home/chani/src/kdepim/kmail/kmmsgbase.cpp:128
#15 0xb725a0e5 in ~KMMessage (this=0xa41c998) at /home/chani/src/kdepim/kmail/kmmessage.cpp:228
#16 0xb73e3b1a in KMMsgList::clear (this=0x9066700, doDelete=true, syncDict=false) at /home/chani/src/kdepim/kmail/kmmsglist.cpp:37
#17 0xb74438e1 in KMFolderMaildir::reallyDoClose (this=0x90666b0) at /home/chani/src/kdepim/kmail/kmfoldermaildir.cpp:192
#18 0xb736caae in FolderStorage::close (this=0x90666b0, aForced=true) at /home/chani/src/kdepim/kmail/folderstorage.cpp:110
#19 0xb7343d5f in KMFolder::close (this=0x9066240, owner=0xb771aae5 "kmkernel", force=true) at /home/chani/src/kdepim/kmail/kmfolder.cpp:554
#20 0xb7466053 in KMKernel::cleanup (this=0xbfaf4f6c) at /home/chani/src/kdepim/kmail/kmkernel.cpp:1780
#21 0x0804b298 in main (argc=1, argv=0xbfaf5154) at /home/chani/src/kdepim/kmail/main.cpp:158

Possible duplicates by query: bug 182565.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-08-19 11:04:01 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding