Bug 246795

Summary: akonadi crashed when starting kmail
Product: [Frameworks and Libraries] Akonadi Reporter: Nicolas L. <kde>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nicolas L. 2010-08-05 13:07:44 UTC
Application: akonadi_imap_resource (0.1)
KDE Platform Version: 4.4.93 (KDE 4.4.93 (KDE 4.5 >= 20100713))
Qt Version: 4.7.0
Operating System: Linux 2.6.33.4-desktop-3mnb i686
Distribution: "Mandriva Linux 2010.1"

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

I was starting kmail and then akonadi crashed. Kmail started OK.

I didn't reproduced it for the moment.

-- Backtrace:
Application: Akonadi Resource (akonadi_imap_resource), signal: Aborted
[Current thread is 1 (Thread 0xb4bfeae0 (LWP 15349))]

Thread 3 (Thread 0xb2701b70 (LWP 3722)):
#0  0xb5756036 in clock_gettime (clock_id=1, tp=0xb2701050) at ../sysdeps/unix/clock_gettime.c:100
#1  0xb726b534 in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0xb7347596 in QTimerInfoList::updateCurrentTime (this=0x889f3dc) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb73475de in QTimerInfoList::timerWait (this=0x889f3dc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb734566b in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb270115c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb734570d in timerSourcePrepare (source=0x0, timeout=0xb5759ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb56b51e1 in IA__g_main_context_prepare (context=0x8861e48, priority=0xb27011cc) at gmain.c:2280
#8  0xb56b55c9 in g_main_context_iterate (context=0x8861e48, block=<value optimized out>, dispatch=1, self=0x893df78) at gmain.c:2571
#9  0xb56b5b9e in IA__g_main_context_iteration (context=0x8861e48, may_block=1) at gmain.c:2654
#10 0xb734546f in QEventDispatcherGlib::processEvents (this=0x87a7238, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0xb731465d in QEventLoop::processEvents (this=0xb27012f0, flags=) at kernel/qeventloop.cpp:149
#12 0xb7314ae9 in QEventLoop::exec (this=0xb27012f0, flags=...) at kernel/qeventloop.cpp:201
#13 0xb720a5eb in QThread::exec (this=0x889e530) at thread/qthread.cpp:490
#14 0xb65660c1 in KIMAP::SessionThread::run (this=0x889e530) at /home/niconico/SVN/branch/4.5/kdepimlibs/kimap/sessionthread.cpp:167
#15 0xb720d9ca in QThreadPrivate::start (arg=0x889e530) at thread/qthread_unix.cpp:266
#16 0xb7199ae5 in start_thread () from /lib/i686/libpthread.so.0
#17 0xb58a803e in clone () from /lib/i686/libc.so.6

Thread 2 (Thread 0xb14c8b70 (LWP 3723)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb719dfa2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb720e5ac in wait (this=0x889b99c, mutex=0x889b998, time=30000) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x889b99c, mutex=0x889b998, time=30000) at thread/qwaitcondition_unix.cpp:160
#4  0xb72031f6 in QThreadPoolThread::run (this=0x88998e0) at concurrent/qthreadpool.cpp:140
#5  0xb720d9ca in QThreadPrivate::start (arg=0x88998e0) at thread/qthread_unix.cpp:266
#6  0xb7199ae5 in start_thread () from /lib/i686/libpthread.so.0
#7  0xb58a803e in clone () from /lib/i686/libc.so.6

Thread 1 (Thread 0xb4bfeae0 (LWP 15349)):
[KCrash Handler]
#7  0xffffe424 in __kernel_vsyscall ()
#8  0xb57f9a81 in raise () from /lib/i686/libc.so.6
#9  0xb57fb3d2 in abort () from /lib/i686/libc.so.6
#10 0xb72047a4 in qt_message_output (msgType=QtFatalMsg, buf=0x6 <Address 0x6 out of bounds>) at global/qglobal.cpp:2271
#11 0xb72049c3 in qt_message (msgType=QtFatalMsg, msg=0xb7384b1c "ASSERT: \"%s\" in file %s, line %d", ap=0xbfe4c604 "\232\370b\267p\366b\267\377") at global/qglobal.cpp:2317
#12 0xb7204ae8 in qFatal (msg=0xb7384b1c "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2500
#13 0xb7204b75 in qt_assert (assertion=0xb762f89a "!localNode->processed", file=0xb762f670 "/home/niconico/SVN/branch/4.5/kdepimlibs/akonadi/collectionsync.cpp", line=255) at global/qglobal.cpp:2016
#14 0xb75716e0 in Akonadi::CollectionSync::Private::processPendingRemoteNodes (this=0x88ec808, _localRoot=0x88b3900) at /home/niconico/SVN/branch/4.5/kdepimlibs/akonadi/collectionsync.cpp:255
#15 0xb7572362 in Akonadi::CollectionSync::Private::execute (this=0x88ec808) at /home/niconico/SVN/branch/4.5/kdepimlibs/akonadi/collectionsync.cpp:450
#16 0xb756d670 in Akonadi::CollectionSync::setRemoteCollections (this=0x87975d0, remoteCollections=...) at /home/niconico/SVN/branch/4.5/kdepimlibs/akonadi/collectionsync.cpp:555
#17 0xb75d8a67 in Akonadi::ResourceBase::collectionsRetrieved (this=0x880adf0, collections=...) at /home/niconico/SVN/branch/4.5/kdepimlibs/akonadi/resourcebase.cpp:385
#18 0x080626d5 in ImapResource::retrieveCollections (this=0x880adf0) at /home/niconico/SVN/branch/4.5/kdepim/runtime/resources/imap/imapresource.cpp:705
#19 0xb75d9c03 in Akonadi::ResourceBase::qt_metacall (this=0x880adf0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfe4ca0c)
    at /home/niconico/SVN/branch/4.5/kdepimlibs/build/akonadi/moc_resourcebase.cpp:111
#20 0x080653cf in ImapResource::qt_metacall (this=0x880adf0, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0xbfe4ca0c)
    at /home/niconico/SVN/branch/4.5/kdepim/build/runtime/resources/imap/imapresource.moc:163
#21 0xb731b9fd in QMetaObject::metacall (object=0x880adf0, cl=15349, idx=23, argv=0xbfe4ca0c) at kernel/qmetaobject.cpp:237
#22 0xb732ef1c in QMetaObject::activate (sender=0x880d028, m=0xb76b50b8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3272
#23 0xb75dbd87 in Akonadi::ResourceScheduler::executeFullSync (this=0x880d028) at /home/niconico/SVN/branch/4.5/kdepimlibs/build/akonadi/resourcescheduler_p.moc:124
#24 0xb75dd1d0 in Akonadi::ResourceScheduler::executeNext (this=0x880d028) at /home/niconico/SVN/branch/4.5/kdepimlibs/akonadi/resourcescheduler.cpp:241
#25 0xb75de583 in Akonadi::ResourceScheduler::qt_metacall (this=0x880d028, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x8940a08)
    at /home/niconico/SVN/branch/4.5/kdepimlibs/build/akonadi/resourcescheduler_p.moc:113
#26 0xb731b9fd in QMetaObject::metacall (object=0x880d028, cl=15349, idx=18, argv=0x8940a08) at kernel/qmetaobject.cpp:237
#27 0xb7327245 in QMetaCallEvent::placeMetaCall (this=0x8940458, object=0x880d028) at kernel/qobject.cpp:534
#28 0xb7329222 in QObject::event (this=0x880d028, e=0x6) at kernel/qobject.cpp:1211
#29 0xb67eceec in QApplicationPrivate::notify_helper (this=0x873c190, receiver=0x880d028, e=0x8940458) at kernel/qapplication.cpp:4389
#30 0xb67f4c88 in QApplication::notify (this=0xbfe4d480, receiver=0x880d028, e=0x8940458) at kernel/qapplication.cpp:4270
#31 0xb5f28f7b in KApplication::notify (this=0xbfe4d480, receiver=0x880d028, event=0x8940458) at /home/niconico/SVN/branch/4.5/kdelibs/kdeui/kernel/kapplication.cpp:309
#32 0xb7315bae in QCoreApplication::notifyInternal (this=0xbfe4d480, receiver=0x880d028, event=0x8940458) at kernel/qcoreapplication.cpp:732
#33 0xb7319e8c in sendEvent (receiver=0x0, event_type=0, data=0x87269d8) at kernel/qcoreapplication.h:215
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x87269d8) at kernel/qcoreapplication.cpp:1373
#35 0xb731a04c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#36 0xb7345944 in sendPostedEvents (s=0x873ef90) at kernel/qcoreapplication.h:220
#37 postEventSourceDispatch (s=0x873ef90) at kernel/qeventdispatcher_glib.cpp:277
#38 0xb56b1cbe in g_main_dispatch (context=0x873dd10) at gmain.c:1960
#39 IA__g_main_context_dispatch (context=0x873dd10) at gmain.c:2513
#40 0xb56b59f8 in g_main_context_iterate (context=0x873dd10, block=<value optimized out>, dispatch=1, self=0x8733c28) at gmain.c:2591
#41 0xb56b5b9e in IA__g_main_context_iteration (context=0x873dd10, may_block=1) at gmain.c:2654
#42 0xb7345421 in QEventDispatcherGlib::processEvents (this=0x873c170, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#43 0xb68af7ca in QGuiEventDispatcherGlib::processEvents (this=0x873c170, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0xb731465d in QEventLoop::processEvents (this=0xbfe4d3e4, flags=) at kernel/qeventloop.cpp:149
#45 0xb7314ae9 in QEventLoop::exec (this=0xbfe4d3e4, flags=...) at kernel/qeventloop.cpp:201
#46 0xb731a120 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#47 0xb67ebbd4 in QApplication::exec () at kernel/qapplication.cpp:3665
#48 0xb75d9ea3 in Akonadi::ResourceBase::init (r=0x880adf0) at /home/niconico/SVN/branch/4.5/kdepimlibs/akonadi/resourcebase.cpp:245
#49 0x080713f5 in Akonadi::ResourceBase::init<ImapResource> (argc=3, argv=0xbfe4d574) at /usr/include/akonadi/resourcebase.h:186
#50 0x0806602b in main (argc=3, argv=0xbfe4d574) at /home/niconico/SVN/branch/4.5/kdepim/runtime/resources/imap/imapresource.cpp:2068

Reported using DrKonqi
Comment 1 Volker Krause 2010-12-30 13:56:25 UTC

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