Bug 424232 - Crash of the automatic mail archiver
Summary: Crash of the automatic mail archiver
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Archive Mail Agent (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-07-15 11:59 UTC by Unknown
Modified: 2020-09-16 16:52 UTC (History)
0 users

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 Unknown 2020-07-15 11:59:22 UTC
Application: akonadi_archivemail_agent (5.14.3 (20.04.3))

Qt Version: 5.14.2
Frameworks Version: 5.72.0
Operating System: Linux 5.3.0-62-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.19

-- Information about the crash:
I have configured automatic email archiving and every time it tries to run it crashes

-- Backtrace:
Application: akonadi_archivemail_agent (akonadi_archivemail_agent), signal: Segmentation fault

[KCrash Handler]
#4  0x0000562bcdb8b410 in ?? ()
#5  0x00007f965df711c9 in QMetaObject::cast (this=this@entry=0x7f965e4343c0 <QAbstractProxyModel::staticMetaObject>, obj=obj@entry=0x562bcdc0a370) at kernel/qmetaobject.cpp:381
#6  0x00007f965fa3c8af in qobject_cast<QAbstractProxyModel const*> (object=0x562bcdc0a370) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:533
#7  proxiesAndModel (model=0x562bcdc0a370) at ./src/core/models/entitytreemodel.cpp:1147
#8  0x00007f965fa3c9b0 in Akonadi::EntityTreeModel::modelIndexForCollection (model=<optimized out>, collection=...) at ./src/core/models/entitytreemodel.cpp:1171
#9  0x00007f96601fea90 in MailCommon::Util::fullCollectionPath (collection=..., addAccountName=<optimized out>) at ./src/util/mailutil.cpp:114
#10 0x0000562bcc49d0bb in ArchiveJob::execute (this=0x562bcdb841e0) at ./agents/archivemailagent/job/archivejob.cpp:51
#11 0x00007f96602458ab in MailCommon::JobScheduler::runTaskNow (this=0x562bcdb7c170, task=<optimized out>) at ./src/job/jobscheduler.cpp:204
#12 0x00007f96602459b9 in MailCommon::JobScheduler::slotRunNextJob (this=0x562bcdb7c170) at ./src/job/jobscheduler.cpp:158
#13 0x00007f965dfa26d7 in QtPrivate::QSlotObjectBase::call (a=0x7ffd42b39c00, r=0x562bcdb7c170, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#14 doActivate<false> (sender=0x562bcdb7c188, signal_index=3, argv=0x7ffd42b39c00) at kernel/qobject.cpp:3870
#15 0x00007f965df9cf92 in QMetaObject::activate (sender=sender@entry=0x562bcdb7c188, m=m@entry=0x7f965e435ce0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd42b39c00) at kernel/qobject.cpp:3930
#16 0x00007f965dfa6297 in QTimer::timeout (this=this@entry=0x562bcdb7c188, _t1=...) at .moc/moc_qtimer.cpp:205
#17 0x00007f965dfa65f8 in QTimer::timerEvent (this=0x562bcdb7c188, e=<optimized out>) at kernel/qtimer.cpp:257
#18 0x00007f965df9a4e3 in QObject::event (this=0x562bcdb7c188, e=0x7ffd42b39f60) at kernel/qobject.cpp:1361
#19 0x00007f965e82b9ac in QApplicationPrivate::notify_helper (this=this@entry=0x562bcd7e8740, receiver=receiver@entry=0x562bcdb7c188, e=e@entry=0x7ffd42b39f60) at kernel/qapplication.cpp:3685
#20 0x00007f965e832bb0 in QApplication::notify (this=0x7ffd42b3a260, receiver=0x562bcdb7c188, e=0x7ffd42b39f60) at kernel/qapplication.cpp:3431
#21 0x00007f965df674a8 in QCoreApplication::notifyInternal2 (receiver=0x562bcdb7c188, event=0x7ffd42b39f60) at kernel/qcoreapplication.cpp:1075
#22 0x00007f965dfc5c39 in QTimerInfoList::activateTimers (this=0x562bcd8362d0) at kernel/qtimerinfo_unix.cpp:643
#23 0x00007f965dfc6401 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#24 0x00007f9653cd7417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f9653cd7650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f9653cd76dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f965dfc67ac in QEventDispatcherGlib::processEvents (this=0x562bcd835a30, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#28 0x00007f965df65d2a in QEventLoop::exec (this=this@entry=0x7ffd42b3a1b0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#29 0x00007f965df6f4a0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1383
#30 0x00007f96607aeb4d in Akonadi::AgentBase::init (r=...) at ./src/agentbase/agentbase.cpp:967
#31 0x0000562bcc49860b in Akonadi::AgentBase::init<ArchiveMailAgent> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/agentbase.h:484
#32 0x00007f965d354b97 in __libc_start_main (main=0x562bcc497360 <main(int, char**)>, argc=3, argv=0x7ffd42b3a3b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd42b3a3a8) at ../csu/libc-start.c:310
#33 0x0000562bcc4973fa in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 415991.

Possible duplicates by query: bug 415991, bug 414454, bug 405922, bug 403359, bug 386007.

Reported using DrKonqi
Comment 1 Laurent Montel 2020-09-16 16:52:35 UTC
Git commit 0922a95a692f6424773cd28f21a83237a60d226f by Laurent Montel.
Committed on 16/09/2020 at 16:51.
Pushed by mlaurent into branch 'release/20.08'.

Fix Bug 426596 - Application: "akonadi_archivemail_agent" crashed after closing "Configure automatic archving..."-Dialog
Related: bug 426596, bug 425786

M  +6    -0    agents/archivemailagent/archivemailkernel.cpp
M  +2    -0    agents/archivemailagent/archivemailkernel.h
M  +1    -1    agents/archivemailagent/archivemailmanager.cpp
M  +1    -2    agents/archivemailagent/archivemailwidget.cpp

https://invent.kde.org/pim/kmail/commit/0922a95a692f6424773cd28f21a83237a60d226f