Bug 349696 - Akonadi/KF5 hit assert while running in background
Summary: Akonadi/KF5 hit assert while running in background
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Kolab Resource (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-06-28 19:16 UTC by Andreas Cord-Landwehr
Modified: 2020-12-24 12:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Cord-Landwehr 2015-06-28 19:16:06 UTC
Application: akonadi_kolab_resource (4.83.0)
 (Compiled from sources)
Qt Version: 5.4.2
Operating System: Linux 3.16.0-4-amd64 x86_64
Distribution: Debian GNU/Linux testing (stretch)

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

Akonadi runs with an IMAP and a Kolab resource in background, then crash happend.

-- Backtrace:
Application: Akonadi Resource (akonadi_kolab_resource), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0ceafd6900 (LWP 6047))]

Thread 3 (Thread 0x7f0ce5ce5700 (LWP 8241)):
#0  0x00007f0d02653add in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f0cf14032f0 in read (__nbytes=16, __buf=0x7f0ce5ce49e0, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0xc0c2b0) at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gwakeup.c:210
#3  0x00007f0cf13bf96c in g_main_context_check (context=context@entry=0x7f0cd8169650, max_priority=2147483647, fds=fds@entry=0x7f0cd8007a30, n_fds=n_fds@entry=1) at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gmain.c:3600
#4  0x00007f0cf13bfe60 in g_main_context_iterate (context=context@entry=0x7f0cd8169650, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gmain.c:3805
#5  0x00007f0cf13bffcc in g_main_context_iteration (context=0x7f0cd8169650, may_block=1) at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gmain.c:3869
#6  0x00007f0cfa325fbb in QEventDispatcherGlib::processEvents (this=0x7f0cd817f9b0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#7  0x00007f0cfa2a9962 in QEventLoop::processEvents (this=0x7f0ce5ce4c60, flags=...) at kernel/qeventloop.cpp:128
#8  0x00007f0cfa2a9c3b in QEventLoop::exec (this=0x7f0ce5ce4c60, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f0cfa02d80e in QThread::exec (this=0xd15a50) at thread/qthread.cpp:503
#10 0x00007f0cfa02d9b0 in QThread::run (this=0xd15a50) at thread/qthread.cpp:570
#11 0x00007f0cfa034d39 in QThreadPrivate::start (arg=0xd15a50) at thread/qthread_unix.cpp:337
#12 0x00007f0d0264d0a4 in start_thread (arg=0x7f0ce5ce5700) at pthread_create.c:309
#13 0x00007f0cf949804d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f0ce54e4700 (LWP 8243)):
#0  0x00007f0cf948f50d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f0cf13bfebc in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f0cdc003170, timeout=-1, context=0x7f0cdc0030b0) at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gmain.c:4103
#2  g_main_context_iterate (context=context@entry=0x7f0cdc0030b0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gmain.c:3803
#3  0x00007f0cf13bffcc in g_main_context_iteration (context=0x7f0cdc0030b0, may_block=1) at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gmain.c:3869
#4  0x00007f0cfa325fbb in QEventDispatcherGlib::processEvents (this=0x7f0cdc0046b0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f0cfa2a9962 in QEventLoop::processEvents (this=0x7f0ce54e3c60, flags=...) at kernel/qeventloop.cpp:128
#6  0x00007f0cfa2a9c3b in QEventLoop::exec (this=0x7f0ce54e3c60, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f0cfa02d80e in QThread::exec (this=0xd17fc0) at thread/qthread.cpp:503
#8  0x00007f0cfa02d9b0 in QThread::run (this=0xd17fc0) at thread/qthread.cpp:570
#9  0x00007f0cfa034d39 in QThreadPrivate::start (arg=0xd17fc0) at thread/qthread_unix.cpp:337
#10 0x00007f0d0264d0a4 in start_thread (arg=0x7f0ce54e4700) at pthread_create.c:309
#11 0x00007f0cf949804d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f0ceafd6900 (LWP 6047)):
[KCrash Handler]
#6  0x00007f0cf93e7107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f0cf93e84e8 in __GI_abort () at abort.c:89
#8  0x00007f0cfa021266 in qt_message_fatal (context=..., message=...) at global/qlogging.cpp:1422
#9  0x00007f0cfa01dc06 in QMessageLogger::fatal (this=0x7ffd370f1450, msg=0x7f0cfa386a08 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:643
#10 0x00007f0cfa017b52 in qt_assert (assertion=0x7f0d0092aed6 "!mCurrentCollectionFetchJob", file=0x7f0d00928648 "/opt/kde/src/kde/kdepimlibs/akonadi/src/agentbase/resourcebase.cpp", line=968) at global/qglobal.cpp:2868
#11 0x00007f0d0090c878 in Akonadi::ResourceBasePrivate::slotSynchronizeCollectionAttributes (this=0xc80240, col=...) at /opt/kde/src/kde/kdepimlibs/akonadi/src/agentbase/resourcebase.cpp:968
#12 0x00007f0d00910373 in Akonadi::ResourceBase::qt_static_metacall (_o=0xc87ae0, _c=QMetaObject::InvokeMetaMethod, _id=26, _a=0x7ffd370f16c0) at /opt/kde/build/kde/kdepimlibs/akonadi/src/agentbase/moc_resourcebase.cpp:278
#13 0x00007f0cfa2f0115 in QMetaObject::activate (sender=0xcd6830, signalOffset=3, local_signal_index=1, argv=0x7ffd370f16c0) at kernel/qobject.cpp:3717
#14 0x00007f0cfa2ef922 in QMetaObject::activate (sender=0xcd6830, m=0x7f0d00b46d00 <Akonadi::ResourceScheduler::staticMetaObject>, local_signal_index=1, argv=0x7ffd370f16c0) at kernel/qobject.cpp:3582
#15 0x00007f0d0091a74d in Akonadi::ResourceScheduler::executeCollectionAttributesSync (this=0xcd6830, _t1=...) at /opt/kde/build/kde/kdepimlibs/akonadi/src/agentbase/moc_resourcescheduler_p.cpp:355
#16 0x00007f0d00917acf in Akonadi::ResourceScheduler::executeNext (this=0xcd6830) at /opt/kde/src/kde/kdepimlibs/akonadi/src/agentbase/resourcescheduler.cpp:359
#17 0x00007f0d0091a11a in Akonadi::ResourceScheduler::qt_static_metacall (_o=0xcd6830, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0xdc2e30) at /opt/kde/build/kde/kdepimlibs/akonadi/src/agentbase/moc_resourcescheduler_p.cpp:175
#18 0x00007f0cfa2e860d in QMetaCallEvent::placeMetaCall (this=0xdafa80, object=0xcd6830) at kernel/qobject.cpp:485
#19 0x00007f0cfa2e96d6 in QObject::event (this=0xcd6830, e=0xdafa80) at kernel/qobject.cpp:1245
#20 0x00007f0cfadf468c in QApplicationPrivate::notify_helper (this=0xbd27d0, receiver=0xcd6830, e=0xdafa80) at kernel/qapplication.cpp:3720
#21 0x00007f0cfadf1e08 in QApplication::notify (this=0x7ffd370f27d0, receiver=0xcd6830, e=0xdafa80) at kernel/qapplication.cpp:3164
#22 0x00007f0cfa2accbe in QCoreApplication::notifyInternal (this=0x7ffd370f27d0, receiver=0xcd6830, event=0xdafa80) at kernel/qcoreapplication.cpp:935
#23 0x00007f0cfa2b091f in QCoreApplication::sendEvent (receiver=0xcd6830, event=0xdafa80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#24 0x00007f0cfa2adff7 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xba5080) at kernel/qcoreapplication.cpp:1552
#25 0x00007f0cfa2ad9a6 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1410
#26 0x00007f0cfa3257e0 in postEventSourceDispatch (s=0xc12470) at kernel/qeventdispatcher_glib.cpp:271
#27 0x00007f0cf13bfc3d in g_main_dispatch (context=0x7f0ce0002450) at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gmain.c:3122
#28 g_main_context_dispatch (context=context@entry=0x7f0ce0002450) at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gmain.c:3737
#29 0x00007f0cf13bff20 in g_main_context_iterate (context=context@entry=0x7f0ce0002450, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gmain.c:3808
#30 0x00007f0cf13bffcc in g_main_context_iteration (context=0x7f0ce0002450, may_block=1) at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gmain.c:3869
#31 0x00007f0cfa325f9b in QEventDispatcherGlib::processEvents (this=0xc14a70, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#32 0x00007f0ceadb83ce in QPAEventDispatcherGlib::processEvents (this=0xc14a70, flags=...) at eventdispatchers/qeventdispatcher_glib.cpp:115
#33 0x00007f0cfa2a9962 in QEventLoop::processEvents (this=0x7ffd370f26e0, flags=...) at kernel/qeventloop.cpp:128
#34 0x00007f0cfa2a9c3b in QEventLoop::exec (this=0x7ffd370f26e0, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007f0cfa2ad398 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#36 0x00007f0cfa6afdb0 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1507
#37 0x00007f0cfadf1635 in QApplication::exec () at kernel/qapplication.cpp:2956
#38 0x00007f0d00909a48 in Akonadi::ResourceBase::init (r=0xc87ae0) at /opt/kde/src/kde/kdepimlibs/akonadi/src/agentbase/resourcebase.cpp:589
#39 0x00000000004c63a8 in Akonadi::ResourceBase::init<KolabResource> (argc=3, argv=0x7ffd370f2928) at /opt/kde/install/kf5/include/KF5/AkonadiAgentBase/resourcebase.h:192
#40 0x00000000004c502a in main (argc=3, argv=0x7ffd370f2928) at /opt/kde/src/kde/kdepim-runtime/resources/kolab/kolabresource.cpp:234

Possible duplicates by query: bug 349543, bug 349162, bug 348793, bug 348124, bug 347880.

Reported using DrKonqi
Comment 1 Lukáš Karas 2015-11-03 10:03:35 UTC
This bug affects akonadi_imap_resource too. But I don't known how to reproduce. It appears when akonadi run on background...

I have kdepim-runtime compiled from source, my HEAD is 567584ea66a820d9a2333e69fbf5bb0c6bfd31ce

Application: akonadi_imap_resource (akonadi_imap_resource), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4706c0e840 (LWP 13241))]

Thread 7 (Thread 0x7f470496d700 (LWP 13242)):
#0  0x00007f47158888dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f4711e5ebd2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f4711e6074f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f4706894a39 in QXcbEventReader::run (this=0x1b7d310) at qxcbconnection.cpp:1105
#4  0x00007f47161922be in QThreadPrivate::start (arg=0x1b7d310) at thread/qthread_unix.cpp:337
#5  0x00007f47128596aa in start_thread (arg=0x7f470496d700) at pthread_create.c:333
#6  0x00007f4715893eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f46ff2cb700 (LWP 13243)):
#0  0x00007f471177e860 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f4711739789 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f471173a11b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f471173a2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f47163c929b in QEventDispatcherGlib::processEvents (this=0x7f46f80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f471636f75a in QEventLoop::exec (this=this@entry=0x7f46ff2cad80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f471618d3d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f47161922be in QThreadPrivate::start (arg=0x1c085d0) at thread/qthread_unix.cpp:337
#8  0x00007f47128596aa in start_thread (arg=0x7f46ff2cb700) at pthread_create.c:333
#9  0x00007f4715893eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f46feaca700 (LWP 13245)):
#0  0x00007f471588449d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f471177d4e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4711739cd4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f471173a190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f471173a2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f47163c929b in QEventDispatcherGlib::processEvents (this=0x7f46f00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#6  0x00007f471636f75a in QEventLoop::exec (this=this@entry=0x7f46feac9d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007f471618d3d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#8  0x00007f47161922be in QThreadPrivate::start (arg=0x1c00860) at thread/qthread_unix.cpp:337
#9  0x00007f47128596aa in start_thread (arg=0x7f46feaca700) at pthread_create.c:333
#10 0x00007f4715893eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f46fd8b9700 (LWP 13247)):
#0  0x00007f47158888dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f471173a1ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f471173a2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f47163c929b in QEventDispatcherGlib::processEvents (this=0x7f46f40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f471636f75a in QEventLoop::exec (this=this@entry=0x7f46fd8b8d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f471618d3d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f47161922be in QThreadPrivate::start (arg=0x1c40470) at thread/qthread_unix.cpp:337
#7  0x00007f47128596aa in start_thread (arg=0x7f46fd8b9700) at pthread_create.c:333
#8  0x00007f4715893eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f46ede1d700 (LWP 13759)):
#0  0x00007fff31b6592b in clock_gettime ()
#1  0x00007f47158a238d in __GI___clock_gettime (clock_id=<optimized out>, tp=tp@entry=0x7f46ede1caf0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f47162433a6 in qt_clock_gettime (ts=0x7f46ede1caf0, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:161
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:170
#5  0x00007f47163c6d29 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f46e401ef60) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007f47163c7295 in QTimerInfoList::timerWait (this=0x7f46e401ef60, tm=...) at kernel/qtimerinfo_unix.cpp:379
#7  0x00007f47163c867e in timerSourcePrepareHelper (timeout=0x7f46ede1cbc4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7f46ede1cbc4) at kernel/qeventdispatcher_glib.cpp:160
#9  0x00007f471173977d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f471173a11b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f471173a2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f47163c929b in QEventDispatcherGlib::processEvents (this=0x7f46e4004100, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#13 0x00007f471636f75a in QEventLoop::exec (this=this@entry=0x7f46ede1cd80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f471618d3d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#15 0x00007f47161922be in QThreadPrivate::start (arg=0x1cad470) at thread/qthread_unix.cpp:337
#16 0x00007f47128596aa in start_thread (arg=0x7f46ede1d700) at pthread_create.c:333
#17 0x00007f4715893eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f46ef7fe700 (LWP 8554)):
#0  0x00007f4711737261 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f4711739b4a in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f471173a190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f471173a2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f47163c929b in QEventDispatcherGlib::processEvents (this=0x7f46e0011590, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f471636f75a in QEventLoop::exec (this=this@entry=0x7f46ef7fdd80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f471618d3d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f47161922be in QThreadPrivate::start (arg=0x2003930) at thread/qthread_unix.cpp:337
#8  0x00007f47128596aa in start_thread (arg=0x7f46ef7fe700) at pthread_create.c:333
#9  0x00007f4715893eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f4706c0e840 (LWP 13241)):
[KCrash Handler]
#6  0x00007f47157c2267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f47157c3eca in __GI_abort () at abort.c:89
#8  0x00007f471617fc88 in qt_message_fatal (context=..., message=...) at global/qlogging.cpp:1422
#9  QMessageLogger::fatal (this=this@entry=0x7fff31b48390, msg=msg@entry=0x7f4716437160 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:643
#10 0x00007f471617adce in qt_assert (assertion=<optimized out>, file=<optimized out>, line=<optimized out>) at global/qglobal.cpp:2868
#11 0x00007f47188a3b4f in Akonadi::ResourceBasePrivate::slotSynchronizeCollectionAttributes (this=0x1bddde0, col=...) at /var/btrfs/@src/kdepimlibs/akonadi/src/agentbase/resourcebase.cpp:974
#12 0x00007f47188a7a7a in Akonadi::ResourceBase::qt_static_metacall (_o=0x1bdf130, _c=QMetaObject::InvokeMetaMethod, _id=26, _a=0x7fff31b485b0) at /var/btrfs/@src/kdepimlibs/myBuild/akonadi/src/agentbase/moc_resourcebase.cpp:278
#13 0x00007f47163a278a in QMetaObject::activate (sender=0x1c16780, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3717
#14 0x00007f47188b47f6 in Akonadi::ResourceScheduler::executeCollectionAttributesSync (this=0x1c16780, _t1=...) at /var/btrfs/@src/kdepimlibs/myBuild/akonadi/src/agentbase/moc_resourcescheduler_p.cpp:355
#15 0x00007f47188b1907 in Akonadi::ResourceScheduler::executeNext (this=0x1c16780) at /var/btrfs/@src/kdepimlibs/akonadi/src/agentbase/resourcescheduler.cpp:359
#16 0x00007f47188aef05 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (Akonadi::ResourceScheduler::*)()>::call(void (Akonadi::ResourceScheduler::*)(), Akonadi::ResourceScheduler*, void**) (f=(void (Akonadi::ResourceScheduler::*)(Akonadi::ResourceScheduler * const)) 0x7f47188b166e <Akonadi::ResourceScheduler::executeNext()>, o=0x1c16780, arg=0x7fff31b487f0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:500
#17 0x00007f47188ae7f2 in QtPrivate::FunctionPointer<void (Akonadi::ResourceScheduler::*)()>::call<QtPrivate::List<>, void>(void (Akonadi::ResourceScheduler::*)(), Akonadi::ResourceScheduler*, void**) (f=(void (Akonadi::ResourceScheduler::*)(Akonadi::ResourceScheduler * const)) 0x7f47188b166e <Akonadi::ResourceScheduler::executeNext()>, o=0x1c16780, arg=0x7fff31b487f0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:519
#18 0x00007f47188ada35 in QtPrivate::QSlotObject<void (Akonadi::ResourceScheduler::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x2867b00, r=0x1c16780, a=0x7fff31b487f0, ret=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:143
#19 0x00007f47163aeeb8 in QtPrivate::QSlotObjectBase::call (a=0x7fff31b487f0, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#20 QSingleShotTimer::timerEvent (this=0x1ce1570) at kernel/qtimer.cpp:315
#21 0x00007f47163a3603 in QObject::event (this=0x1ce1570, e=<optimized out>) at kernel/qobject.cpp:1267
#22 0x00007f4716c3fb8c in QApplicationPrivate::notify_helper (this=this@entry=0x1b66830, receiver=receiver@entry=0x1ce1570, e=e@entry=0x7fff31b48ad0) at kernel/qapplication.cpp:3720
#23 0x00007f4716c45230 in QApplication::notify (this=0x7fff31b48dd0, receiver=0x1ce1570, e=0x7fff31b48ad0) at kernel/qapplication.cpp:3503
#24 0x00007f4716371f1b in QCoreApplication::notifyInternal (this=0x7fff31b48dd0, receiver=0x1ce1570, event=event@entry=0x7fff31b48ad0) at kernel/qcoreapplication.cpp:935
#25 0x00007f47163c809d in QCoreApplication::sendEvent (event=0x7fff31b48ad0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#26 QTimerInfoList::activateTimers (this=0x1b9dd10) at kernel/qtimerinfo_unix.cpp:635
#27 0x00007f47163c85a1 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177
#28 0x00007f4711739ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f471173a250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f471173a2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f47163c927f in QEventDispatcherGlib::processEvents (this=0x1b9c2a0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#32 0x00007f471636f75a in QEventLoop::exec (this=this@entry=0x7fff31b48d10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#33 0x00007f47163772cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#34 0x00007f47188a0b8c in Akonadi::ResourceBase::init (r=0x1bdf130) at /var/btrfs/@src/kdepimlibs/akonadi/src/agentbase/resourcebase.cpp:606
#35 0x000000000048dcf4 in Akonadi::ResourceBase::init<ImapResource> (argc=3, argv=0x7fff31b48f08) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:196
#36 0x000000000048db66 in main (argc=3, argv=0x7fff31b48f08) at /var/btrfs/@src/kdepim-runtime/resources/imap/main.cpp:22
Comment 2 Milian Wolff 2016-01-21 20:02:54 UTC
I also hit this frequently with an IMAP resource:

Application: akonadi_imap_resource (akonadi_imap_resource), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0187ccb840 (LWP 12021))]

Thread 10 (Thread 0x7f01867e5700 (LWP 12024)):
#0  0x00007f019791818d in poll () from /usr/lib/libc.so.6
#1  0x00007f0191fa5ae2 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f0191fa7757 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007f01878d6379 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f0198517b8e in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007f0193aa84a4 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f019792113d in clone () from /usr/lib/libc.so.6

Thread 9 (Thread 0x7f0185510700 (LWP 12030)):
#0  0x00007f019791818d in poll () from /usr/lib/libc.so.6
#1  0x00007f0191881fbc in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f01918820cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f019874f56b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f01986f657a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f0198512be4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f0198517b8e in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007f0193aa84a4 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f019792113d in clone () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7f0184d0f700 (LWP 12032)):
#0  0x00007f01918c6614 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0
#1  0x00007f0191881fb1 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f01918820cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f019874f56b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f01986f657a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f0198512be4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f0198517b8e in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007f0193aa84a4 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f019792113d in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7f01775ef700 (LWP 12043)):
#0  0x00007f0191881658 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#1  0x00007f0191881eeb in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f01918820cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f019874f56b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f01986f657a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f0198512be4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f0198517b8e in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007f0193aa84a4 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f019792113d in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7f0176dee700 (LWP 12051)):
#0  0x00007f019850fcda in QMutex::lock() () from /usr/lib/libQt5Core.so.5
#1  0x00007f019874edc9 in ?? () from /usr/lib/libQt5Core.so.5
#2  0x00007f01918819f1 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0x00007f0191881f60 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007f01918820cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0x00007f019874f56b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007f01986f657a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#7  0x00007f0198512be4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#8  0x00007f0198517b8e in ?? () from /usr/lib/libQt5Core.so.5
#9  0x00007f0193aa84a4 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f019792113d in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7f01765ed700 (LWP 24942)):
#0  0x00007f019791818d in poll () from /usr/lib/libc.so.6
#1  0x00007f0191881fbc in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f01918820cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f019874f56b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f01986f657a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f0198512be4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f0198517b8e in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007f0193aa84a4 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f019792113d in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7f01647b4700 (LWP 25381)):
#0  0x00007ffd22f4a990 in ?? ()
#1  0x00007ffd22f4acb5 in clock_gettime ()
#2  0x00007f019792dd36 in clock_gettime () from /usr/lib/libc.so.6
#3  0x00007f01985c8256 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f019874cfe9 in QTimerInfoList::updateCurrentTime() () from /usr/lib/libQt5Core.so.5
#5  0x00007f019874d555 in QTimerInfoList::timerWait(timespec&) () from /usr/lib/libQt5Core.so.5
#6  0x00007f019874e94e in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007f019188154d in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#8  0x00007f0191881eeb in ?? () from /usr/lib/libglib-2.0.so.0
#9  0x00007f01918820cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#10 0x00007f019874f56b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#11 0x00007f01986f657a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#12 0x00007f0198512be4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#13 0x00007f0198517b8e in ?? () from /usr/lib/libQt5Core.so.5
#14 0x00007f0193aa84a4 in start_thread () from /usr/lib/libpthread.so.0
#15 0x00007f019792113d in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f0163d1c700 (LWP 27947)):
#0  0x00007f01918c65f9 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
#1  0x00007f0191881427 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0x00007f0191881eeb in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007f01918820cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007f019874f56b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f01986f657a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007f0198512be4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#7  0x00007f0198517b8e in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f0193aa84a4 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f019792113d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f016351b700 (LWP 27948)):
#0  0x00007f0193aae428 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f0198518d66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f0198514813 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007f0198517b8e in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f0193aa84a4 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f019792113d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f0187ccb840 (LWP 12021)):
[KCrash Handler]
#6  0x00007f019786b5f8 in raise () from /usr/lib/libc.so.6
#7  0x00007f019786ca7a in abort () from /usr/lib/libc.so.6
#8  0x00007f01985051e1 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/libQt5Core.so.5
#9  0x00007f019850034e in qt_assert(char const*, char const*, int) () from /usr/lib/libQt5Core.so.5
#10 0x00007f019ad33354 in Akonadi::ResourceBasePrivate::slotSynchronizeCollectionAttributes (this=0x889510, col=...) at /home/milian/projects/kf5/src/kde/pim/akonadi/src/agentbase/resourcebase.cpp:979
#11 0x00007f019ad37854 in Akonadi::ResourceBase::qt_static_metacall (_o=0x88ac60, _c=QMetaObject::InvokeMetaMethod, _id=26, _a=0x7ffd22f14240) at /home/milian/projects/kf5/build/kde/pim/akonadi/src/agentbase/moc_resourcebase.cpp:279
#12 0x00007f019872731a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#13 0x00007f019ad4446f in Akonadi::ResourceScheduler::executeCollectionAttributesSync (this=0x8aad90, _t1=...) at /home/milian/projects/kf5/build/kde/pim/akonadi/src/agentbase/moc_resourcescheduler_p.cpp:356
#14 0x00007f019ad438fe in Akonadi::ResourceScheduler::executeNext (this=0x8aad90) at /home/milian/projects/kf5/src/kde/pim/akonadi/src/agentbase/resourcescheduler.cpp:359
#15 0x00007f019ad3ef2a in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (Akonadi::ResourceScheduler::*)()>::call(void (Akonadi::ResourceScheduler::*)(), Akonadi::ResourceScheduler*, void**) (f=(void (Akonadi::ResourceScheduler::*)(Akonadi::ResourceScheduler * const)) 0x7f019ad435f0 <Akonadi::ResourceScheduler::executeNext()>, o=0x8aad90, arg=0x7ffd22f147d0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:501
#16 0x00007f019ad3eea0 in QtPrivate::FunctionPointer<void (Akonadi::ResourceScheduler::*)()>::call<QtPrivate::List<>, void>(void (Akonadi::ResourceScheduler::*)(), Akonadi::ResourceScheduler*, void**) (f=(void (Akonadi::ResourceScheduler::*)(Akonadi::ResourceScheduler * const)) 0x7f019ad435f0 <Akonadi::ResourceScheduler::executeNext()>, o=0x8aad90, arg=0x7ffd22f147d0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:520
#17 0x00007f019ad3edd6 in QtPrivate::QSlotObject<void (Akonadi::ResourceScheduler::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0xdce730, r=0x8aad90, a=0x7ffd22f147d0, ret=0x0) at /usr/include/qt/QtCore/qobject_impl.h:143
#18 0x00007f0198733f78 in ?? () from /usr/lib/libQt5Core.so.5
#19 0x00007f0198728193 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#20 0x00007f0198feb9ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#21 0x00007f0198ff0e86 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#22 0x00007f01986f8bab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#23 0x00007f019874e36d in QTimerInfoList::activateTimers() () from /usr/lib/libQt5Core.so.5
#24 0x00007f019874e871 in ?? () from /usr/lib/libQt5Core.so.5
#25 0x00007f0191881dc7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0x00007f0191882020 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0x00007f01918820cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0x00007f019874f54f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#29 0x00007f01986f657a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#30 0x00007f01986fe53c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#31 0x00007f019ad2fb9a in Akonadi::ResourceBase::init (r=0x88ac60) at /home/milian/projects/kf5/src/kde/pim/akonadi/src/agentbase/resourcebase.cpp:605
#32 0x00000000004705cf in Akonadi::ResourceBase::init<ImapResource> (argc=3, argv=0x7ffd22f14f08) at /home/milian/projects/compiled/kf5/include/KF5/AkonadiAgentBase/resourcebase.h:196
#33 0x00000000004704b2 in main (argc=3, argv=0x7ffd22f14f08) at /home/milian/projects/kf5/src/kde/kdepim-runtime/resources/imap/main.cpp:22
Comment 3 Justin Zobel 2020-12-17 05:23:02 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 4 Andreas Cord-Landwehr 2020-12-24 12:58:53 UTC
Thanks for cleaning up the old reports!
Since I did not see this assert over the last few years, let's close it.