Bug 242776 - crash in address autocompletion if akonadi is not available
Summary: crash in address autocompletion if akonadi is not available
Status: RESOLVED DUPLICATE of bug 190617
Alias: None
Product: kdepimlibs
Classification: Applications
Component: kabc (show other bugs)
Version: 4.4
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-25 13:03 UTC by Roman Zimmermann
Modified: 2010-07-05 14:47 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 Roman Zimmermann 2010-06-25 13:03:19 UTC
Version:           4.4 (using KDE 4.4.4) 
OS:                Linux

When akonadi is not available the autocompletion in the To:-address line in kmail crashes.

Akonadi is often not available for me due to the well known race condition with the akonadi self-test (I remember this being already reported). Though ultimately this is the cause - kdepim programs should not crash when akonadi is not available!

Reproducible: Always

Steps to Reproduce:
1. Start kontact (akonadi self-test fails due to race condition)
2. create new mail
3. go to the address field and start typing until auto-completion starts (the dropdown box appears)
4. wait a few seconds

Actual Results:  
kontact crashes

Expected Results:  
autocompletion returns with no result.

I currently don't have debug symbols built in so this is all that I can provide for now:

Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f10435fc30c in KPIM::AddresseeLineEdit::loadContacts() () from /usr/lib64/libkdepim.so.4
#6  0x00007f1027e979bf in KMLineEdit::loadContacts() () from /usr/lib64/libkmailprivate.so.4
#7  0x00007f10435fc87e in KPIM::AddresseeLineEdit::doCompletion(bool) () from /usr/lib64/libkdepim.so.4
#8  0x00007f10435fee87 in KPIM::AddresseeLineEdit::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdepim.so.4
#9  0x00007f1027e97ffb in KMLineEdit::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkmailprivate.so.4
#10 0x00007f1027edd577 in RecipientLineEdit::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkmailprivate.so.4
#11 0x00007f104189bbe6 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007f1042cb54b1 in KLineEdit::completion(QString const&) () from /usr/lib64/libkdeui.so.5
#13 0x00007f1042cb55cb in KLineEdit::doCompletion(QString const&) () from /usr/lib64/libkdeui.so.5
#14 0x00007f1042cb8bfe in KLineEdit::keyPressEvent(QKeyEvent*) () from /usr/lib64/libkdeui.so.5
#15 0x00007f10435fde7c in KPIM::AddresseeLineEdit::keyPressEvent(QKeyEvent*) () from /usr/lib64/libkdepim.so.4
#16 0x00007f1027edf679 in RecipientLineEdit::keyPressEvent(QKeyEvent*) () from /usr/lib64/libkmailprivate.so.4
#17 0x00007f1041d89856 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#18 0x00007f104203bb61 in QLineEdit::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#19 0x00007f1042cb6c68 in KLineEdit::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#20 0x00007f1041d46d0b in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#21 0x00007f1041d471b1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007f1042c294fe in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#23 0x00007f104188d2df in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007f1041dc6749 in QKeyMapper::sendKeyEvent(QWidget*, bool, QEvent::Type, int, QFlags<Qt::KeyboardModifier>, QString const&, bool, int, unsigned int, unsigned int, unsigned int, bool*) ()
   from /usr/lib64/qt4/libQtGui.so.4
#25 0x00007f1041dc77ba in QKeyMapperPrivate::translateKeyEvent(QWidget*, _XEvent const*, bool) () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007f1041da7962 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007f1041dca8ba in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtGui.so.4
#28 0x00007f103ac2bca7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0x00007f103ac2db26 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#30 0x00007f103ac2dc06 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0x00007f10418aba5c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#32 0x00007f1041dca552 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#33 0x00007f104188aed5 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00007f104188b06f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#35 0x00007f104188d93e in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#36 0x0000000000403c8c in main ()
Comment 1 Christophe Marin 2010-07-05 14:47:27 UTC

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