Bug 233589 - Kmail freeze when I send mail
Summary: Kmail freeze when I send mail
Status: RESOLVED DUPLICATE of bug 219687
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Unspecified
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-07 11:16 UTC by BRULE Herman
Modified: 2010-04-14 22:56 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BRULE Herman 2010-04-07 11:16:17 UTC
Version:            (using KDE 4.4.2)
Installed from:    Gentoo Packages

Hello kmail freeze when I send mail, then I can't send mail, bug fix is really urgent for me, thanks to fix it.
The backtrace:
#0  0x00007f1b78f9abc6 in *__GI___poll (fds=0x1a18610, nfds=10, timeout=9998) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f1b7279c239 in g_main_context_poll (context=0x12c3440, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2904
#2  g_main_context_iterate (context=0x12c3440, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2586
#3  0x00007f1b7279c52c in IA__g_main_context_iteration (context=0x12c3440, may_block=1) at gmain.c:2654
#4  0x00007f1b7b37f71c in QEventDispatcherGlib::processEvents (this=0x12bc6b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#5  0x00007f1b7a45dfaf in QGuiEventDispatcherGlib::processEvents (this=0x1a18610, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#6  0x00007f1b7b34c572 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f1b7b34ca14 in QEventLoop::exec (this=0x7fff0008d3e0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007f1b800ed5ef in KJob::exec (this=0x1842510) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kdecore/jobs/kjob.cpp:204
#9  0x00007f1b7f7367b2 in KabcBridge::expandNickName (nickName=<value optimized out>) at /var/tmp/portage/kde-base/kmail-4.4.2/work/kmail-4.4.2/kmail/kmaddrbook.cpp:117
#10 0x00007f1b7f966085 in KMail::StringUtil::expandAliases (recipients=<value optimized out>, distributionListEmpty=...) at /var/tmp/portage/kde-base/kmail-4.4.2/work/kmail-4.4.2/kmail/stringutil.cpp:944
#11 0x00007f1b7f9314e8 in KMail::Util::validateAddresses (parent=0x1a69940, addresses=...) at /var/tmp/portage/kde-base/kmail-4.4.2/work/kmail-4.4.2/kmail/util.cpp:141
#12 0x00007f1b7f68c480 in KMComposeWin::doSend (this=0x1a69940, method=<value optimized out>, saveIn=KMComposeWin::None) at /var/tmp/portage/kde-base/kmail-4.4.2/work/kmail-4.4.2/kmail/kmcomposewin.cpp:3518
#13 0x00007f1b7f68d9f7 in KMComposeWin::slotSendNow (this=0x1a69940) at /var/tmp/portage/kde-base/kmail-4.4.2/work/kmail-4.4.2/kmail/kmcomposewin.cpp:3808
#14 0x00007f1b7f67294f in KMComposeWin::slotSendNowVia (this=0x1a69940, item=0x1cff1f0) at /var/tmp/portage/kde-base/kmail-4.4.2/work/kmail-4.4.2/kmail/kmcomposewin.cpp:3769
#15 0x00007f1b7f68e905 in KMComposeWin::qt_metacall (this=0x1a69940, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0008e1f0)
    at /var/tmp/portage/kde-base/kmail-4.4.2/work/kmail-4.4.2_build/kmail/kmcomposewin.moc:250
#16 0x00007f1b7b36611f in QMetaObject::activate (sender=0x1bd9c00, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3285
#17 0x00007f1b7a8646b2 in QMenu::triggered (this=0x1a18610, _t1=0x1cff1f0) at .moc/debug-shared/moc_qmenu.cpp:164
#18 0x00007f1b7a867519 in QMenuPrivate::_q_actionTriggered (this=0x1bd9c40) at widgets/qmenu.cpp:1129
#19 0x00007f1b7a86bbb9 in QMenu::qt_metacall (this=0x1bd9c00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0008e3e0) at .moc/debug-shared/moc_qmenu.cpp:105
#20 0x00007f1b807e4625 in KMenu::qt_metacall (this=0x1a18610, _c=10, _id=9998, _a=0xffffffffffffffff) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2_build/kdeui/kmenu.moc:76
#21 0x00007f1b7b36611f in QMetaObject::activate (sender=0x1cff1f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3285
#22 0x00007f1b7a388db2 in QAction::triggered (this=0x1a18610, _t1=false) at .moc/debug-shared/moc_qaction.cpp:263
#23 0x00007f1b7a38a570 in QAction::activate (this=0x1cff1f0, event=<value optimized out>) at kernel/qaction.cpp:1255
#24 0x00007f1b7a8659a5 in QMenuPrivate::activateCausedStack (this=0x1bd9c40, causedStack=..., action=0x1cff1f0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#25 0x00007f1b7a86c40f in QMenuPrivate::activateAction (this=0x1bd9c40, action=0x1cff1f0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1103
#26 0x00007f1b807e4285 in KMenu::mouseReleaseEvent (this=0x1bd9c00, e=0x7fff0008f2a0) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kdeui/widgets/kmenu.cpp:471
#27 0x00007f1b7a3faab8 in QWidget::event (this=0x1bd9c00, event=0x7fff0008f2a0) at kernel/qwidget.cpp:7998
#28 0x00007f1b7a86e96b in QMenu::event (this=0x1bd9c00, e=0x7fff0008f2a0) at widgets/qmenu.cpp:2414
#29 0x00007f1b7a3915c1 in QApplicationPrivate::notify_helper (this=0x12c0bf0, receiver=0x1bd9c00, e=0x7fff0008f2a0) at kernel/qapplication.cpp:4300
#30 0x00007f1b7a39943e in QApplication::notify (this=<value optimized out>, receiver=0x1bd9c00, e=0x7fff0008f2a0) at kernel/qapplication.cpp:3865
#31 0x00007f1b806ef0c1 in KApplication::notify (this=0x7fff00090e70, receiver=0x1bd9c00, event=0x7fff0008f2a0) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#32 0x00007f1b7b34e08b in QCoreApplication::notifyInternal (this=0x7fff00090e70, receiver=0x1bd9c00, event=0x7fff0008f2a0) at kernel/qcoreapplication.cpp:704
#33 0x00007f1b7a397ef1 in QCoreApplication::sendEvent (receiver=0x1bd9c00, event=0x7fff0008f2a0, alienWidget=0x0, nativeWidget=0x1bd9c00, buttonDown=<value optimized out>, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QApplicationPrivate::sendMouseEvent (receiver=0x1bd9c00, event=0x7fff0008f2a0, alienWidget=0x0, nativeWidget=0x1bd9c00, buttonDown=<value optimized out>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2965
#35 0x00007f1b7a432ad3 in QETWidget::translateMouseEvent (this=0x1bd9c00, event=<value optimized out>) at kernel/qapplication_x11.cpp:4302
#36 0x00007f1b7a431a8c in QApplication::x11ProcessEvent (this=0x7fff00090e70, event=0x7fff0008fa80) at kernel/qapplication_x11.cpp:3501
#37 0x00007f1b7a45e4b2 in x11EventSourceDispatch (s=0x12c4410, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#38 0x00007f1b72798609 in g_main_dispatch (context=0x12c3440) at gmain.c:1960
#39 IA__g_main_context_dispatch (context=0x12c3440) at gmain.c:2513
#40 0x00007f1b7279c368 in g_main_context_iterate (context=0x12c3440, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#41 0x00007f1b7279c52c in IA__g_main_context_iteration (context=0x12c3440, may_block=1) at gmain.c:2654
#42 0x00007f1b7b37f71c in QEventDispatcherGlib::processEvents (this=0x12bc6b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#43 0x00007f1b7a45dfaf in QGuiEventDispatcherGlib::processEvents (this=0x1a18610, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007f1b7b34c572 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#45 0x00007f1b7b34ca14 in QEventLoop::exec (this=0x7fff0008fdb0, flags=...) at kernel/qeventloop.cpp:201
#46 0x00007f1b7a8696f5 in QMenu::exec (this=<value optimized out>, p=..., action=0x0) at widgets/qmenu.cpp:2063
#47 0x00007f1b7a8bcf52 in QToolButtonPrivate::popupTimerDone (this=0x1c7c7e0) at widgets/qtoolbutton.cpp:955
#48 0x00007f1b7b3615e3 in QObject::event (this=0x1caa2b0, e=0xa) at kernel/qobject.cpp:1204
#49 0x00007f1b7a3fa1cd in QWidget::event (this=0x1caa2b0, event=0x7fff00090a00) at kernel/qwidget.cpp:8455
#50 0x00007f1b7a3915c1 in QApplicationPrivate::notify_helper (this=0x12c0bf0, receiver=0x1caa2b0, e=0x7fff00090a00) at kernel/qapplication.cpp:4300
#51 0x00007f1b7a398742 in QApplication::notify (this=0x7fff00090e70, receiver=0x1caa2b0, e=0x7fff00090a00) at kernel/qapplication.cpp:4265
#52 0x00007f1b806ef0c1 in KApplication::notify (this=0x7fff00090e70, receiver=0x1caa2b0, event=0x7fff00090a00) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#53 0x00007f1b7b34e08b in QCoreApplication::notifyInternal (this=0x7fff00090e70, receiver=0x1caa2b0, event=0x7fff00090a00) at kernel/qcoreapplication.cpp:704
#54 0x00007f1b7b383a94 in QCoreApplication::sendEvent (this=0x12c4340) at kernel/qcoreapplication.h:215
#55 QTimerInfoList::activateTimers (this=0x12c4340) at kernel/qeventdispatcher_unix.cpp:603
#56 0x00007f1b7b37fb18 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#57 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#58 0x00007f1b72798609 in g_main_dispatch (context=0x12c3440) at gmain.c:1960
#59 IA__g_main_context_dispatch (context=0x12c3440) at gmain.c:2513
---Type <return> to continue, or q <return> to quit---
#60 0x00007f1b7279c368 in g_main_context_iterate (context=0x12c3440, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#61 0x00007f1b7279c52c in IA__g_main_context_iteration (context=0x12c3440, may_block=1) at gmain.c:2654
#62 0x00007f1b7b37f71c in QEventDispatcherGlib::processEvents (this=0x12bc6b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#63 0x00007f1b7a45dfaf in QGuiEventDispatcherGlib::processEvents (this=0x1a18610, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#64 0x00007f1b7b34c572 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#65 0x00007f1b7b34ca14 in QEventLoop::exec (this=0x7fff00090cb0, flags=...) at kernel/qeventloop.cpp:201
#66 0x00007f1b7b34f444 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#67 0x000000000040368c in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kmail-4.4.2/work/kmail-4.4.2/kmail/main.cpp:156
Comment 1 Thomas McGuire 2010-04-07 12:43:09 UTC
What does the output of "akonadictl status" say?
It should be "Akonadi Server Search Support: available (backend: Virtuoso)".

*** This bug has been marked as a duplicate of bug 219687 ***
Comment 2 BRULE Herman 2010-04-07 13:07:00 UTC
konadi Control: running
Akonadi Server: running
Akonadi Server Search Support: not available
Comment 3 Thomas McGuire 2010-04-07 13:11:11 UTC
> Akonadi Server Search Support: not available

That is probably a packaging problem, write a bug report at the Gentoo bugtracker.

Gentoo is known to ship broken packages unfortunately.
Comment 4 BRULE Herman 2010-04-07 13:13:59 UTC
I have lot of use flags disabled, en Akonadi disabled in control pannel too because I not wish of it.
Comment 5 Thomas McGuire 2010-04-07 13:31:58 UTC
> I have lot of use flags disabled, en Akonadi disabled in control pannel too
> because I not wish of it.

Akonadi is the foundation of Kontact, it is where your PIM data (currently address only) are stored, you can not disable it.
Akonadi uses Nepomuk for searching for contacts, you can not disable it either. You can disable Strigi indexing though.

Gentoo should not allow to have Akonadi/Nepomuk disabled with USE flags, it is required for KDEPIM.
Comment 6 Maciej Mrozowski 2010-04-07 16:39:21 UTC
I'm Gentoo developer and one of those preparing KDE packages there.
Thomas, I suggest you stop spreading nonsense about things you clearly have no clue about (which is Gentoo packages dependency tree and state of Gentoo packages).

Below is dependency section for kmail in Gentoo packages:

DEPEND="
	$(add_kdebase_dep kdelibs 'semantic-desktop')
	$(add_kdebase_dep kdepimlibs 'akonadi')
	$(add_kdebase_dep libkdepim)
	$(add_kdebase_dep libkleo)
	$(add_kdebase_dep libkpgp)
	ayatana? ( >=dev-libs/libindicate-qt-0.2.1 )
"
RDEPEND="${DEPEND}
	$(add_kdebase_dep kdepim-runtime)

kdepim-runtime is akonadi (kdepim)
kdepimlibs[akonadi] means it requires akonadi support in kdepimlibs
kdelbns[semantic-deskop] is requiring Nepomuk libs in kdelibs

Also
"Akonadi Server Search Support: not available" means that search support is not available in Akonadi, which means that either
- it's been overriden and disabled at build time (which is not the case here, and we talked about it already)
or
- it's been disabled at runtime (in System settings - which is the case here - and we talked about it already as well)

Please reopen. I know it's always the easiest to shuffle real problems under the carpet and do everything (like blaming direct downstream/upstream) but fixing them.
I prefer not to return "X is known to do Y" remarks...
Comment 7 Thomas McGuire 2010-04-07 16:53:30 UTC
> Thomas, I suggest you stop spreading nonsense about things you clearly have
> no clue about (which is Gentoo packages dependency tree and state of Gentoo
> packages).

Sorry, I apologize for that. I thought it must be an upstream modification, especially since USE flags were mentioned, and I couldn't reproduce it here.

> Please reopen. I know it's always the easiest to shuffle real problems under
> the carpet and do everything (like blaming direct downstream/upstream) but
> fixing them.

I'll mark as duplicate of bug 219687. The freezes can actually be caused by multiple things, most of that should be fixed in 4.4.1 already though, so I thought this case must have been something else.

*** This bug has been marked as a duplicate of bug 219687 ***
Comment 8 BRULE Herman 2010-04-07 19:41:46 UTC
It's not duplicate of bug 219687 because I'm in KDE SC 4.4.2 !
Comment 9 BRULE Herman 2010-04-07 19:45:32 UTC
And Akonadi can be disabled at the run time, but in nothing case kmail need freeze, it need prevent all error, and inform the user if real problem is detected.
Comment 10 Anssi Hannula 2010-04-13 07:32:04 UTC
I'm experiencing the same issue (on Mandriva Cooker, KDE SC 4.4.2). Akonadi is unable to start due to another issue (Launchpad #554660, haven't investigated further yet), and I receive no graphical error message of any kind. Kmail hangs when pressing the Send button.
Comment 11 Björn Ruberg 2010-04-14 22:56:26 UTC
Sorry. Just because bug #219687 has been reported before KDE 4.4.2 it can be very well a duplicate. As long there is no other evidence that it is something different I think we should believe Thomas's judgement.

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