Bug 361006 - Akonadi-Agent crash
Summary: Akonadi-Agent crash
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Archive Mail Agent (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-03-26 08:42 UTC by Johann Streitwieser
Modified: 2022-11-29 05:18 UTC (History)
2 users (show)

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 Johann Streitwieser 2016-03-26 08:42:40 UTC
Application: akonadi_archivemail_agent (4.89.0)

Qt Version: 5.5.1
Operating System: Linux 4.2.0-34-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
- What I was doing when the application crashed: I start manual archiving of the kMail folders. I reboot and repeate the procedure and Akonadi-Agent crashes again.

-- Backtrace:
Application: Akonadi-Agent (akonadi_archivemail_agent), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  QBasicAtomicOps<4>::ref<int> (_q_value=@0x7f1f42c06560: -1) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86.h:181
#7  QBasicAtomicInteger<int>::ref (this=0x7f1f42c06560 <QListData::shared_null>) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:129
#8  QUrl::QUrl (this=0x7ffe2cf7d7b0, other=...) at io/qurl.cpp:1796
#9  0x000000000041abdd in ArchiveMailInfo::url (this=this@entry=0x13c09e0) at ../../../agents/archivemailagent/archivemailinfo.cpp:217
#10 0x000000000041ac31 in ArchiveMailInfo::dirArchive (this=this@entry=0x13c09e0, dirExit=@0x7ffe2cf7d9af: true) at ../../../agents/archivemailagent/archivemailinfo.cpp:88
#11 0x000000000041be20 in ArchiveMailInfo::listOfArchive (this=0x13c09e0, folderName=..., dirExist=@0x7ffe2cf7d9af: true) at ../../../agents/archivemailagent/archivemailinfo.cpp:119
#12 0x0000000000418542 in ArchiveMailManager::backupDone (this=0x11e7560, info=0x13c09e0) at ../../../agents/archivemailagent/archivemailmanager.cpp:125
#13 0x00000000004215f9 in ArchiveJob::slotBackupDone (this=0x14084f0, info=...) at ../../../agents/archivemailagent/job/archivejob.cpp:119
#14 0x00007f1f42b60777 in QtPrivate::QSlotObjectBase::call (a=0x7ffe2cf7dbf0, r=0x14084f0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#15 QMetaObject::activate (sender=sender@entry=0x13b12e0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe2cf7dbf0) at kernel/qobject.cpp:3698
#16 0x00007f1f42b610e7 in QMetaObject::activate (sender=sender@entry=0x13b12e0, m=m@entry=0x7f1f465a3800 <MailCommon::BackupJob::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe2cf7dbf0) at kernel/qobject.cpp:3578
#17 0x00007f1f46340182 in MailCommon::BackupJob::backupDone (this=this@entry=0x13b12e0, _t1=...) at moc_backupjob.cpp:180
#18 0x00007f1f462b7c1b in MailCommon::BackupJob::finish (this=0x13b12e0) at ../../mailcommon/job/backupjob.cpp:223
#19 0x00007f1f462b9f55 in MailCommon::BackupJob::archiveNextFolder (this=this@entry=0x13b12e0) at ../../mailcommon/job/backupjob.cpp:349
#20 0x00007f1f462bab67 in MailCommon::BackupJob::archiveNextMessage (this=0x13b12e0) at ../../mailcommon/job/backupjob.cpp:235
#21 0x00007f1f46343f05 in MailCommon::BackupJob::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at moc_backupjob.cpp:101
#22 0x00007f1f42b617b1 in QObject::event (this=0x13b12e0, e=<optimized out>) at kernel/qobject.cpp:1239
#23 0x00007f1f434269dc in QApplicationPrivate::notify_helper (this=this@entry=0x10f6630, receiver=receiver@entry=0x13b12e0, e=e@entry=0x12f1620) at kernel/qapplication.cpp:3716
#24 0x00007f1f4342bea6 in QApplication::notify (this=0x7ffe2cf7e660, receiver=0x13b12e0, e=0x12f1620) at kernel/qapplication.cpp:3499
#25 0x00007f1f42b31d7b in QCoreApplication::notifyInternal (this=0x7ffe2cf7e660, receiver=0x13b12e0, event=event@entry=0x12f1620) at kernel/qcoreapplication.cpp:965
#26 0x00007f1f42b34176 in QCoreApplication::sendEvent (event=0x12f1620, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x10cdfd0) at kernel/qcoreapplication.cpp:1593
#28 0x00007f1f42b34658 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#29 0x00007f1f42b880e3 in postEventSourceDispatch (s=0x113ae20) at kernel/qeventdispatcher_glib.cpp:271
#30 0x00007f1f3abafff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f1f3abb0250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f1f3abb02fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f1f42b884ef in QEventDispatcherGlib::processEvents (this=0x1135820, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#34 0x00007f1f42b2f50a in QEventLoop::exec (this=this@entry=0x7ffe2cf7e5d0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#35 0x00007f1f42b375ec in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#36 0x00007f1f42e6bd1c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1530
#37 0x00007f1f43422e15 in QApplication::exec () at kernel/qapplication.cpp:2976
#38 0x00007f1f465bde66 in Akonadi::AgentBase::init (r=r@entry=0x116e830) at ../../../../akonadi/src/agentbase/agentbase.cpp:959
#39 0x0000000000416ef8 in Akonadi::AgentBase::init<ArchiveMailAgent> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/agentbase.h:475
#40 0x00007f1f41f68a40 in __libc_start_main (main=0x415500 <main(int, char**)>, argc=3, argv=0x7ffe2cf7e788, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe2cf7e778) at libc-start.c:289
#41 0x00000000004155c9 in _start ()

Reported using DrKonqi
Comment 1 Andrew Crouthamel 2018-11-01 13:50:02 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Bug Janitor Service 2018-11-16 11:40:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Johann Streitwieser 2018-11-16 14:46:21 UTC
Unfortunately, I can not test the bug anymore because I no longer use Kmail.
Comment 4 Peter Humphrey 2019-02-23 10:00:16 UTC
(In reply to Andrew Crouthamel from comment #1)
> Dear Bug Submitter,
> 
> This bug has been stagnant for a long time. Could you help us out and
> re-test if the bug is valid in the latest version? I am setting the status
> to NEEDSINFO pending your response, please change the Status back to
> REPORTED when you respond.
I'm experiencing it today. It's repeatable. Every time I attempt to archive Local Folders, when it reaches a certain group of folders it crashes. These are four folders of mails generated locally by my LAN boxes. I've tried deleting the folders and importing from backup, with one of two effects: either no change, or when I move one of the folders into place I get an error message:
--------
Unable to retrieve item from resource:
[LRCONFLICT] Resource
akonadi_maildir_resource_0 tries to modify item
7406() (in collection 84) with dirty payload.
aborting STORE
--------
I tried importing from an earlier backup but got the same result.

This is Gentoo ~amd64 with kmail-18.12.2 (5.10.2), kde-frameworks 5.55.0.

Context: a newly built ~amd64 system, built entirely from sources as Gentoo always is. I wanted ~amd64 rather than the stable versions to get the latest kmail, which has always caused me problems too numerous to mention here.

My problem may be unrelated to this bug; please tell me what I can do to help more.
Comment 5 Daniel Moyne 2020-10-23 07:10:40 UTC
each time I open kmail I get an error message saying that akonadi has stopped. It makes my entire system to freeze
Comment 6 Justin Zobel 2022-10-30 00:40:27 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 7 Bug Janitor Service 2022-11-14 05:14:53 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2022-11-29 05:18:11 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!