[Akonadi] [Bug 396663] Imap resource crashes when large amounts of emails is moved/deleted

S.Trzmiel bugzilla_noreply at kde.org
Mon Dec 3 12:53:22 GMT 2018


https://bugs.kde.org/show_bug.cgi?id=396663

--- Comment #5 from S.Trzmiel <xeno at x-s.com.pl> ---
(In reply to Christoph Feck from comment #4)
> Could akonadi_imap_resource link to KCrash to get a backtrace?
After update to Fedora 29/ KF5 5.52 KDE Apps 18.08.3 I finnaly managed to get
valid backtrace:

======================
Application: akonadi_imap_resource (akonadi_imap_resource), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
28        return SYSCALL_CANCEL (nanosleep, requested_time, remaining);
[Current thread is 1 (Thread 0x7fea2559d980 (LWP 7746))]

Thread 7 (Thread 0x7fea065ed700 (LWP 7759)):
#0  0x00007fea30ceef84 in __GI___libc_read (nbytes=16, buf=0x7fea065ec9f0,
fd=17) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007fea30ceef84 in __GI___libc_read (fd=17,
buf=buf at entry=0x7fea065ec9f0, nbytes=nbytes at entry=16) at
../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007fea26c0baa0 in read (__nbytes=16, __buf=0x7fea065ec9f0,
__fd=<optimized out>) at /usr/include/bits/unistd.h:44
#3  0x00007fea26c0baa0 in g_wakeup_acknowledge (wakeup=0x7fe9f8003d80) at
gwakeup.c:210
#4  0x00007fea26bc509b in g_main_context_check
(context=context at entry=0x7fe9fc000bf0, max_priority=2147483647,
fds=fds at entry=0x7fe9fc004db0, n_fds=n_fds at entry=1) at gmain.c:3698
#5  0x00007fea26bc5550 in g_main_context_iterate
(context=context at entry=0x7fe9fc000bf0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3917
#6  0x00007fea26bc56d0 in g_main_context_iteration (context=0x7fe9fc000bf0,
may_block=may_block at entry=1) at gmain.c:3981
#7  0x00007fea313a082b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fe9fc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#8  0x00007fea3134f17b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this at entry=0x7fea065ecc20, flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#9  0x00007fea311b7046 in QThread::exec() (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0x00007fea311c04bb in QThreadPrivate::start(void*) (arg=0x555839c37540) at
thread/qthread_unix.cpp:367
#11 0x00007fea2933558e in start_thread (arg=<optimized out>) at
pthread_create.c:486
#12 0x00007fea30cfe6a3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fea06dee700 (LWP 7753)):
#0  0x00007fea30cf3409 in __GI___poll (fds=0x7fe9f8003ce0, nfds=1,
timeout=10068) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fea26bc55a6 in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7fe9f8003ce0, timeout=<optimized out>, context=0x7fe9f8000bf0)
at gmain.c:4221
#2  0x00007fea26bc55a6 in g_main_context_iterate
(context=context at entry=0x7fe9f8000bf0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3915
#3  0x00007fea26bc56d0 in g_main_context_iteration (context=0x7fe9f8000bf0,
may_block=may_block at entry=1) at gmain.c:3981
#4  0x00007fea313a082b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fe9f8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fea3134f17b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this at entry=0x7fea06dedc20, flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007fea311b7046 in QThread::exec() (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007fea311c04bb in QThreadPrivate::start(void*) (arg=0x555839bef8a0) at
thread/qthread_unix.cpp:367
#8  0x00007fea2933558e in start_thread (arg=<optimized out>) at
pthread_create.c:486
#9  0x00007fea30cfe6a3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fea07fff700 (LWP 7750)):
#0  0x00007fea30cf3421 in __GI___poll (fds=0x7fea000049b0, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fea26bc55a6 in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7fea000049b0, timeout=<optimized out>, context=0x7fea00000bf0)
at gmain.c:4221
#2  0x00007fea26bc55a6 in g_main_context_iterate
(context=context at entry=0x7fea00000bf0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3915
#3  0x00007fea26bc56d0 in g_main_context_iteration (context=0x7fea00000bf0,
may_block=may_block at entry=1) at gmain.c:3981
#4  0x00007fea313a082b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fea00000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fea3134f17b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this at entry=0x7fea07ffec20, flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007fea311b7046 in QThread::exec() (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007fea311c04bb in QThreadPrivate::start(void*) (arg=0x555839b6d480) at
thread/qthread_unix.cpp:367
#8  0x00007fea2933558e in start_thread (arg=<optimized out>) at
pthread_create.c:486
#9  0x00007fea30cfe6a3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fea1491d700 (LWP 7749)):
#0  0x00007fea30cf3421 in __GI___poll (fds=0x7fea0c024810, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fea26bc55a6 in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7fea0c024810, timeout=<optimized out>, context=0x7fea0c000bf0)
at gmain.c:4221
#2  0x00007fea26bc55a6 in g_main_context_iterate
(context=context at entry=0x7fea0c000bf0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3915
#3  0x00007fea26bc56d0 in g_main_context_iteration (context=0x7fea0c000bf0,
may_block=may_block at entry=1) at gmain.c:3981
#4  0x00007fea313a082b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fea0c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fea3134f17b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this at entry=0x7fea1491cbf0, flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007fea311b7046 in QThread::exec() (this=this at entry=0x7fea323d7060
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007fea3235bf89 in QDBusConnectionManager::run() (this=0x7fea323d7060
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#8  0x00007fea311c04bb in QThreadPrivate::start(void*) (arg=0x7fea323d7060
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:367
#9  0x00007fea2933558e in start_thread (arg=<optimized out>) at
pthread_create.c:486
#10 0x00007fea30cfe6a3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fea16803700 (LWP 7748)):
#0  0x00007fea2933b77c in futex_wait_cancelable (private=0, expected=0,
futex_word=0x555839838538) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fea2933b77c in __pthread_cond_wait_common (abstime=0x0,
mutex=0x5558398384e8, cond=0x555839838510) at pthread_cond_wait.c:502
#2  0x00007fea2933b77c in __pthread_cond_wait (cond=0x555839838510,
mutex=0x5558398384e8) at pthread_cond_wait.c:655
#3  0x00007fea16cc18c3 in cnd_wait (mtx=0x5558398384e8, cond=0x555839838510) at
../../include/c11/threads_posix.h:155
#4  0x00007fea16cc18c3 in util_queue_thread_func
(input=input at entry=0x55583980e570) at u_queue.c:256
#5  0x00007fea16cc161b in impl_thrd_routine (p=<optimized out>) at
../../include/c11/threads_posix.h:87
#6  0x00007fea2933558e in start_thread (arg=<optimized out>) at
pthread_create.c:486
#7  0x00007fea30cfe6a3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fea18372700 (LWP 7747)):
#0  0x00007fea30cf3421 in __GI___poll (fds=fds at entry=0x7fea18371b38,
nfds=nfds at entry=1, timeout=timeout at entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fea2911c39f in poll (__timeout=-1, __nfds=1, __fds=0x7fea18371b38)
at /usr/include/bits/poll2.h:46
#2  0x00007fea2911c39f in _xcb_conn_wait (c=c at entry=0x5558397ac050,
cond=cond at entry=0x5558397ac090, vector=vector at entry=0x0, count=count at entry=0x0)
at xcb_conn.c:479
#3  0x00007fea2911e01a in xcb_wait_for_event (c=0x5558397ac050) at xcb_in.c:697
#4  0x00007fea18481da9 in QXcbEventReader::run() (this=0x5558397b60d0) at
qxcbconnection.h:409
#5  0x00007fea311c04bb in QThreadPrivate::start(void*) (arg=0x5558397b60d0) at
thread/qthread_unix.cpp:367
#6  0x00007fea2933558e in start_thread (arg=<optimized out>) at
pthread_create.c:486
#7  0x00007fea30cfe6a3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fea2559d980 (LWP 7746)):
[KCrash Handler]
#6  0x00007fea30c3953f in __GI_raise (sig=sig at entry=6) at
../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007fea30c23895 in __GI_abort () at abort.c:79
#8  0x00007fea30ff6e9b in __gnu_cxx::__verbose_terminate_handler() () at
../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#9  0x00007fea30ffd2fc in __cxxabiv1::__terminate(void (*)())
(handler=<optimized out>) at
../../../../libstdc++-v3/libsupc++/eh_terminate.cc:47
#10 0x00007fea30ffd357 in std::terminate() () at
../../../../libstdc++-v3/libsupc++/eh_terminate.cc:57
#11 0x00007fea30ffd60d in __cxxabiv1::__cxa_rethrow() () at
../../../../libstdc++-v3/libsupc++/eh_throw.cc:133
#12 0x0000555837e2827f in QVector<long long>::reallocData(int, int,
QFlags<QArrayData::AllocationOption>) (this=this at entry=0x7fff0ad7b180,
asize=268435452, aalloc=<optimized out>, options=...) at
/usr/include/qt5/QtCore/qarraydata.h:234
#13 0x0000555837e25192 in QVector<long long>::append(long long const&)
(t=<synthetic pointer>: <optimized out>, this=0x7fff0ad7b180) at
/usr/include/qt5/QtCore/qflags.h:120
#14 0x0000555837e25192 in QVector<long long>::operator<<(long long const&)
(t=<synthetic pointer>: <optimized out>, this=0x7fff0ad7b180) at
/usr/include/qt5/QtCore/qvector.h:283
#15 0x0000555837e25192 in MoveItemsTask::imapSetToList(KIMAP::ImapSet const&)
(this=<optimized out>, set=...) at
/usr/src/debug/kdepim-runtime-18.08.3-1.fc29.x86_64/resources/imap/moveitemstask.cpp:344
#16 0x0000555837e25eab in MoveItemsTask::onMoveDone(KJob*)
(this=0x555839c700c0, job=0x555839c6fd30) at
/usr/src/debug/kdepim-runtime-18.08.3-1.fc29.x86_64/resources/imap/moveitemstask.cpp:184
#17 0x00007fea31378513 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7fff0ad7b2d0, r=0x555839c700c0, this=0x555839c6fe00) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#18 0x00007fea31378513 in QMetaObject::activate(QObject*, int, int, void**)
(sender=0x555839c6fd30, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3754
#19 0x00007fea32614be0 in KJob::result(KJob*, KJob::QPrivateSignal)
(this=this at entry=0x555839c6fd30, _t1=<optimized out>, _t1 at entry=0x555839c6fd30,
_t2=...) at
/usr/src/debug/kf5-kcoreaddons-5.52.0-1.fc29.x86_64/x86_64-redhat-linux-gnu/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:569
#20 0x00007fea326156cb in KJob::finishJob(bool) (this=0x555839c6fd30,
emitResult=<optimized out>) at
/usr/src/debug/kf5-kcoreaddons-5.52.0-1.fc29.x86_64/src/lib/jobs/kjob.cpp:109
#21 0x00007fea3338ec99 in KIMAP::Job::handleErrorReplies(KIMAP::Response
const&) (this=0x555839c6fd30, response=...) at
/usr/src/debug/kf5-kimap-18.08.3-1.fc29.x86_64/src/job.cpp:84
#22 0x00007fea3339922a in KIMAP::MoveJob::handleResponse(KIMAP::Response
const&) (this=0x555839c6fd30, response=...) at
/usr/src/debug/kf5-kimap-18.08.3-1.fc29.x86_64/src/movejob.cpp:136
#23 0x00007fea333abe9c in
KIMAP::SessionPrivate::responseReceived(KIMAP::Response const&)
(this=0x555839c334f0, response=...) at
/usr/src/debug/kf5-kimap-18.08.3-1.fc29.x86_64/src/session.cpp:302
#24 0x00007fea313790f6 in QObject::event(QEvent*) (this=0x555839c334f0,
e=<optimized out>) at kernel/qobject.cpp:1251
#25 0x00007fea31dec2a5 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=this at entry=0x55583979bfd0, receiver=receiver at entry=0x555839c334f0,
e=e at entry=0x7fe9fc30da50) at kernel/qapplication.cpp:3727
#26 0x00007fea31df39c0 in QApplication::notify(QObject*, QEvent*)
(this=0x7fff0ad7bb20, receiver=0x555839c334f0, e=0x7fe9fc30da50) at
kernel/qapplication.cpp:3486
#27 0x00007fea31350236 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x555839c334f0, event=0x7fe9fc30da50) at
kernel/qcoreapplication.cpp:1048
#28 0x00007fea3135340b in QCoreApplication::sendEvent(QObject*, QEvent*)
(event=0x7fe9fc30da50, receiver=<optimized out>) at
kernel/qcoreapplication.h:234
#29 0x00007fea3135340b in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0x555839790950) at
kernel/qcoreapplication.cpp:1745
#30 0x00007fea313a0a87 in postEventSourceDispatch(GSource*, GSourceFunc,
gpointer) (s=0x55583985e4b0) at kernel/qeventdispatcher_glib.cpp:276
#31 0x00007fea26bc526d in g_main_dispatch (context=0x7fea10004ff0) at
gmain.c:3182
#32 0x00007fea26bc526d in g_main_context_dispatch
(context=context at entry=0x7fea10004ff0) at gmain.c:3847
#33 0x00007fea26bc5638 in g_main_context_iterate
(context=context at entry=0x7fea10004ff0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3920
#34 0x00007fea26bc56d0 in g_main_context_iteration (context=0x7fea10004ff0,
may_block=may_block at entry=1) at gmain.c:3981
#35 0x00007fea313a0813 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x555839807d20, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#36 0x00007fea18514f15 in
QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x555839807d20, flags=...) at qeventdispatcher_glib.cpp:69
#37 0x00007fea3134f17b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this at entry=0x7fff0ad7ba80, flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#38 0x00007fea31357246 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#39 0x00007fea31893cd0 in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1761
#40 0x00007fea31dec219 in QApplication::exec() () at
kernel/qapplication.cpp:2901
#41 0x00007fea330ded12 in Akonadi::ResourceBase::init(Akonadi::ResourceBase*)
(r=0x555839b730d0) at /usr/include/qt5/QtCore/qcoreapplication.h:116
#42 0x0000555837e04aa5 in Akonadi::ResourceBase::init<ImapResource>(int,
char**) (argc=<optimized out>, argv=<optimized out>) at
/usr/include/KF5/AkonadiAgentBase/resourcebase.h:182
#43 0x00007fea30c25413 in __libc_start_main (main=0x555837e04910 <main(int,
char**)>, argc=3, argv=0x7fff0ad7bc38, init=<optimized out>, fini=<optimized
out>, rtld_fini=<optimized out>, stack_end=0x7fff0ad7bc28) at
../csu/libc-start.c:308
#44 0x0000555837e0494e in _start () at
/usr/src/debug/kdepim-runtime-18.08.3-1.fc29.x86_64/resources/imap/main.cpp:22
[Inferior 1 (process 7746) detached]

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list