[Akonadi] [Bug 400304] akonadi_imap_resource segmentation fault crash when idle on GMail account

B Rhodes bugzilla_noreply at kde.org
Tue Mar 19 23:13:39 GMT 2019


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

B Rhodes <in at bordenrhodes.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |in at bordenrhodes.com

--- Comment #4 from B Rhodes <in at bordenrhodes.com> ---
Ditto. Here's my crash dump from Debian Buster:

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

Thread 8 (Thread 0x7f15d58a0700 (LWP 14157)):
#0  __GI___libc_read (nbytes=16, buf=0x7f15d589f480, fd=21) at
../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=21, buf=buf at entry=0x7f15d589f480,
nbytes=nbytes at entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f15f8212aa0 in read (__nbytes=16, __buf=0x7f15d589f480,
__fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x7f15c8003740) at ../../../glib/gwakeup.c:210
#4  0x00007f15f81ccc0f in g_main_context_check
(context=context at entry=0x7f15bc070600, max_priority=2147483647,
fds=fds at entry=0x7f15bc0543e0, n_fds=n_fds at entry=1) at
../../../glib/gmain.c:3698
#5  0x00007f15f81cd0e0 in g_main_context_iterate
(context=context at entry=0x7f15bc070600, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:3917
#6  0x00007f15f81cd25c in g_main_context_iteration (context=0x7f15bc070600,
may_block=may_block at entry=1) at ../../../glib/gmain.c:3981
#7  0x00007f15f9ec604b in QEventDispatcherGlib::processEvents
(this=0x7f15bc006670, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#8  0x00007f15f9e7314b in QEventLoop::exec (this=this at entry=0x7f15d589f6a0,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#9  0x00007f15f9cc20d6 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0x00007f15f9ccbc77 in QThreadPrivate::start (arg=0x556a23ddacd0) at
thread/qthread_unix.cpp:367
#11 0x00007f15f8f97fa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#12 0x00007f15f99a382f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f15d60a1700 (LWP 14069)):
#0  __GI___libc_read (nbytes=16, buf=0x7f15d60a0480, fd=16) at
../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=16, buf=buf at entry=0x7f15d60a0480,
nbytes=nbytes at entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f15f8212aa0 in read (__nbytes=16, __buf=0x7f15d60a0480,
__fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x7f15c4003d80) at ../../../glib/gwakeup.c:210
#4  0x00007f15f81ccc0f in g_main_context_check
(context=context at entry=0x7f15c80f7360, max_priority=2147483647,
fds=fds at entry=0x7f15c0001de0, n_fds=n_fds at entry=1) at
../../../glib/gmain.c:3698
#5  0x00007f15f81cd0e0 in g_main_context_iterate
(context=context at entry=0x7f15c80f7360, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:3917
#6  0x00007f15f81cd25c in g_main_context_iteration (context=0x7f15c80f7360,
may_block=may_block at entry=1) at ../../../glib/gmain.c:3981
#7  0x00007f15f9ec604b in QEventDispatcherGlib::processEvents
(this=0x7f15c80f6180, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#8  0x00007f15f9e7314b in QEventLoop::exec (this=this at entry=0x7f15d60a06a0,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#9  0x00007f15f9cc20d6 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0x00007f15f9ccbc77 in QThreadPrivate::start (arg=0x556a23dc3570) at
thread/qthread_unix.cpp:367
#11 0x00007f15f8f97fa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#12 0x00007f15f99a382f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f15d6dee700 (LWP 8101)):
#0  __GI___libc_read (nbytes=16, buf=0x7f15d6ded480, fd=14) at
../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=14, buf=buf at entry=0x7f15d6ded480,
nbytes=nbytes at entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f15f8212aa0 in read (__nbytes=16, __buf=0x7f15d6ded480,
__fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x7f15cc003590) at ../../../glib/gwakeup.c:210
#4  0x00007f15f81ccc0f in g_main_context_check
(context=context at entry=0x7f15c4000bf0, max_priority=2147483647,
fds=fds at entry=0x7f15c4003ce0, n_fds=n_fds at entry=1) at
../../../glib/gmain.c:3698
#5  0x00007f15f81cd0e0 in g_main_context_iterate
(context=context at entry=0x7f15c4000bf0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:3917
#6  0x00007f15f81cd25c in g_main_context_iteration (context=0x7f15c4000bf0,
may_block=may_block at entry=1) at ../../../glib/gmain.c:3981
#7  0x00007f15f9ec604b in QEventDispatcherGlib::processEvents
(this=0x7f15c4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#8  0x00007f15f9e7314b in QEventLoop::exec (this=this at entry=0x7f15d6ded6a0,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#9  0x00007f15f9cc20d6 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0x00007f15f9ccbc77 in QThreadPrivate::start (arg=0x556a23c671e0) at
thread/qthread_unix.cpp:367
#11 0x00007f15f8f97fa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#12 0x00007f15f99a382f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f15d7fff700 (LWP 8091)):
#0  __GI___libc_read (nbytes=16, buf=0x7f15d7ffe480, fd=9) at
../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=9, buf=buf at entry=0x7f15d7ffe480,
nbytes=nbytes at entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f15f8212aa0 in read (__nbytes=16, __buf=0x7f15d7ffe480,
__fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x7f15d00039a0) at ../../../glib/gwakeup.c:210
#4  0x00007f15f81ccc0f in g_main_context_check
(context=context at entry=0x7f15cc000bf0, max_priority=2147483647,
fds=fds at entry=0x7f15cc0049b0, n_fds=n_fds at entry=1) at
../../../glib/gmain.c:3698
#5  0x00007f15f81cd0e0 in g_main_context_iterate
(context=context at entry=0x7f15cc000bf0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:3917
#6  0x00007f15f81cd25c in g_main_context_iteration (context=0x7f15cc000bf0,
may_block=may_block at entry=1) at ../../../glib/gmain.c:3981
#7  0x00007f15f9ec604b in QEventDispatcherGlib::processEvents
(this=0x7f15cc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#8  0x00007f15f9e7314b in QEventLoop::exec (this=this at entry=0x7f15d7ffe6a0,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#9  0x00007f15f9cc20d6 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0x00007f15f9ccbc77 in QThreadPrivate::start (arg=0x556a23c453f0) at
thread/qthread_unix.cpp:367
#11 0x00007f15f8f97fa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#12 0x00007f15f99a382f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f15dc91e700 (LWP 8087)):
#0  0x00007f15f9998b69 in __GI___poll (fds=0x7f15d0025860, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f15f81cd136 in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7f15d0025860, timeout=<optimized out>, context=0x7f15d0000bf0)
at ../../../glib/gmain.c:4221
#2  g_main_context_iterate (context=context at entry=0x7f15d0000bf0,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
../../../glib/gmain.c:3915
#3  0x00007f15f81cd25c in g_main_context_iteration (context=0x7f15d0000bf0,
may_block=may_block at entry=1) at ../../../glib/gmain.c:3981
#4  0x00007f15f9ec604b in QEventDispatcherGlib::processEvents
(this=0x7f15d0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f15f9e7314b in QEventLoop::exec (this=this at entry=0x7f15dc91d670,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f15f9cc20d6 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f15faef0545 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f15f9ccbc77 in QThreadPrivate::start (arg=0x7f15faf6ad60) at
thread/qthread_unix.cpp:367
#9  0x00007f15f8f97fa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#10 0x00007f15f99a382f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f15de7ad700 (LWP 8077)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x556a23927998) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x556a23927948,
cond=0x556a23927970) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x556a23927970, mutex=0x556a23927948) at
pthread_cond_wait.c:655
#3  0x00007f15dedbae63 in cnd_wait (mtx=0x556a23927948, cond=0x556a23927970) at
../src/../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input at entry=0x556a23922a60) at
../src/util/u_queue.c:270
#5  0x00007f15dedbabb7 in impl_thrd_routine (p=<optimized out>) at
../src/../include/c11/threads_posix.h:87
#6  0x00007f15f8f97fa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#7  0x00007f15f99a382f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f15e50d0700 (LWP 8073)):
#0  0x00007f15f9998b69 in __GI___poll (fds=fds at entry=0x7f15e50cf5b8,
nfds=nfds at entry=1, timeout=timeout at entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f15f8dd7cf7 in poll (__timeout=-1, __nfds=1, __fds=0x7f15e50cf5b8)
at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c at entry=0x556a238e7260, cond=cond at entry=0x556a238e72a0,
vector=vector at entry=0x0, count=count at entry=0x0) at ../../src/xcb_conn.c:479
#3  0x00007f15f8dd991a in xcb_wait_for_event (c=0x556a238e7260) at
../../src/xcb_in.c:697
#4  0x00007f15e59ba519 in QXcbEventReader::run (this=0x556a238f21c0) at
qxcbconnection.h:409
#5  0x00007f15f9ccbc77 in QThreadPrivate::start (arg=0x556a238f21c0) at
thread/qthread_unix.cpp:367
#6  0x00007f15f8f97fa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#7  0x00007f15f99a382f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f15e609bf00 (LWP 7970)):
[KCrash Handler]
#6  0x00007f15f9ea1dfb in QObject::disconnect (sender=0x556a23ccd4e0,
signal=0x0, receiver=0x556a23ccbb00, method=0x0) at kernel/qobject.cpp:2987
#7  0x0000556a21c404b2 in SessionPool::onConnectionLost (this=0x556a23c5aad0)
at ./resources/imap/sessionpool.cpp:558
#8  0x00007f15f9e9d703 in QtPrivate::QSlotObjectBase::call (a=0x7fff905c3890,
r=0x556a23c5aad0, this=0x556a23d5ca10) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#9  QMetaObject::activate (sender=0x556a23df4230, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3754
#10 0x00007f15fb9be64f in KIMAP::SessionPrivate::socketDisconnected() () from
/usr/lib/x86_64-linux-gnu/libKF5IMAP.so.5
#11 0x00007f15f9e9de52 in QObject::event (this=0x556a23de8670, e=<optimized
out>) at kernel/qobject.cpp:1251
#12 0x00007f15fa992491 in QApplicationPrivate::notify_helper
(this=this at entry=0x556a23898e80, receiver=receiver at entry=0x556a23de8670,
e=e at entry=0x7f15c4020380) at kernel/qapplication.cpp:3726
#13 0x00007f15fa999ac0 in QApplication::notify (this=0x7fff905c3ef0,
receiver=0x556a23de8670, e=0x7f15c4020380) at kernel/qapplication.cpp:3485
#14 0x00007f15f9e74479 in QCoreApplication::notifyInternal2
(receiver=0x556a23de8670, event=0x7f15c4020380) at
../../include/QtCore/5.11.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#15 0x00007f15f9e7746b in QCoreApplication::sendEvent (event=0x7f15c4020380,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x556a23897490) at kernel/qcoreapplication.cpp:1744
#17 0x00007f15f9ec6a03 in postEventSourceDispatch (s=0x556a23931310) at
kernel/qeventdispatcher_glib.cpp:276
#18 0x00007f15f81ccf2e in g_main_dispatch (context=0x7f15e0004ff0) at
../../../glib/gmain.c:3182
#19 g_main_context_dispatch (context=context at entry=0x7f15e0004ff0) at
../../../glib/gmain.c:3847
#20 0x00007f15f81cd1c8 in g_main_context_iterate
(context=context at entry=0x7f15e0004ff0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:3920
#21 0x00007f15f81cd25c in g_main_context_iteration (context=0x7f15e0004ff0,
may_block=may_block at entry=1) at ../../../glib/gmain.c:3981
#22 0x00007f15f9ec6033 in QEventDispatcherGlib::processEvents
(this=0x556a23934c30, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#23 0x00007f15e5a4d8d1 in QPAEventDispatcherGlib::processEvents
(this=0x556a23934c30, flags=...) at qeventdispatcher_glib.cpp:69
#24 0x00007f15f9e7314b in QEventLoop::exec (this=this at entry=0x7fff905c3e50,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#25 0x00007f15f9e7b2b2 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#26 0x00007f15fb70d52e in Akonadi::ResourceBase::init(Akonadi::ResourceBase*)
() from /usr/lib/x86_64-linux-gnu/libKF5AkonadiAgentBase.so.5
#27 0x0000556a21bf96a1 in Akonadi::ResourceBase::init<ImapResource>
(argc=<optimized out>, argv=<optimized out>) at
/usr/include/KF5/AkonadiAgentBase/resourcebase.h:182
#28 0x00007f15f98ce09b in __libc_start_main (main=0x556a21bf9510 <main(int,
char**)>, argc=3, argv=0x7fff905c4008, init=<optimized out>, fini=<optimized
out>, rtld_fini=<optimized out>, stack_end=0x7fff905c3ff8) at
../csu/libc-start.c:308
#29 0x0000556a21bf954a in _start () at ./resources/imap/main.cpp:22
[Inferior 1 (process 7970) detached]

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


More information about the Kdepim-bugs mailing list