Bug 360989

Summary: crash on archiving mails
Product: [Frameworks and Libraries] Akonadi Reporter: Tom Mittelstädt <tom-kde.bugs>
Component: Archive Mail AgentAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Tom Mittelstädt 2016-03-25 23:14:17 UTC
Application: akonadi_archivemail_agent (4.89.0)

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

-- Information about the crash:
The Akonadi backand crashes if I use the archive function on an IMAP account with ~300MB and many folders and mails.

The crash can be reproduced every time.

-- 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>::deref<int> (_q_value=@0x2d4ead4d00000011: <error reading variable>) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86.h:219
#7  QBasicAtomicInteger<int>::deref (this=0x2d4ead4d00000011) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:130
#8  QUrl::~QUrl (this=0x20f8b40, __in_chrg=<optimized out>) at io/qurl.cpp:1804
#9  0x0000000000422218 in ArchiveJob::~ArchiveJob (this=0x20df140, __in_chrg=<optimized out>) at ../../../agents/archivemailagent/job/archivejob.cpp:41
#10 0x0000000000422249 in ArchiveJob::~ArchiveJob (this=0x20df140, __in_chrg=<optimized out>) at ../../../agents/archivemailagent/job/archivejob.cpp:42
#11 0x00007f6d7f2477d0 in QObject::event (this=0x20df140, e=<optimized out>) at kernel/qobject.cpp:1230
#12 0x00007f6d7fb0c9dc in QApplicationPrivate::notify_helper (this=this@entry=0x1d3a500, receiver=receiver@entry=0x20df140, e=e@entry=0x1ecd2c0) at kernel/qapplication.cpp:3716
#13 0x00007f6d7fb11ea6 in QApplication::notify (this=0x7ffeb084b470, receiver=0x20df140, e=0x1ecd2c0) at kernel/qapplication.cpp:3499
#14 0x00007f6d7f217d7b in QCoreApplication::notifyInternal (this=0x7ffeb084b470, receiver=0x20df140, event=event@entry=0x1ecd2c0) at kernel/qcoreapplication.cpp:965
#15 0x00007f6d7f21a176 in QCoreApplication::sendEvent (event=0x1ecd2c0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1d12020) at kernel/qcoreapplication.cpp:1593
#17 0x00007f6d7f21a658 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#18 0x00007f6d7f26e0e3 in postEventSourceDispatch (s=0x1d7b710) at kernel/qeventdispatcher_glib.cpp:271
#19 0x00007f6d77295ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f6d77296250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f6d772962fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f6d7f26e4ef in QEventDispatcherGlib::processEvents (this=0x1d75740, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#23 0x00007f6d7f21550a in QEventLoop::exec (this=this@entry=0x7ffeb084b3e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#24 0x00007f6d7f21d5ec in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#25 0x00007f6d7f551d1c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1530
#26 0x00007f6d7fb08e15 in QApplication::exec () at kernel/qapplication.cpp:2976
#27 0x00007f6d82ca3e66 in Akonadi::AgentBase::init (r=r@entry=0x1dea590) at ../../../../akonadi/src/agentbase/agentbase.cpp:959
#28 0x0000000000416ef8 in Akonadi::AgentBase::init<ArchiveMailAgent> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/agentbase.h:475
#29 0x00007f6d7e64ea40 in __libc_start_main (main=0x415500 <main(int, char**)>, argc=3, argv=0x7ffeb084b598, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffeb084b588) at libc-start.c:289
#30 0x00000000004155c9 in _start ()

Reported using DrKonqi
Comment 1 Andrew Crouthamel 2018-11-01 13:55:19 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 Tom Mittelstädt 2018-11-01 14:52:43 UTC
The issue is not reproducable anymore in recent versions.