https://bugs.kde.org/show_bug.cgi?id=463962
Bug ID: 463962 Summary: Kmail crashes when changes data for archiving Classification: Frameworks and Libraries Product: Akonadi Version: unspecified Platform: OpenSUSE OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: Archive Mail Agent Assignee: kdepim-bugs@kde.org Reporter: jan.muss...@gmail.com Target Milestone: --- Application: akonadi_archivemail_agent (5.22.0 (22.12.0)) Qt Version: 5.15.7 Frameworks Version: 5.101.0 Operating System: Linux 6.1.0-1-default x86_64 Windowing System: X11 Distribution: "openSUSE Tumbleweed" DrKonqi: 5.26.4 [KCrashBackend] -- Information about the crash: I noticed that my archive files are 3 days old while there should be a new set every day. I tried to edit the settings but since the email folders are greyed out I can't. I then edited the output folder on disk and created a new folder for the archives. That worked, but after a few seconds the system crashed. The crash can be reproduced every time. -- Backtrace: Application: akonadi_archivemail_agent (akonadi_archivemail_agent), signal: Segmentation fault [KCrash Handler] #4 std::__atomic_base<int>::operator++ (this=0x61006a002f0065) at /usr/include/c++/12/bits/atomic_base.h:384 #5 QAtomicOps<int>::ref<int> (_q_value=<error reading variable: Cannot access memory at address 0x61006a002f0065>) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:283 #6 QBasicAtomicInteger<int>::ref (this=0x61006a002f0065) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:118 #7 QUrl::QUrl (this=this@entry=0x7ffc5706ca38, other=...) at io/qurl.cpp:1861 #8 0x0000562ed07ddc5d in ArchiveMailInfo::url (this=<optimized out>) at /usr/src/debug/kmail-22.12.0/agents/archivemailagent/archivemailinfo.cpp:185 #9 ArchiveMailInfo::dirArchive (this=0x562ed15b2510, dirExit=@0x7ffc5706caf7: true) at /usr/src/debug/kmail-22.12.0/agents/archivemailagent/archivemailinfo.cpp:57 #10 0x0000562ed07df6c8 in ArchiveMailInfo::listOfArchive (dirExist=@0x7ffc5706caf7: true, folderName=..., this=<optimized out>) at /usr/src/debug/kmail-22.12.0/agents/archivemailagent/archivemailinfo.cpp:87 #11 ArchiveMailManager::backupDone (this=0x562ed161a230, info=<optimized out>) at /usr/src/debug/kmail-22.12.0/agents/archivemailagent/archivemailmanager.cpp:103 #12 0x0000562ed07e0d7a in ArchiveJob::slotBackupDone (this=0x562ed1b28050, info=...) at /usr/src/debug/kmail-22.12.0/agents/archivemailagent/job/archivejob.cpp:112 #13 0x00007f5e7e7132cd in QtPrivate::QSlotObjectBase::call (a=0x7ffc5706cd00, r=0x562ed1b28050, this=0x562ed15b2430) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #14 doActivate<false> (sender=0x562ed1b5e920, signal_index=3, argv=0x7ffc5706cd00) at kernel/qobject.cpp:3919 #15 0x00007f5e7e70c74f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f5e7f810ae0, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc5706cd00) at kernel/qobject.cpp:3979 #16 0x00007f5e7f707022 in MailCommon::BackupJob::backupDone (this=<optimized out>, _t1=...) at /usr/src/debug/mailcommon-22.12.0/build/src/KF5MailCommon_autogen/AYU7XCIYTN/moc_backupjob.cpp:143 #17 0x00007f5e7f771a4b in MailCommon::BackupJob::finish (this=0x562ed1b5e920) at /usr/src/debug/mailcommon-22.12.0/src/job/backupjob.cpp:202 #18 0x00007f5e7e707c40 in QObject::event (this=0x562ed1b5e920, e=0x7f5e38062200) at kernel/qobject.cpp:1347 #19 0x00007f5e7eba53fe in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x562ed1b5e920, e=0x7f5e38062200) at kernel/qapplication.cpp:3637 #20 0x00007f5e7e6dc128 in QCoreApplication::notifyInternal2 (receiver=0x562ed1b5e920, event=0x7f5e38062200) at kernel/qcoreapplication.cpp:1064 #21 0x00007f5e7e6df0c1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x562ed14e97d0) at kernel/qcoreapplication.cpp:1821 #22 0x00007f5e7e734353 in postEventSourceDispatch (s=0x562ed15c3590) at kernel/qeventdispatcher_glib.cpp:277 #23 0x00007f5e7b869a90 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #24 0x00007f5e7b869e48 in ?? () from /lib64/libglib-2.0.so.0 #25 0x00007f5e7b869edc in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #26 0x00007f5e7e733b56 in QEventDispatcherGlib::processEvents (this=0x562ed15d4c10, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #27 0x00007f5e7e6dab9b in QEventLoop::exec (this=this@entry=0x7ffc5706d1a0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #28 0x00007f5e7e6e2d06 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #29 0x0000562ed07dba39 in Akonadi::AgentBase::init<ArchiveMailAgent> (argv=<optimized out>, argc=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/akonadi/agentbase.h:469 #30 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kmail-22.12.0/agents/archivemailagent/archivemailagent.cpp:141 [Inferior 1 (process 2055) detached] Reported using DrKonqi -- You are receiving this mail because: You are the assignee for the bug.