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

Bruno Friedmann bugzilla_noreply at kde.org
Sun Jan 20 07:43:51 GMT 2019


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

--- Comment #2 from Bruno Friedmann <bruno at ioda-net.ch> ---
Also seen crash (not sure if 100% related) but exactly same circumstance.

Gmail in idle, then I read a mail, try to delete and nothing happen except the
crash.

Application: akonadi_imap_resource (akonadi_imap_resource), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
__GI___libc_read (fd=5, buf=buf at entry=0x7fffa2069c70, nbytes=nbytes at entry=16)
at ../sysdeps/unix/sysv/linux/read.c:27
[Current thread is 1 (Thread 0x7fe06d464a40 (LWP 2941))]

Thread 8 (Thread 0x7fe060a12700 (LWP 1485)):
#0  0x00007fe07e3622c9 in __GI___poll (fds=0x7fe04c031f50, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe07bfe0fb6 in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7fe04c031f50, timeout=<optimized out>, context=0x7fe04c0a85d0)
at gmain.c:4221
#2  0x00007fe07bfe0fb6 in g_main_context_iterate
(context=context at entry=0x7fe04c0a85d0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3915
#3  0x00007fe07bfe10dc in g_main_context_iteration (context=0x7fe04c0a85d0,
may_block=may_block at entry=1) at gmain.c:3981
#4  0x00007fe07eaac88b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fe04c034000, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fe07ea5702b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this at entry=0x7fe060a11b60, flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007fe07e8a13b6 in QThread::exec() (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007fe07e8a2702 in QThreadPrivate::start(void*) (arg=0x55f61413dbf0) at
thread/qthread_unix.cpp:361
#8  0x00007fe07d56f554 in start_thread (arg=<optimized out>) at
pthread_create.c:463
#9  0x00007fe07e36cccf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fe0525f6700 (LWP 992)):
#0  0x00007fe07e35dd34 in __GI___libc_read (fd=30,
buf=buf at entry=0x7fe0525f5930, nbytes=nbytes at entry=16) at
../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007fe07c026b20 in read (__nbytes=16, __buf=0x7fe0525f5930,
__fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  0x00007fe07c026b20 in g_wakeup_acknowledge (wakeup=0x7fe04800e280) at
gwakeup.c:210
#3  0x00007fe07bfe0abb in g_main_context_check
(context=context at entry=0x7fe04002e5d0, max_priority=2147483647,
fds=fds at entry=0x7fe040005b90, n_fds=n_fds at entry=1) at gmain.c:3698
#4  0x00007fe07bfe0f60 in g_main_context_iterate
(context=context at entry=0x7fe04002e5d0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3917
#5  0x00007fe07bfe10dc in g_main_context_iteration (context=0x7fe04002e5d0,
may_block=may_block at entry=1) at gmain.c:3981
#6  0x00007fe07eaac88b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fe040005ed0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#7  0x00007fe07ea5702b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this at entry=0x7fe0525f5b60, flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#8  0x00007fe07e8a13b6 in QThread::exec() (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#9  0x00007fe07e8a2702 in QThreadPrivate::start(void*) (arg=0x55f6140eef70) at
thread/qthread_unix.cpp:361
#10 0x00007fe07d56f554 in start_thread (arg=<optimized out>) at
pthread_create.c:463
#11 0x00007fe07e36cccf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fe053fff700 (LWP 3187)):
#0  0x00007fe07e367739 in syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fe07e8a4a24 in QtLinuxFutex::_q_futex(int*, int, int, unsigned long
long, int*, int) (val3=0, addr2=0x0, val2=0, val=<optimized out>, op=0,
addr=<optimized out>) at thread/qfutex_p.h:105
#2  0x00007fe07e8a4a24 in QtLinuxFutex::futexWait<QBasicAtomicInteger<unsigned
int> >(QBasicAtomicInteger<unsigned int>&, QBasicAtomicInteger<unsigned
int>::Type) (expectedValue=<optimized out>, futex=...) at thread/qfutex_p.h:107
#3  0x00007fe07e8a4a24 in
futexSemaphoreTryAcquire_loop<false>(QBasicAtomicInteger<unsigned long long>&,
unsigned long long, unsigned long long, int) (timeout=-1, nn=8589934593,
curValue=<optimized out>, u=...) at thread/qsemaphore.cpp:219
#4  0x00007fe07e8a4a24 in
futexSemaphoreTryAcquire<false>(QBasicAtomicInteger<unsigned long long>&, int,
int) (timeout=-1, n=n at entry=1, u=...) at thread/qsemaphore.cpp:262
#5  0x00007fe07e8a4a24 in QSemaphore::acquire(int)
(this=this at entry=0x7fe07eec6440 <(anonymous
namespace)::Q_QGS_libProxyWrapper::innerFunction()::holder+32>, n=n at entry=1) at
thread/qsemaphore.cpp:326
#6  0x00007fe07edfab84 in QLibProxyWrapper::run() (this=0x7fe07eec6420
<(anonymous namespace)::Q_QGS_libProxyWrapper::innerFunction()::holder>) at
kernel/qnetworkproxy_libproxy.cpp:179
#7  0x00007fe07e8a2702 in QThreadPrivate::start(void*) (arg=0x7fe07eec6420
<(anonymous namespace)::Q_QGS_libProxyWrapper::innerFunction()::holder>) at
thread/qthread_unix.cpp:361
#8  0x00007fe07d56f554 in start_thread (arg=<optimized out>) at
pthread_create.c:463
#9  0x00007fe07e36cccf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fe061213700 (LWP 3096)):
#0  0x00007fe07c027ea9 in g_mutex_lock (mutex=mutex at entry=0x7fe058000bf0) at
gthread-posix.c:1343
#1  0x00007fe07bfe0377 in g_main_context_prepare
(context=context at entry=0x7fe058000bf0, priority=priority at entry=0x7fe061212a10)
at gmain.c:3430
#2  0x00007fe07bfe0eeb in g_main_context_iterate
(context=context at entry=0x7fe058000bf0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3900
#3  0x00007fe07bfe10dc in g_main_context_iteration (context=0x7fe058000bf0,
may_block=may_block at entry=1) at gmain.c:3981
#4  0x00007fe07eaac88b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fe058000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fe07ea5702b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this at entry=0x7fe061212b60, flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007fe07e8a13b6 in QThread::exec() (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007fe07e8a2702 in QThreadPrivate::start(void*) (arg=0x55f61412e500) at
thread/qthread_unix.cpp:361
#8  0x00007fe07d56f554 in start_thread (arg=<optimized out>) at
pthread_create.c:463
#9  0x00007fe07e36cccf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fe062424700 (LWP 3053)):
[KCrash Handler]
#6  0x00007fe07e2aa08b in __GI_raise (sig=sig at entry=6) at
../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007fe07e2934e9 in __GI_abort () at abort.c:79
#8  0x00007fe07e6e0973 in __gnu_cxx::__verbose_terminate_handler() () at
../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#9  0x00007fe07e6e68c8 in __cxxabiv1::__terminate(void (*)())
(handler=<optimized out>) at
../../../../libstdc++-v3/libsupc++/eh_terminate.cc:47
#10 0x00007fe07e6e6913 in std::terminate() () at
../../../../libstdc++-v3/libsupc++/eh_terminate.cc:57
#11 0x00007fe07e869dc5 in qTerminate() () at global/qglobal.cpp:3190
#12 0x00007fe07e86b7d2 in QThreadPrivate::start(void*) (arg=0x55f61451acd0) at
thread/qthread_unix.cpp:373
#13 0x00007fe07d56f554 in start_thread (arg=<optimized out>) at
pthread_create.c:463
#14 0x00007fe07e36cccf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fe068900700 (LWP 3051)):
#0  0x00007fe07e3622c9 in __GI___poll (fds=0x7fe05c026180, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe07bfe0fb6 in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7fe05c026180, timeout=<optimized out>, context=0x7fe05c000bf0)
at gmain.c:4221
#2  0x00007fe07bfe0fb6 in g_main_context_iterate
(context=context at entry=0x7fe05c000bf0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3915
#3  0x00007fe07bfe10dc in g_main_context_iteration (context=0x7fe05c000bf0,
may_block=may_block at entry=1) at gmain.c:3981
#4  0x00007fe07eaac88b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fe05c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fe07ea5702b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this at entry=0x7fe0688ffb30, flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007fe07e8a13b6 in QThread::exec() (this=this at entry=0x7fe07fbe4d80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007fe07fb6a565 in QDBusConnectionManager::run() (this=0x7fe07fbe4d80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#8  0x00007fe07e8a2702 in QThreadPrivate::start(void*) (arg=0x7fe07fbe4d80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:361
#9  0x00007fe07d56f554 in start_thread (arg=<optimized out>) at
pthread_create.c:463
#10 0x00007fe07e36cccf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fe06ac2a700 (LWP 2996)):
#0  0x00007fe07e3622c9 in __GI___poll (fds=fds at entry=0x7fe06ac29a78,
nfds=nfds at entry=1, timeout=timeout at entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe07d3accc7 in poll (__timeout=-1, __nfds=1, __fds=0x7fe06ac29a78)
at /usr/include/bits/poll2.h:46
#2  0x00007fe07d3accc7 in _xcb_conn_wait (c=c at entry=0x55f61408bd30,
cond=cond at entry=0x55f61408bd70, vector=vector at entry=0x0, count=count at entry=0x0)
at xcb_conn.c:479
#3  0x00007fe07d3ae8ea in xcb_wait_for_event (c=c at entry=0x55f61408bd30) at
xcb_in.c:697
#4  0x00007fe06b7975da in QXcbEventQueue::run() (this=0x55f6140ea8e0) at
qxcbeventqueue.cpp:225
#5  0x00007fe07e8a2702 in QThreadPrivate::start(void*) (arg=0x55f6140ea8e0) at
thread/qthread_unix.cpp:361
#6  0x00007fe07d56f554 in start_thread (arg=<optimized out>) at
pthread_create.c:463
#7  0x00007fe07e36cccf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fe06d464a40 (LWP 2941)):
#0  0x00007fe07e35dd34 in __GI___libc_read (fd=5, buf=buf at entry=0x7fffa2069c70,
nbytes=nbytes at entry=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007fe07c026b20 in read (__nbytes=16, __buf=0x7fffa2069c70,
__fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  0x00007fe07c026b20 in g_wakeup_acknowledge (wakeup=0x7fe064001530) at
gwakeup.c:210
#3  0x00007fe07bfe0abb in g_main_context_check
(context=context at entry=0x7fe064004ff0, max_priority=2147483647,
fds=fds at entry=0x7fe064006cd0, n_fds=n_fds at entry=1) at gmain.c:3698
#4  0x00007fe07bfe0f60 in g_main_context_iterate
(context=context at entry=0x7fe064004ff0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3917
#5  0x00007fe07bfe10dc in g_main_context_iteration (context=0x7fe064004ff0,
may_block=may_block at entry=1) at gmain.c:3981
#6  0x00007fe07eaac88b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x55f614171630, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#7  0x00007fe07ea5702b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this at entry=0x7fffa2069ea0, flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#8  0x00007fe07ea5f192 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#9  0x00007fe07eff3adc in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1779
#10 0x00007fe07f606505 in QApplication::exec() () at
kernel/qapplication.cpp:2910
#11 0x00007fe08042f14e in Akonadi::ResourceBase::init(Akonadi::ResourceBase*)
(r=0x55f61451a2d0) at /usr/include/qt5/QtCore/qcoreapplication.h:116
#12 0x000055f61306c761 in Akonadi::ResourceBase::init<ImapResource>(int,
char**) (argc=<optimized out>, argv=<optimized out>) at
/usr/include/KF5/AkonadiAgentBase/resourcebase.h:181
#13 0x00007fe07e294feb in __libc_start_main (main=0x55f61306c5d0 <main(int,
char**)>, argc=3, argv=0x7fffa206a058, init=<optimized out>, fini=<optimized
out>, rtld_fini=<optimized out>, stack_end=0x7fffa206a048) at
../csu/libc-start.c:308
#14 0x000055f61306c60a in _start () at ../sysdeps/x86_64/start.S:120
[Inferior 1 (process 2941) detached]

openSUSE Tumbleweed - 20190115
Linux 4.20.0-1-default x86_64 GNU/Linux, nvidia: 410.93
Qt: 5.12.0, 
KDE Frameworks: 5.53.0, 
Plasma: 5.14.5, 
kmail2 5.10.0, 
akonadi 5.10.0


akonadi server log :

Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)

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


More information about the Kdepim-bugs mailing list