Bug 287537

Summary: Kontact crashes when starting Kontact
Product: [Applications] kontact Reporter: Georg Greve <greve>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: boboudrescu, myriam
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Georg Greve 2011-11-25 13:38:08 UTC
Application: kontact (4.7.3)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.8.0
Operating System: Linux 3.1.2-1.fc16.x86_64 x86_64
Distribution: "Fedora release 16 (Verne)"

-- Information about the crash:
Doesn't even manage to start up the email view.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f7d367b1840 (LWP 2817))]

Thread 3 (Thread 0x7f7d2b577700 (LWP 2818)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003e691973cc in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x0000003e691974f9 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x0000003e45807d90 in start_thread (arg=0x7f7d2b577700) at pthread_create.c:309
#4  0x0000003e450eed8d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f7d2ac76700 (LWP 2819)):
#0  0x00007fffdb39b8de in ?? ()
#1  0x0000003e464041f1 in __GI_clock_gettime (clock_id=1, tp=0x7f7d2ac75ad0) at ../sysdeps/unix/clock_gettime.c:100
#2  0x0000003e504d2004 in do_gettime (frac=0x7f7d2ac75ae8, sec=0x7f7d2ac75ae0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x0000003e505a6f9d in QTimerInfoList::updateCurrentTime (this=0x7f7d240020d0) at kernel/qeventdispatcher_unix.cpp:343
#5  0x0000003e505a72d3 in QTimerInfoList::timerWait (this=0x7f7d240020d0, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x0000003e505a5d6c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f7d2ac75bac) at kernel/qeventdispatcher_glib.cpp:136
#7  0x0000003e44c44012 in g_main_context_prepare (context=0x7f7d240009a0, priority=0x7f7d2ac75c18) at gmain.c:2746
#8  0x0000003e44c44e1d in g_main_context_iterate (context=0x7f7d240009a0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3053
#9  0x0000003e44c4544c in g_main_context_iteration (context=0x7f7d240009a0, may_block=1) at gmain.c:3136
#10 0x0000003e505a6896 in QEventDispatcherGlib::processEvents (this=0x7f7d240008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#11 0x0000003e50576c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#12 0x0000003e50576ed7 in QEventLoop::exec (this=0x7f7d2ac75d40, flags=...) at kernel/qeventloop.cpp:204
#13 0x0000003e50478ad7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#14 0x0000003e5047bb1b in QThreadPrivate::start (arg=0x1bb5560) at thread/qthread_unix.cpp:298
#15 0x0000003e45807d90 in start_thread (arg=0x7f7d2ac76700) at pthread_create.c:309
#16 0x0000003e450eed8d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f7d367b1840 (LWP 2817)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::updateChildrenMapping (this=0x26865f0, source_parent=..., parent_mapping=0x2671120, orient=Qt::Vertical, start=0, end=0, delta_item_count=1, remove=false) at itemviews/qsortfilterproxymodel.cpp:948
#7  0x0000003e53f6fc64 in QSortFilterProxyModelPrivate::source_items_inserted (this=0x26865f0, source_parent=..., start=0, end=0, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:745
#8  0x0000003e53f7015f in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x26865f0, source_parent=<optimized out>, start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1280
#9  0x0000003e5058b7d1 in QMetaObject::activate (sender=0x1d25a10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffdb234cd0) at kernel/qobject.cpp:3546
#10 0x0000003e505d7654 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=<optimized out>, _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#11 0x0000003e50571dbd in QAbstractItemModel::endInsertRows (this=0x1d25a10) at kernel/qabstractitemmodel.cpp:2433
#12 0x0000003e53f6bccf in QSortFilterProxyModelPrivate::insert_source_items (this=0x267a410, source_to_proxy=..., proxy_to_source=..., source_items=<optimized out>, source_parent=<optimized out>, orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:695
#13 0x0000003e53f6fe37 in QSortFilterProxyModelPrivate::source_items_inserted (this=0x267a410, source_parent=..., start=<optimized out>, end=<optimized out>, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:806
#14 0x0000003e53f7015f in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x267a410, source_parent=<optimized out>, start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1280
#15 0x0000003e5057f8a1 in QMetaMethod::invoke (this=0x7fffdb2351b0, object=0x1d25a10, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1641
#16 0x0000003e50581bb0 in QMetaObject::invokeMethod (obj=0x1d25a10, member=<optimized out>, type=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#17 0x0000003e55010b0e in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=Qt::DirectConnection, member=0x3e551c04e8 "_q_sourceRowsInserted", obj=0x1d25a10) at /usr/include/QtCore/qobjectdefs.h:418
#18 invokeRowsInserted (end=0, start=0, source_parent=..., this=0x22eb200) at /usr/src/debug/kdelibs-4.7.3/kdeui/itemviews/krecursivefilterproxymodel.cpp:66
#19 KRecursiveFilterProxyModelPrivate::sourceRowsInserted (this=0x22eb200, source_parent=..., start=<optimized out>, end=0) at /usr/src/debug/kdelibs-4.7.3/kdeui/itemviews/krecursivefilterproxymodel.cpp:190
#20 0x0000003e5058b7d1 in QMetaObject::activate (sender=0x2282420, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffdb2356e0) at kernel/qobject.cpp:3546
#21 0x0000003e505d7654 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=<optimized out>, _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#22 0x0000003e50571dbd in QAbstractItemModel::endInsertRows (this=0x2282420) at kernel/qabstractitemmodel.cpp:2433
#23 0x0000003e53f6bccf in QSortFilterProxyModelPrivate::insert_source_items (this=0x23304d0, source_to_proxy=..., proxy_to_source=..., source_items=<optimized out>, source_parent=<optimized out>, orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:695
#24 0x0000003e53f6fe37 in QSortFilterProxyModelPrivate::source_items_inserted (this=0x23304d0, source_parent=..., start=<optimized out>, end=<optimized out>, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:806
#25 0x0000003e53f7015f in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x23304d0, source_parent=<optimized out>, start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1280
#26 0x0000003e5058b7d1 in QMetaObject::activate (sender=0x2273910, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffdb235a40) at kernel/qobject.cpp:3546
#27 0x0000003e505d7654 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=<optimized out>, _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#28 0x0000003e50571dbd in QAbstractItemModel::endInsertRows (this=0x2273910) at kernel/qabstractitemmodel.cpp:2433
#29 0x0000003e5a0fe280 in Akonadi::EntityTreeModelPrivate::collectionsFetched (this=0x2331e90, collections=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.3/akonadi/entitytreemodel_p.cpp:473
#30 0x0000003e5058b7d1 in QMetaObject::activate (sender=0x297cda0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffdb235e40) at kernel/qobject.cpp:3546
#31 0x0000003e5a0b3fd2 in Akonadi::CollectionFetchJob::collectionsReceived (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.3/x86_64-redhat-linux-gnu/akonadi/collectionfetchjob.moc:109
#32 0x0000003e5a0b454b in timeout (this=0x2530d90) at /usr/src/debug/kdepimlibs-4.7.3/akonadi/collectionfetchjob.cpp:76
#33 qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.3/x86_64-redhat-linux-gnu/akonadi/collectionfetchjob.moc:59
#34 Akonadi::CollectionFetchJob::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.3/x86_64-redhat-linux-gnu/akonadi/collectionfetchjob.moc:51
#35 0x0000003e5058b7d1 in QMetaObject::activate (sender=0x2923460, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3546
#36 0x0000003e50590719 in QObject::event (this=0x2923460, e=<optimized out>) at kernel/qobject.cpp:1156
#37 0x0000003e539c96f4 in notify_helper (e=0x7fffdb236630, receiver=0x2923460, this=0x1baa810) at kernel/qapplication.cpp:4518
#38 QApplicationPrivate::notify_helper (this=0x1baa810, receiver=0x2923460, e=0x7fffdb236630) at kernel/qapplication.cpp:4490
#39 0x0000003e539ce573 in QApplication::notify (this=0x7fffdb236940, receiver=0x2923460, e=0x7fffdb236630) at kernel/qapplication.cpp:4379
#40 0x0000003e55050396 in KApplication::notify (this=0x7fffdb236940, receiver=0x2923460, event=0x7fffdb236630) at /usr/src/debug/kdelibs-4.7.3/kdeui/kernel/kapplication.cpp:311
#41 0x0000003e50577b4c in QCoreApplication::notifyInternal (this=0x7fffdb236940, receiver=0x2923460, event=0x7fffdb236630) at kernel/qcoreapplication.cpp:876
#42 0x0000003e505a8622 in sendEvent (event=0x7fffdb236630, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#43 QTimerInfoList::activateTimers (this=0x1bae290) at kernel/qeventdispatcher_unix.cpp:611
#44 0x0000003e505a5ffd in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#45 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#46 0x0000003e505a6021 in idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:233
#47 0x0000003e44c44a7d in g_main_dispatch (context=0x1bad000) at gmain.c:2425
#48 g_main_context_dispatch (context=0x1bad000) at gmain.c:2995
#49 0x0000003e44c45278 in g_main_context_iterate (context=0x1bad000, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#50 0x0000003e44c4544c in g_main_context_iteration (context=0x1bad000, may_block=1) at gmain.c:3136
#51 0x0000003e505a682f in QEventDispatcherGlib::processEvents (this=0x1b7a530, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#52 0x0000003e53a6c43e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#53 0x0000003e50576c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#54 0x0000003e50576ed7 in QEventLoop::exec (this=0x7fffdb2368d0, flags=...) at kernel/qeventloop.cpp:204
#55 0x0000003e5057b8d5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#56 0x00000000004037b9 in ?? ()
#57 0x0000003e4502169d in __libc_start_main (main=0x402cd0, argc=1, ubp_av=0x7fffdb236f68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffdb236f58) at libc-start.c:226
#58 0x0000000000403d01 in _start ()

Possible duplicates by query: bug 277822, bug 276643, bug 276449.

Reported using DrKonqi
Comment 1 Bogdan Udrescu 2011-11-26 22:17:35 UTC
More confirmations are needed. It may crash due to faulty configuration.
Comment 2 Myriam Schweingruber 2011-11-29 13:54:51 UTC
Georg, you already reported a Kontact crash with the same origin. Try moving the Akonadi configuration files in $HOME/.kde/share/config/akonadi* to check if it is a configuration problem. 
The backtrace indicates a problem with this function call: Akonadi::EntityTreeModelPrivate::collectionsFetched

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