Bug 279024

Summary: crash after manual sync of inexplicably unsynced folder
Product: [Applications] kontact Reporter: Ivan D Vasin <ivan>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ivan D Vasin 2011-08-01 11:24:05 UTC
Application: kontact (4.7.0 )
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.2
Operating System: Linux 3.0.0-7-generic x86_64
Distribution: Ubuntu 11.04

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

i was running KMail 4.7.0 for the first time.  this was after clearing my ~/.kde and ~/.config/akonadi and ~/.local/akonadi (just in case).  i started Kontact and set up my identity, accounts, and other settings.  one of the accounts is configured as dIMAP.  while syncing the new accounts, which took a long time (on the order of an hour), viewing a message took about 10-20 seconds each time.

after the initial sync finished, i noticed that my primary account's inbox was empty, although in reality there are thousands of messages in it.  i restarted Kontact, which didn't help.  then i told Kontact specifically to update the inbox (via a context menu on it).  this seemed to do the trick, as it kicked off another long process.  when i returned much later to check the status, Kontact had crashed.

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

Thread 3 (Thread 0x7f99e9e0d700 (LWP 6459)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f99feae1832 in scavengerThread (context=0x7f99ff308f00) at wtf/FastMalloc.cpp:2378
#2  WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f99ff308f00) at wtf/FastMalloc.cpp:1497
#3  0x00007f99fa170d8c in start_thread (arg=0x7f99e9e0d700) at pthread_create.c:304
#4  0x00007f99ff66304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f99deb98700 (LWP 6542)):
#0  0x00007f99ff655f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f99f96a9104 in g_main_context_poll (context=0x1681df0, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3404
#2  g_main_context_iterate (context=0x1681df0, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3086
#3  0x00007f99f96a9639 in g_main_context_iteration (context=0x1681df0, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#4  0x00007f9a00a3e446 in QEventDispatcherGlib::processEvents (this=0x167bd00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f9a00a12882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f9a00a12abc in QEventLoop::exec (this=0x7f99deb97db0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f9a00929924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f9a009f4c2f in QInotifyFileSystemWatcherEngine::run (this=0x167f690) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f9a0092c175 in QThreadPrivate::start (arg=0x167f690) at thread/qthread_unix.cpp:320
#10 0x00007f99fa170d8c in start_thread (arg=0x7f99deb98700) at pthread_create.c:304
#11 0x00007f99ff66304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9a0208b7a0 (LWP 6444)):
[KCrash Handler]
#6  operator== (this=0x1818ba0) at /usr/include/qt4/QtCore/qbasicatomic.h:70
#7  data (this=0x1818ba0) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:565
#8  parent (this=0x1818ba0) at ../../libkdepim/progressmanager.h:61
#9  KPIM::ProgressItem::setComplete (this=0x1818ba0) at ../../libkdepim/progressmanager.cpp:56
#10 0x00007f99fd321589 in KPIM::AgentProgressMonitor::Private::instanceStatusChanged (this=0x18224a0, instance=...) at ../../libkdepim/agentprogressmonitor.cpp:87
#11 0x00007f99fd3216fa in KPIM::AgentProgressMonitor::qt_metacall (this=0x17f1fa0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff204a4770) at ./agentprogressmonitor.moc:78
#12 0x00007f9a00a285f8 in QMetaObject::activate (sender=0x11ef070, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff204a4770) at kernel/qobject.cpp:3287
#13 0x00007f99fc7ecba5 in Akonadi::AgentManager::instanceStatusChanged (this=<value optimized out>, _t1=<value optimized out>) at ./agentmanager.moc:177
#14 0x00007f99fc7f12ff in Akonadi::AgentManagerPrivate::agentInstanceStatusChanged (this=0x11eeb40, identifier=<value optimized out>, status=0, msg=...) at ../../akonadi/agentmanager.cpp:129
#15 0x00007f99fc7f37de in Akonadi::AgentManager::qt_metacall (this=0x11ef070, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff204a48e0) at ./agentmanager.moc:131
#16 0x00007f9a00a285f8 in QMetaObject::activate (sender=0x11ef010, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff204a48e0) at kernel/qobject.cpp:3287
#17 0x00007f99fc90e70b in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceStatusChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=0, _t3=<value optimized out>) at agentmanagerinterface.moc:285
#18 0x00007f99fc90eba1 in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0x11ef010, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff204a51b0) at agentmanagerinterface.moc:167
#19 0x00007f99fcbb69fa in QDBusConnectionPrivate::deliverCall (this=0xbefbd0, object=0x11ef010, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:942
#20 0x00007f99fcbc0e4f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#21 0x00007f9a00a2749a in QObject::event (this=0x11ef010, e=<value optimized out>) at kernel/qobject.cpp:1226
#22 0x00007f99ffdd09f4 in QApplicationPrivate::notify_helper (this=0xbfe8a0, receiver=0x11ef010, e=0x10e852e0) at kernel/qapplication.cpp:4462
#23 0x00007f99ffdd53ba in QApplication::notify (this=<value optimized out>, receiver=0x11ef010, e=0x10e852e0) at kernel/qapplication.cpp:4341
#24 0x00007f9a0143c796 in KApplication::notify (this=0x7fff204a5c00, receiver=0x11ef010, event=0x10e852e0) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007f9a00a1349c in QCoreApplication::notifyInternal (this=0x7fff204a5c00, receiver=0x11ef010, event=0x10e852e0) at kernel/qcoreapplication.cpp:731
#26 0x00007f9a00a16c25 in sendEvent (receiver=0x0, event_type=0, data=0xba7b90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xba7b90) at kernel/qcoreapplication.cpp:1372
#28 0x00007f9a00a3e253 in sendPostedEvents (s=0xc01160) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#29 postEventSourceDispatch (s=0xc01160) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00007f99f96a8bcd in g_main_dispatch (context=0xc01080) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#31 g_main_context_dispatch (context=0xc01080) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#32 0x00007f99f96a93a8 in g_main_context_iterate (context=0xc01080, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#33 0x00007f99f96a9639 in g_main_context_iteration (context=0xc01080, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#34 0x00007f9a00a3e3ef in QEventDispatcherGlib::processEvents (this=0xba7370, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#35 0x00007f99ffe7a4de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f9a00a12882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f9a00a12abc in QEventLoop::exec (this=0x7fff204a5b90, flags=...) at kernel/qeventloop.cpp:201
#38 0x00007f9a00a16ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#39 0x0000000000403ff8 in main (argc=3, argv=<value optimized out>) at ../../../kontact/src/main.cpp:218

This bug may be a duplicate of or related to bug 265076.

Possible duplicates by query: bug 277773, bug 270233, bug 257028.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-08-28 15:08:27 UTC

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