Bug 416816 - Agent zur E-Mail-Archivierung (akonadi_archivemail_agent), signal: Segmentation fault - ArchiveJob::~ArchiveJob
Summary: Agent zur E-Mail-Archivierung (akonadi_archivemail_agent), signal: Segmentati...
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Archive Mail Agent (show other bugs)
Version: 5.10.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-01-27 10:30 UTC by Don Curtis
Modified: 2020-10-27 09:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Don Curtis 2020-01-27 10:30:24 UTC
Application: akonadi_archivemail_agent (5.10.3)

Qt Version: 5.9.7
Frameworks Version: 5.55.0
Operating System: Linux 4.12.14-lp151.28.36-default x86_64
Distribution: "openSUSE Leap 15.1"

-- Information about the crash:
- What I was doing when the application crashed:
Waiting for the daily archiving to complete - reading Akregator news.

-- Backtrace:
Application: Agent zur E-Mail-Archivierung (akonadi_archivemail_agent), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
29	  return SYSCALL_CANCEL (poll, fds, nfds, timeout);
[Current thread is 1 (Thread 0x7f0ec1f79e40 (LWP 8015))]

Thread 13 (Thread 0x7f0e797fa700 (LWP 8259)):
#0  0x00007f0eb3c76fb9 in g_mutex_lock (mutex=mutex@entry=0x7f0e58000be0) at gthread-posix.c:1336
#1  0x00007f0eb3c30be6 in g_main_context_check (context=context@entry=0x7f0e58000be0, max_priority=2147483647, fds=fds@entry=0x7f0e58002de0, n_fds=n_fds@entry=1) at gmain.c:3705
#2  0x00007f0eb3c31150 in g_main_context_iterate (context=context@entry=0x7f0e58000be0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3865
#3  0x00007f0eb3c312bc in g_main_context_iteration (context=0x7f0e58000be0, may_block=may_block@entry=1) at gmain.c:3929
#4  0x00007f0ebdbf296b in QEventDispatcherGlib::processEvents (this=0x7f0e58000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f0ebdb9790a in QEventLoop::exec (this=this@entry=0x7f0e797f9c30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f0ebd9b5daa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#7  0x00007f0ebd9baced in QThreadPrivate::start (arg=0x55fda26069a0) at thread/qthread_unix.cpp:368
#8  0x00007f0eb61aa569 in start_thread (arg=0x7f0e797fa700) at pthread_create.c:465
#9  0x00007f0ebd0939ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f0e79ffb700 (LWP 8179)):
#0  0x00007f0ebd08919b in __GI___poll (fds=0x7f0e54006030, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f0eb3c311a9 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f0e54006030, timeout=<optimized out>, context=0x7f0e54000be0) at gmain.c:4169
#2  g_main_context_iterate (context=context@entry=0x7f0e54000be0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3863
#3  0x00007f0eb3c312bc in g_main_context_iteration (context=0x7f0e54000be0, may_block=may_block@entry=1) at gmain.c:3929
#4  0x00007f0ebdbf296b in QEventDispatcherGlib::processEvents (this=0x7f0e54000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f0ebdb9790a in QEventLoop::exec (this=this@entry=0x7f0e79ffac30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f0ebd9b5daa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#7  0x00007f0ebd9baced in QThreadPrivate::start (arg=0x55fda25bf7d0) at thread/qthread_unix.cpp:368
#8  0x00007f0eb61aa569 in start_thread (arg=0x7f0e79ffb700) at pthread_create.c:465
#9  0x00007f0ebd0939ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f0e7a7fc700 (LWP 8170)):
#0  0x00007f0eb61b08ad in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55fda2557498) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55fda2557448, cond=0x55fda2557470) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55fda2557470, mutex=0x55fda2557448) at pthread_cond_wait.c:655
#3  0x00007f0e8b39b83b in cnd_wait (mtx=0x55fda2557448, cond=0x55fda2557470) at ../../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55fda25757f0) at u_queue.c:270
#5  0x00007f0e8b39b547 in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87
#6  0x00007f0eb61aa569 in start_thread (arg=0x7f0e7a7fc700) at pthread_create.c:465
#7  0x00007f0ebd0939ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f0e7affd700 (LWP 8169)):
#0  0x00007f0eb61b08ad in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55fda22ef860) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55fda22ef810, cond=0x55fda22ef838) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55fda22ef838, mutex=0x55fda22ef810) at pthread_cond_wait.c:655
#3  0x00007f0e8b39b83b in cnd_wait (mtx=0x55fda22ef810, cond=0x55fda22ef838) at ../../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55fda22efe60) at u_queue.c:270
#5  0x00007f0e8b39b547 in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87
#6  0x00007f0eb61aa569 in start_thread (arg=0x7f0e7affd700) at pthread_create.c:465
#7  0x00007f0ebd0939ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f0e7b7fe700 (LWP 8168)):
#0  0x00007f0eb61b08ad in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55fda22ef860) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55fda22ef810, cond=0x55fda22ef838) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55fda22ef838, mutex=0x55fda22ef810) at pthread_cond_wait.c:655
#3  0x00007f0e8b39b83b in cnd_wait (mtx=0x55fda22ef810, cond=0x55fda22ef838) at ../../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55fda22efe20) at u_queue.c:270
#5  0x00007f0e8b39b547 in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87
#6  0x00007f0eb61aa569 in start_thread (arg=0x7f0e7b7fe700) at pthread_create.c:465
#7  0x00007f0ebd0939ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f0e7bfff700 (LWP 8167)):
#0  0x00007f0eb61b08ad in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55fda22ef2e4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55fda22ef290, cond=0x55fda22ef2b8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55fda22ef2b8, mutex=0x55fda22ef290) at pthread_cond_wait.c:655
#3  0x00007f0e8b39b83b in cnd_wait (mtx=0x55fda22ef290, cond=0x55fda22ef2b8) at ../../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55fda22efdc0) at u_queue.c:270
#5  0x00007f0e8b39b547 in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87
#6  0x00007f0eb61aa569 in start_thread (arg=0x7f0e7bfff700) at pthread_create.c:465
#7  0x00007f0ebd0939ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f0e88f97700 (LWP 8166)):
#0  0x00007f0eb61b08ad in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55fda22ef2e4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55fda22ef290, cond=0x55fda22ef2b8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55fda22ef2b8, mutex=0x55fda22ef290) at pthread_cond_wait.c:655
#3  0x00007f0e8b39b83b in cnd_wait (mtx=0x55fda22ef290, cond=0x55fda22ef2b8) at ../../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55fda22eaea0) at u_queue.c:270
#5  0x00007f0e8b39b547 in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87
#6  0x00007f0eb61aa569 in start_thread (arg=0x7f0e88f97700) at pthread_create.c:465
#7  0x00007f0ebd0939ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f0e89798700 (LWP 8165)):
#0  0x00007f0eb61b08ad in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55fda22ef2e0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55fda22ef290, cond=0x55fda22ef2b8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55fda22ef2b8, mutex=0x55fda22ef290) at pthread_cond_wait.c:655
#3  0x00007f0e8b39b83b in cnd_wait (mtx=0x55fda22ef290, cond=0x55fda22ef2b8) at ../../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55fda22eae40) at u_queue.c:270
#5  0x00007f0e8b39b547 in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87
#6  0x00007f0eb61aa569 in start_thread (arg=0x7f0e89798700) at pthread_create.c:465
#7  0x00007f0ebd0939ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f0e89f99700 (LWP 8164)):
#0  0x00007f0eb61b08ad in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55fda2223078) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55fda2223028, cond=0x55fda2223050) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55fda2223050, mutex=0x55fda2223028) at pthread_cond_wait.c:655
#3  0x00007f0e8b39b83b in cnd_wait (mtx=0x55fda2223028, cond=0x55fda2223050) at ../../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55fda22eae60) at u_queue.c:270
#5  0x00007f0e8b39b547 in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87
#6  0x00007f0eb61aa569 in start_thread (arg=0x7f0e89f99700) at pthread_create.c:465
#7  0x00007f0ebd0939ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f0e8a79a700 (LWP 8163)):
#0  0x00007f0eb61b08ad in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55fda22ebfb0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55fda22ebf60, cond=0x55fda22ebf88) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55fda22ebf88, mutex=0x55fda22ebf60) at pthread_cond_wait.c:655
#3  0x00007f0e8b39b83b in cnd_wait (mtx=0x55fda22ebf60, cond=0x55fda22ebf88) at ../../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55fda22eac20) at u_queue.c:270
#5  0x00007f0e8b39b547 in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87
#6  0x00007f0eb61aa569 in start_thread (arg=0x7f0e8a79a700) at pthread_create.c:465
#7  0x00007f0ebd0939ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f0e91cb2700 (LWP 8102)):
#0  0x00007f0eb3c2e14c in g_source_iter_next (iter=iter@entry=0x7f0e91cb1a40, source=source@entry=0x7f0e91cb1a38) at gmain.c:960
#1  0x00007f0eb3c3064b in g_main_context_prepare (context=context@entry=0x7f0e84000be0, priority=priority@entry=0x7f0e91cb1ac0) at gmain.c:3418
#2  0x00007f0eb3c310db in g_main_context_iterate (context=context@entry=0x7f0e84000be0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3848
#3  0x00007f0eb3c312bc in g_main_context_iteration (context=0x7f0e84000be0, may_block=may_block@entry=1) at gmain.c:3929
#4  0x00007f0ebdbf296b in QEventDispatcherGlib::processEvents (this=0x7f0e84000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f0ebdb9790a in QEventLoop::exec (this=this@entry=0x7f0e91cb1c00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f0ebd9b5daa in QThread::exec (this=this@entry=0x7f0ebea6cd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515
#7  0x00007f0ebe7f99e5 in QDBusConnectionManager::run (this=0x7f0ebea6cd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f0ebd9baced in QThreadPrivate::start (arg=0x7f0ebea6cd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#9  0x00007f0eb61aa569 in start_thread (arg=0x7f0e91cb2700) at pthread_create.c:465
#10 0x00007f0ebd0939ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f0e937ca700 (LWP 8078)):
#0  0x00007f0ebd08919b in __GI___poll (fds=fds@entry=0x7f0e937c9b38, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f0eb5c38307 in poll (__timeout=-1, __nfds=1, __fds=0x7f0e937c9b38) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x55fda219a970, cond=cond@entry=0x55fda219a9b0, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:479
#3  0x00007f0eb5c39f3a in xcb_wait_for_event (c=0x55fda219a970) at xcb_in.c:697
#4  0x00007f0e95907939 in QXcbEventReader::run (this=0x55fda21ae010) at qxcbconnection.cpp:1334
#5  0x00007f0ebd9baced in QThreadPrivate::start (arg=0x55fda21ae010) at thread/qthread_unix.cpp:368
#6  0x00007f0eb61aa569 in start_thread (arg=0x7f0e937ca700) at pthread_create.c:465
#7  0x00007f0ebd0939ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f0ec1f79e40 (LWP 8015)):
[KCrash Handler]
#7  0x00007f0ebdadde96 in std::__atomic_base<int>::operator-- (this=0x6300490067006f) at /usr/include/c++/7/bits/atomic_base.h:304
#8  QAtomicOps<int>::deref<int> (_q_value=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:271
#9  QBasicAtomicInteger<int>::deref (this=0x6300490067006f) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:114
#10 QUrl::~QUrl (this=0x55fda27cc8a0, __in_chrg=<optimized out>) at io/qurl.cpp:1884
#11 0x000055fda01f69a8 in ArchiveJob::~ArchiveJob (this=0x55fda26d33e0, __in_chrg=<optimized out>) at /usr/src/debug/kmail-18.12.3-lp151.3.7.1.x86_64/agents/archivemailagent/job/archivejob.cpp:46
#12 0x000055fda01f6a09 in ArchiveJob::~ArchiveJob (this=0x55fda26d33e0, __in_chrg=<optimized out>) at /usr/src/debug/kmail-18.12.3-lp151.3.7.1.x86_64/agents/archivemailagent/job/archivejob.cpp:47
#13 0x00007f0ebdbc90c0 in QObject::event (this=0x55fda26d33e0, e=<optimized out>) at kernel/qobject.cpp:1238
#14 0x00007f0ebee473dc in QApplicationPrivate::notify_helper (this=this@entry=0x55fda214f290, receiver=receiver@entry=0x55fda26d33e0, e=e@entry=0x55fda2827cf0) at kernel/qapplication.cpp:3723
#15 0x00007f0ebee4eca4 in QApplication::notify (this=0x7fffe4fe99b0, receiver=0x55fda26d33e0, e=0x55fda2827cf0) at kernel/qapplication.cpp:3482
#16 0x00007f0ebdb998d8 in QCoreApplication::notifyInternal2 (receiver=0x55fda26d33e0, event=event@entry=0x55fda2827cf0) at kernel/qcoreapplication.cpp:1024
#17 0x00007f0ebdb9c04d in QCoreApplication::sendEvent (event=0x55fda2827cf0, receiver=<optimized out>) at kernel/qcoreapplication.h:233
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55fda21777f0) at kernel/qcoreapplication.cpp:1699
#19 0x00007f0ebdb9c5d8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1553
#20 0x00007f0ebdbf3323 in postEventSourceDispatch (s=0x55fda2238a60) at kernel/qeventdispatcher_glib.cpp:276
#21 0x00007f0eb3c30e87 in g_main_dispatch (context=0x7f0e8c004fc0) at gmain.c:3142
#22 g_main_context_dispatch (context=context@entry=0x7f0e8c004fc0) at gmain.c:3795
#23 0x00007f0eb3c31230 in g_main_context_iterate (context=context@entry=0x7f0e8c004fc0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3868
#24 0x00007f0eb3c312bc in g_main_context_iteration (context=0x7f0e8c004fc0, may_block=may_block@entry=1) at gmain.c:3929
#25 0x00007f0ebdbf294f in QEventDispatcherGlib::processEvents (this=0x55fda223c3b0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#26 0x00007f0ebdb9790a in QEventLoop::exec (this=this@entry=0x7fffe4fe9910, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#27 0x00007f0ebdba09b4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1297
#28 0x00007f0ebe16dfac in QGuiApplication::exec () at kernel/qguiapplication.cpp:1679
#29 0x00007f0ebee47335 in QApplication::exec () at kernel/qapplication.cpp:2911
#30 0x00007f0ec1ba3669 in Akonadi::AgentBase::init (r=0x55fda25e1cc0) at /usr/src/debug/akonadi-server-18.12.3-lp151.3.4.1.x86_64/src/agentbase/agentbase.cpp:965
#31 0x000055fda01ec813 in Akonadi::AgentBase::init<ArchiveMailAgent> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/agentbase.h:482
#32 0x00007f0ebcfbbf8a in __libc_start_main (main=0x55fda01eaca0 <main(int, char**)>, argc=3, argv=0x7fffe4fe9ad8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe4fe9ac8) at ../csu/libc-start.c:308
#33 0x000055fda01ead6a in _start () at ../sysdeps/x86_64/start.S:120
[Inferior 1 (process 8015) detached]

Reported using DrKonqi
Comment 1 Don Curtis 2020-10-27 09:48:23 UTC
Operating System: openSUSE Leap 15.2
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.71.0
Qt Version: 5.12.7
Archive Mail Agent Version 5.14.2 (20.04.2)

Since the upgrade to openSUSE Leap 15.2, I am no longer experiencing this issue.