Bug 243238

Summary: kontact crash while restarting akonadi
Product: [Applications] kontact Reporter: p92
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.4.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description p92 2010-06-30 11:48:05 UTC
Application: kontact (4.4.3)
KDE Platform Version: 4.4.4 (KDE 4.4.4)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I was editing a new message, then tried to add a destination email address.
As autocompletion was not working  I used akonadi applet to restart akonadi.
Upon akonadi stop  kontact crashed.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f6e2593d780 (LWP 6761))]

Thread 6 (Thread 0x7f6e014eb710 (LWP 7342)):
#0  0x00007f6e22a0ef53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6e1b53d4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f6e1b53d8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f6e23df9406 in QEventDispatcherGlib::processEvents (this=0x27894b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f6e23dce6c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f6e23dcea9c in QEventLoop::exec (this=0x7f6e014ead90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f6e23cdd8db in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f6e23daedd8 in QInotifyFileSystemWatcherEngine::run (this=0x2780ca0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f6e23cdff95 in QThreadPrivate::start (arg=0x2780ca0) at thread/qthread_unix.cpp:248
#9  0x00007f6e1dab49ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f6e22a1b6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f6e03cc5710 (LWP 29065)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6e23ce0fdb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x13aecb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x13aecb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f6e0ac0c026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x16b0950, th=0x36b03e0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f6e0ac0e6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x15c62c0, th=0x36b03e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f6e0ac0cbff in ThreadWeaver::ThreadRunHelper::run (this=0x7f6e03cc4de0, parent=0x16b0950, th=0x36b03e0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f6e0ac0d168 in ThreadWeaver::Thread::run (this=0x36b03e0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f6e23cdff95 in QThreadPrivate::start (arg=0x36b03e0) at thread/qthread_unix.cpp:248
#8  0x00007f6e1dab49ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f6e22a1b6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f6e04af1710 (LWP 29079)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6e23ce0fdb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x13aecb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x13aecb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f6e0ac0c026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x16b0950, th=0x5b9a610) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f6e0ac0e6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x15c62c0, th=0x5b9a610) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f6e0ac0e6c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x15c62c0, th=0x5b9a610) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f6e0ac0e6c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x15c62c0, th=0x5b9a610) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f6e0ac0cbff in ThreadWeaver::ThreadRunHelper::run (this=0x7f6e04af0de0, parent=0x16b0950, th=0x5b9a610) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f6e0ac0d168 in ThreadWeaver::Thread::run (this=0x5b9a610) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f6e23cdff95 in QThreadPrivate::start (arg=0x5b9a610) at thread/qthread_unix.cpp:248
#10 0x00007f6e1dab49ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f6e22a1b6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6dfda40710 (LWP 29083)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6e23ce0fdb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x13aecb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x13aecb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f6e0ac0c026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x16b0950, th=0x8c01a70) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f6e0ac0e6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x15c62c0, th=0x8c01a70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f6e0ac0e6c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x15c62c0, th=0x8c01a70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f6e0ac0e6c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x15c62c0, th=0x8c01a70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f6e0ac0e6c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x15c62c0, th=0x8c01a70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f6e0ac0cbff in ThreadWeaver::ThreadRunHelper::run (this=0x7f6dfda3fde0, parent=0x16b0950, th=0x8c01a70) at ../../../threadweaver/Weaver/Thread.cpp:87
#9  0x00007f6e0ac0d168 in ThreadWeaver::Thread::run (this=0x8c01a70) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007f6e23cdff95 in QThreadPrivate::start (arg=0x8c01a70) at thread/qthread_unix.cpp:248
#11 0x00007f6e1dab49ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007f6e22a1b6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6dfd23f710 (LWP 29096)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6e23ce0fdb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x13aecb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x13aecb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f6e0ac0c026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x16b0950, th=0x5d91140) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f6e0ac0e6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x15c62c0, th=0x5d91140) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f6e0ac0e6c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x15c62c0, th=0x5d91140) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f6e0ac0cbff in ThreadWeaver::ThreadRunHelper::run (this=0x7f6dfd23ede0, parent=0x16b0950, th=0x5d91140) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f6e0ac0d168 in ThreadWeaver::Thread::run (this=0x5d91140) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f6e23cdff95 in QThreadPrivate::start (arg=0x5d91140) at thread/qthread_unix.cpp:248
#9  0x00007f6e1dab49ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f6e22a1b6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6e2593d780 (LWP 6761)):
[KCrash Handler]
#5  0x000000000550b650 in ?? ()
#6  0x00007f6e23de1a9e in QObject::connect (sender=0xce9baa0, signal=<value optimized out>, receiver=0x452bf50, method=0x7f6e252ea98e "1loadContacts()", type=Qt::AutoConnection)
    at kernel/qobject.cpp:2550
#7  0x00007f6e252624b5 in QObject::connect (this=0x452bf50) at /usr/include/qt4/QtCore/qobject.h:315
#8  KPIM::AddresseeLineEdit::loadContacts (this=0x452bf50) at ../../libkdepim/addresseelineedit.cpp:601
#9  0x00007f6e0b21afab in KMLineEdit::loadContacts (this=0x452bf50) at ../../kmail/kmlineeditspell.cpp:195
#10 0x00007f6e2526484c in KPIM::AddresseeLineEdit::doCompletion (this=0x452bf50, ctrlT=false) at ../../libkdepim/addresseelineedit.cpp:422
#11 0x00007f6e25269aa4 in KPIM::AddresseeLineEdit::qt_metacall (this=0x452bf50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff06ab0ba0) at ./addresseelineedit.moc:97
#12 0x00007f6e0b21af18 in KMLineEdit::qt_metacall (this=0x452bf50, _c=14, _id=111870992, _a=0x7f6e23e77000) at ./kmlineeditspell.moc:74
#13 0x00007f6e0b289538 in RecipientLineEdit::qt_metacall (this=0x452bf50, _c=14, _id=111870992, _a=0x7f6e23e77000) at ./recipientseditor.moc:135
#14 0x00007f6e23de3036 in QMetaObject::activate (sender=0x452bf50, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f6e23e77000) at kernel/qobject.cpp:3295
#15 0x00007f6e24887b15 in KLineEdit::completion (this=0x452bf50, _t1=<value optimized out>) at ./klineedit.moc:233
#16 0x00007f6e24887c5b in KLineEdit::doCompletion (this=0x452bf50, txt=...) at ../../kdeui/widgets/klineedit.cpp:1793
#17 0x00007f6e2488bdee in KLineEdit::keyPressEvent (this=0x452bf50, e=0x7fff06ab1960) at ../../kdeui/widgets/klineedit.cpp:926
#18 0x00007f6e25268195 in KPIM::AddresseeLineEdit::keyPressEvent (this=0x452bf50, e=0x7fff06ab1960) at ../../libkdepim/addresseelineedit.cpp:233
#19 0x00007f6e0b28ad01 in RecipientLineEdit::keyPressEvent (this=0x452bf50, ev=0x7fff06ab1960) at ../../kmail/recipientseditor.cpp:144
#20 0x00007f6e231dfbbe in QWidget::event (this=0x452bf50, event=0x7fff06ab1960) at kernel/qwidget.cpp:8079
#21 0x00007f6e23596f93 in QLineEdit::event (this=0x452bf50, e=0x7fff06ab1960) at widgets/qlineedit.cpp:1480
#22 0x00007f6e2488d00a in KLineEdit::event (this=0x452bf50, ev=0x7fff06ab1960) at ../../kdeui/widgets/klineedit.cpp:1329
#23 0x00007f6e23189c0c in QApplicationPrivate::notify_helper (this=0xb986d0, receiver=0x452bf50, e=0x7fff06ab1960) at kernel/qapplication.cpp:4302
#24 0x00007f6e231918a5 in QApplication::notify (this=<value optimized out>, receiver=0x452bf50, e=0x7fff06ab1960) at kernel/qapplication.cpp:3765
#25 0x00007f6e247b9606 in KApplication::notify (this=0x7fff06ab2920, receiver=0x452bf50, event=0x7fff06ab1960) at ../../kdeui/kernel/kapplication.cpp:302
#26 0x00007f6e23dcfd9c in QCoreApplication::notifyInternal (this=0x7fff06ab2920, receiver=0x452bf50, event=0x7fff06ab1960) at kernel/qcoreapplication.cpp:726
#27 0x00007f6e23234d1a in QKeyMapper::sendKeyEvent (keyWidget=0x452bf50, grab=<value optimized out>, type=QEvent::KeyPress, code=80, modifiers=<value optimized out>, text=..., autorepeat=false, 
    count=1, nativeScanCode=33, nativeVirtualKey=112, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1875
#28 0x00007f6e232372c0 in QKeyMapperPrivate::translateKeyEvent (this=0xbdb060, keyWidget=0x452bf50, event=<value optimized out>, grab=14) at kernel/qkeymapper_x11.cpp:1845
#29 0x00007f6e2320e544 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff06ab2530) at kernel/qapplication_x11.cpp:3406
#30 0x00007f6e2323a5a2 in x11EventSourceDispatch (s=0xb91e90, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#31 0x00007f6e1b5398c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0x00007f6e1b53d748 in ?? () from /lib/libglib-2.0.so.0
#33 0x00007f6e1b53d8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0x00007f6e23df93b3 in QEventDispatcherGlib::processEvents (this=0xb64d70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#35 0x00007f6e2323a18e in QGuiEventDispatcherGlib::processEvents (this=0x452bf50, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f6e23dce6c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#37 0x00007f6e23dcea9c in QEventLoop::exec (this=0x7fff06ab2860, flags=) at kernel/qeventloop.cpp:201
#38 0x00007f6e23dd373b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#39 0x0000000000403e8e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224

Possible duplicates by query: bug 242877, bug 238654, bug 237783, bug 237245, bug 236726.

Reported using DrKonqi
Comment 1 Christophe Marin 2010-07-05 14:54:56 UTC

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