<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>426596</bug_id>
          
          <creation_ts>2020-09-16 11:45:15 +0000</creation_ts>
          <short_desc>Application: &quot;akonadi_archivemail_agent&quot; crashed after closing &quot;Configure automatic archving...&quot;-Dialog</short_desc>
          <delta_ts>2020-09-16 16:52:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>Akonadi</product>
          <component>Archive Mail Agent</component>
          <version>unspecified</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Günther Gora">guenther</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>montel</cc>
          
          <cf_commitlink>https://invent.kde.org/pim/kmail/commit/0922a95a692f6424773cd28f21a83237a60d226f</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1957879</commentid>
    <comment_count>0</comment_count>
    <who name="Günther Gora">guenther</who>
    <bug_when>2020-09-16 11:45:15 +0000</bug_when>
    <thetext>Application: akonadi_archivemail_agent (5.15.1 (20.08.1))

Qt Version: 5.15.1
Frameworks Version: 5.73.0
Operating System: Linux 5.8.7-1-default x86_64
Windowing system: X11
Distribution: openSUSE Tumbleweed

-- Information about the crash:
- What I was doing when the application crashed:
checked &quot;Configure automatic archving...&quot; which job is completed
closed this dialog with &quot;OK
after a few seconds the aplication crashed

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f4219733b39 in MailCommon::Util::fullCollectionPath (collection=..., addAccountName=&lt;optimized out&gt;) at /usr/src/debug/mailcommon-20.08.1-1.1.x86_64/src/util/mailutil.cpp:113
#5  0x000055b925aba7eb in ArchiveMailManager::backupDone (this=0x55b9261fc1f0, info=&lt;optimized out&gt;) at /usr/src/debug/kmail-20.08.1-1.1.x86_64/agents/archivemailagent/archivemailmanager.cpp:115
#6  0x000055b925abbf28 in ArchiveJob::slotBackupDone (this=0x55b9263d7f10, info=...) at /usr/src/debug/kmail-20.08.1-1.1.x86_64/agents/archivemailagent/job/archivejob.cpp:125
#7  0x00007f42188ef646 in QtPrivate::QSlotObjectBase::call (a=0x7ffd0a415000, r=0x55b9263d7f10, this=0x55b926413e20) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#8  doActivate&lt;false&gt; (sender=0x55b92643d370, signal_index=3, argv=argv@entry=0x7ffd0a415000) at kernel/qobject.cpp:3886
#9  0x00007f42188e89a0 in QMetaObject::activate (sender=&lt;optimized out&gt;, m=m@entry=0x7f421982c1e0, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd0a415000) at kernel/qobject.cpp:3946
#10 0x00007f4219721872 in MailCommon::BackupJob::backupDone (this=&lt;optimized out&gt;, _t1=...) at /usr/src/debug/mailcommon-20.08.1-1.1.x86_64/build/src/KF5MailCommon_autogen/AYU7XCIYTN/moc_backupjob.cpp:143
#11 0x00007f421976a10d in MailCommon::BackupJob::finish (this=0x55b92643d370) at /usr/src/debug/mailcommon-20.08.1-1.1.x86_64/src/job/backupjob.cpp:214
#12 0x00007f42188e5091 in QObject::event (this=0x55b92643d370, e=0x7f41bc037210) at kernel/qobject.cpp:1314
#13 0x00007f4218dad14f in QApplicationPrivate::notify_helper (this=&lt;optimized out&gt;, receiver=0x55b92643d370, e=0x7f41bc037210) at kernel/qapplication.cpp:3630
#14 0x00007f42188b905a in QCoreApplication::notifyInternal2 (receiver=0x55b92643d370, event=0x7f41bc037210) at ../../include/QtCore/5.15.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#15 0x00007f42188bba91 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55b925e2c630) at kernel/qcoreapplication.cpp:1817
#16 0x00007f4218910f23 in postEventSourceDispatch (s=0x55b925f5d860) at kernel/qeventdispatcher_glib.cpp:277
#17 0x00007f42159242b7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#18 0x00007f4215924638 in ?? () from /usr/lib64/libglib-2.0.so.0
#19 0x00007f42159246ef in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#20 0x00007f42189105af in QEventDispatcherGlib::processEvents (this=0x55b925f66db0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#21 0x00007f42188b7a1b in QEventLoop::exec (this=this@entry=0x7ffd0a415490, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#22 0x00007f42188bfc90 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#23 0x000055b925ab6c0c in Akonadi::AgentBase::init&lt;ArchiveMailAgent&gt; (argv=&lt;optimized out&gt;, argc=&lt;optimized out&gt;) at /usr/src/debug/kmail-20.08.1-1.1.x86_64/agents/archivemailagent/archivemailagent.cpp:75
#24 main (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at /usr/src/debug/kmail-20.08.1-1.1.x86_64/agents/archivemailagent/archivemailagent.cpp:152
[Inferior 1 (process 2483) detached]

Possible duplicates by query: bug 425786, bug 424232, bug 415991, bug 411883, bug 410345.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1957931</commentid>
    <comment_count>1</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2020-09-16 14:46:13 +0000</bug_when>
    <thetext>I onfirm it</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1957958</commentid>
    <comment_count>2</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2020-09-16 16:52:43 +0000</bug_when>
    <thetext>Git commit 0922a95a692f6424773cd28f21a83237a60d226f by Laurent Montel.
Committed on 16/09/2020 at 16:51.
Pushed by mlaurent into branch &apos;release/20.08&apos;.

Fix Bug 426596 - Application: &quot;akonadi_archivemail_agent&quot; crashed after closing &quot;Configure automatic archving...&quot;-Dialog
Related: bug 425786, bug 424232

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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>