Bug 305557

Summary: kontact loses folders and contacts, then crashes
Product: [Applications] kontact Reporter: Lester Petrie <petrielmjr>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.8.x   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Lester Petrie 2012-08-21 15:18:36 UTC
Application: kontact (4.8.5)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.2
Operating System: Linux 3.5.2-1.fc17.x86_64 x86_64
Distribution: "Fedora release 17 (Beefy Miracle)"

-- Information about the crash:
- What I was doing when the application crashed:

I had started to send an email, and went to select a receipient from my contacts.  The contact list was blank.  I manually entered the receipient, sent the email, and then opened contacts to see what the problem was.  The contact list was completely blank.  I opened Akonaditray, and the contact list there was correct.  I came back to kontact, and tried adding an Address book, but nothing showed up.  I went back to kmail, and my mail folders had disappeared (except the tabs still pointed to the correct places).  I clicked in the empty Favorites box, and kontact crashed.  When I try to reopen kontact, everything is missing.

-- 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 0x7f02b3ab8880 (LWP 32128))]

Thread 4 (Thread 0x7f02a6d3c700 (LWP 32196)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x00000032dee1677d in WTF::TCMalloc_PageHeap::scavengerThread (this=0x32df800980) at wtf/FastMalloc.cpp:2495
#2  0x00000032dee16889 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00000032b9c07d14 in start_thread (arg=0x7f02a6d3c700) at pthread_create.c:309
#4  0x00000032b90f167d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f02a6423700 (LWP 32197)):
#0  0x00000032b90e8bcf in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000032bbc47964 in g_main_context_poll (n_fds=1, fds=0x7f02a00029c0, timeout=7514, context=0x7f02a00009a0, priority=<optimized out>) at gmain.c:3440
#2  g_main_context_iterate (context=context@entry=0x7f02a00009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3141
#3  0x00000032bbc47a84 in g_main_context_iteration (context=0x7f02a00009a0, may_block=1) at gmain.c:3207
#4  0x00000032c45a4506 in QEventDispatcherGlib::processEvents (this=0x7f02a00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00000032c457513f in QEventLoop::processEvents (this=this@entry=0x7f02a6422d20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000032c45753c8 in QEventLoop::exec (this=0x7f02a6422d20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00000032c4478650 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00000032c447b5eb in QThreadPrivate::start (arg=0x209db50) at thread/qthread_unix.cpp:307
#9  0x00000032b9c07d14 in start_thread (arg=0x7f02a6423700) at pthread_create.c:309
#10 0x00000032b90f167d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f0256af9700 (LWP 14833)):
#0  0x00000032b90e8bcf in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000032bbc47964 in g_main_context_poll (n_fds=1, fds=0x7f02440037e0, timeout=-1, context=0x7f02440048a0, priority=<optimized out>) at gmain.c:3440
#2  g_main_context_iterate (context=context@entry=0x7f02440048a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3141
#3  0x00000032bbc47a84 in g_main_context_iteration (context=0x7f02440048a0, may_block=1) at gmain.c:3207
#4  0x00000032c45a4506 in QEventDispatcherGlib::processEvents (this=0x7f0244004180, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00000032c457513f in QEventLoop::processEvents (this=this@entry=0x7f0256af8cf0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000032c45753c8 in QEventLoop::exec (this=0x7f0256af8cf0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00000032c4478650 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00000032c4555b4f in QInotifyFileSystemWatcherEngine::run (this=0x34e33c0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00000032c447b5eb in QThreadPrivate::start (arg=0x34e33c0) at thread/qthread_unix.cpp:307
#10 0x00000032b9c07d14 in start_thread (arg=0x7f0256af9700) at pthread_create.c:309
#11 0x00000032b90f167d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f02b3ab8880 (LWP 32128)):
[KCrash Handler]
#6  Akonadi::CollectionStatisticsDelegate::paint (this=0x2e35760, painter=0x7fff8016bab0, option=..., index=...) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/collectionstatisticsdelegate.cpp:225
#7  0x00000032c8af31fc in QListView::paintEvent (this=0x2e1cd40, e=<optimized out>) at itemviews/qlistview.cpp:1039
#8  0x00000032c8619b02 in QWidget::event (this=0x2e1cd40, event=0x7fff8016c860) at kernel/qwidget.cpp:8517
#9  0x00000032c89c3b46 in QFrame::event (this=0x2e1cd40, e=0x7fff8016c860) at widgets/qframe.cpp:557
#10 0x00000032c8ad1163 in QAbstractItemView::viewportEvent (this=0x2e1cd40, event=0x7fff8016c860) at itemviews/qabstractitemview.cpp:1644
#11 0x00000032c4576556 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x2e3b6d0, event=0x7fff8016c860) at kernel/qcoreapplication.cpp:1025
#12 0x00000032c85ca34c in QApplicationPrivate::notify_helper (this=this@entry=0x202c580, receiver=receiver@entry=0x2e3b6d0, e=e@entry=0x7fff8016c860) at kernel/qapplication.cpp:4547
#13 0x00000032c85ce7fa in QApplication::notify (this=0x7fff8016d820, receiver=0x2e3b6d0, e=0x7fff8016c860) at kernel/qapplication.cpp:4412
#14 0x00000032cb8462b6 in KApplication::notify (this=0x7fff8016d820, receiver=0x2e3b6d0, event=0x7fff8016c860) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#15 0x00000032c45763ee in QCoreApplication::notifyInternal (this=0x7fff8016d820, receiver=0x2e3b6d0, event=0x7fff8016c860) at kernel/qcoreapplication.cpp:915
#16 0x00000032c8615814 in sendSpontaneousEvent (event=0x7fff8016c860, receiver=0x2e3b6d0) at ../../src/corelib/kernel/qcoreapplication.h:234
#17 QWidgetPrivate::drawWidget (this=0x2e383a0, pdev=0x2e59f30, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0x20179a0) at kernel/qwidget.cpp:5594
#18 0x00000032c87deded in QWidgetBackingStore::sync (this=0x20179a0) at painting/qbackingstore.cpp:1365
#19 0x00000032c860a340 in QWidgetPrivate::syncBackingStore (this=this@entry=0x2099c70) at kernel/qwidget.cpp:1892
#20 0x00000032c861a14c in QWidget::event (this=0x20c6cd0, event=0x4187690) at kernel/qwidget.cpp:8664
#21 0x00000032c89dd02b in QMainWindow::event (this=0x20c6cd0, event=0x4187690) at widgets/qmainwindow.cpp:1478
#22 0x00000032cb937c88 in KXmlGuiWindow::event (this=0x20c6cd0, ev=0x4187690) at /usr/src/debug/kdelibs-4.8.5/kdeui/xmlgui/kxmlguiwindow.cpp:126
#23 0x00000032c85ca37c in QApplicationPrivate::notify_helper (this=this@entry=0x202c580, receiver=receiver@entry=0x20c6cd0, e=e@entry=0x4187690) at kernel/qapplication.cpp:4551
#24 0x00000032c85ce7fa in QApplication::notify (this=0x7fff8016d820, receiver=0x20c6cd0, e=0x4187690) at kernel/qapplication.cpp:4412
#25 0x00000032cb8462b6 in KApplication::notify (this=0x7fff8016d820, receiver=0x20c6cd0, event=0x4187690) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#26 0x00000032c45763ee in QCoreApplication::notifyInternal (this=0x7fff8016d820, receiver=receiver@entry=0x20c6cd0, event=event@entry=0x4187690) at kernel/qcoreapplication.cpp:915
#27 0x00000032c4579ea1 in sendEvent (event=0x4187690, receiver=0x20c6cd0) at kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1ff4600) at kernel/qcoreapplication.cpp:1539
#29 0x00000032c45a4353 in sendPostedEvents () at kernel/qcoreapplication.h:236
#30 postEventSourceDispatch (s=s@entry=0x2028c90) at kernel/qeventdispatcher_glib.cpp:279
#31 0x00000032bbc47695 in g_main_dispatch (context=0x202d140) at gmain.c:2539
#32 g_main_context_dispatch (context=context@entry=0x202d140) at gmain.c:3075
#33 0x00000032bbc479c8 in g_main_context_iterate (context=context@entry=0x202d140, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146
#34 0x00000032bbc47a84 in g_main_context_iteration (context=0x202d140, may_block=1) at gmain.c:3207
#35 0x00000032c45a44e6 in QEventDispatcherGlib::processEvents (this=0x1ff5ee0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#36 0x00000032c866a2ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#37 0x00000032c457513f in QEventLoop::processEvents (this=this@entry=0x7fff8016d690, flags=...) at kernel/qeventloop.cpp:149
#38 0x00000032c45753c8 in QEventLoop::exec (this=0x7fff8016d690, flags=...) at kernel/qeventloop.cpp:204
#39 0x00000032c457a1b8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#40 0x0000000000403459 in main (argc=1, argv=0x7fff8016d968) at /usr/src/debug/kdepim-4.8.5/kontact/src/main.cpp:218

Possible duplicates by query: bug 303687, bug 299257, bug 288923, bug 288152, bug 287245.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-08-22 19:11:59 UTC

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