Bug 347300 - Archiving process of Kontact fails during procedure
Summary: Archiving process of Kontact fails during procedure
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Archive Mail Agent (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-05-06 12:09 UTC by stakanov.s
Modified: 2018-02-01 09:46 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 stakanov.s 2015-05-06 12:09:22 UTC
Application: akonadi_archivemail_agent (4.14)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.16.7-21-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
The archival process was given the order to automatize the archive of /local folder and of all subfolders. This was the first automated archival with this installation. Indexes seem to be O.K. and the program Kontact (up to now) does not crash. 
- Unusual behavior I noticed:
The automatized archival procedure crashes shortly after the beginning and pops up konqui.

-- Backtrace:
Application: Agente di archiviazione della posta (akonadi_archivemail_agent), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbbfde1e800 (LWP 9451))]

Thread 3 (Thread 0x7fbbd9694700 (LWP 9625)):
#0  0x00007fbbfa3eac3d in poll () from /lib64/libc.so.6
#1  0x00007fbbf378dbe4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fbbf378dcec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fbbfba450de in QEventDispatcherGlib::processEvents (this=0x7fbbd40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007fbbfba16e6f in QEventLoop::processEvents (this=this@entry=0x7fbbd9693da0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fbbfba17165 in QEventLoop::exec (this=this@entry=0x7fbbd9693da0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fbbfb9140bf in QThread::exec (this=this@entry=0x13b2240) at thread/qthread.cpp:538
#7  0x00007fbbfb9f8783 in QInotifyFileSystemWatcherEngine::run (this=0x13b2240) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fbbfb91679f in QThreadPrivate::start (arg=0x13b2240) at thread/qthread_unix.cpp:349
#9  0x00007fbbf7a6b0a4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fbbfa3f306d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fbbd3fff700 (LWP 9627)):
#0  0x00007fbbfa3e6d0d in read () from /lib64/libc.so.6
#1  0x00007fbbf37ce750 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fbbf378d714 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fbbf378db7b in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fbbf378dcec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fbbfba450de in QEventDispatcherGlib::processEvents (this=0x7fbbcc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x00007fbbfba16e6f in QEventLoop::processEvents (this=this@entry=0x7fbbd3ffeda0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fbbfba17165 in QEventLoop::exec (this=this@entry=0x7fbbd3ffeda0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fbbfb9140bf in QThread::exec (this=this@entry=0x12a2420) at thread/qthread.cpp:538
#9  0x00007fbbfb9f8783 in QInotifyFileSystemWatcherEngine::run (this=0x12a2420) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fbbfb91679f in QThreadPrivate::start (arg=0x12a2420) at thread/qthread_unix.cpp:349
#11 0x00007fbbf7a6b0a4 in start_thread () from /lib64/libpthread.so.0
#12 0x00007fbbfa3f306d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fbbfde1e800 (LWP 9451)):
[KCrash Handler]
#6  ref (this=0x65006c00454e20) at ../../src/corelib/arch/qatomic_x86_64.h:121
#7  QUrl::QUrl (this=0x7fff7fd2a360, other=...) at io/qurl.cpp:4270
#8  0x00007fbbfc11ca69 in KUrl::KUrl (this=0x7fff7fd2a360, _u=...) at /usr/src/debug/kdelibs-4.14.6/kdecore/io/kurl.cpp:490
#9  0x000000000041491f in url (this=0xedd920) at /usr/src/debug/kdepim-4.14.6/agents/archivemailagent/archivemailinfo.cpp:218
#10 ArchiveMailInfo::dirArchive (this=this@entry=0xedd920, dirExit=@0x7fff7fd2a49f: true) at /usr/src/debug/kdepim-4.14.6/agents/archivemailagent/archivemailinfo.cpp:88
#11 0x0000000000415045 in ArchiveMailInfo::listOfArchive (this=0xedd920, folderName=..., dirExist=@0x7fff7fd2a49f: true) at /usr/src/debug/kdepim-4.14.6/agents/archivemailagent/archivemailinfo.cpp:119
#12 0x000000000040f32b in ArchiveMailManager::backupDone (this=0x100ec70, info=0xedd920) at /usr/src/debug/kdepim-4.14.6/agents/archivemailagent/archivemailmanager.cpp:125
#13 0x0000000000416e80 in ArchiveJob::slotBackupDone (this=0x133bfe0, info=...) at /usr/src/debug/kdepim-4.14.6/agents/archivemailagent/archivejob.cpp:121
#14 0x00007fbbfba2c1fa in QMetaObject::activate (sender=sender@entry=0x13329d0, m=m@entry=0x7fbbfce8e8c0 <MailCommon::BackupJob::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff7fd2a6b0) at kernel/qobject.cpp:3576
#15 0x00007fbbfcc33292 in MailCommon::BackupJob::backupDone (this=this@entry=0x13329d0, _t1=...) at /usr/src/debug/kdepim-4.14.6/build/mailcommon/moc_backupjob.cpp:115
#16 0x00007fbbfcbc0e61 in MailCommon::BackupJob::finish (this=0x13329d0) at /usr/src/debug/kdepim-4.14.6/mailcommon/job/backupjob.cpp:222
#17 0x00007fbbfcbc2775 in MailCommon::BackupJob::archiveNextFolder (this=this@entry=0x13329d0) at /usr/src/debug/kdepim-4.14.6/mailcommon/job/backupjob.cpp:349
#18 0x00007fbbfcbc2fcc in MailCommon::BackupJob::archiveNextMessage (this=this@entry=0x13329d0) at /usr/src/debug/kdepim-4.14.6/mailcommon/job/backupjob.cpp:234
#19 0x00007fbbfcbc336e in MailCommon::BackupJob::onArchiveNextFolderDone (this=0x13329d0, job=0xf0c630) at /usr/src/debug/kdepim-4.14.6/mailcommon/job/backupjob.cpp:400
#20 0x00007fbbfba2c1fa in QMetaObject::activate (sender=sender@entry=0xf0c630, m=m@entry=0x7fbbfc4b7600 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff7fd2ac80) at kernel/qobject.cpp:3576
#21 0x00007fbbfc129302 in KJob::result (this=this@entry=0xf0c630, _t1=_t1@entry=0xf0c630) at /usr/src/debug/kdelibs-4.14.6/build/kdecore/kjob.moc:207
#22 0x00007fbbfc129340 in KJob::emitResult (this=0xf0c630) at /usr/src/debug/kdelibs-4.14.6/kdecore/jobs/kjob.cpp:318
#23 0x00007fbbfba3059e in QObject::event (this=0xf0c630, e=<optimized out>) at kernel/qobject.cpp:1231
#24 0x00007fbbfadb176c in QApplicationPrivate::notify_helper (this=this@entry=0xddb660, receiver=receiver@entry=0xf0c630, e=e@entry=0x11354f0) at kernel/qapplication.cpp:4565
#25 0x00007fbbfadb7cad in QApplication::notify (this=this@entry=0x7fff7fd2b340, receiver=receiver@entry=0xf0c630, e=e@entry=0x11354f0) at kernel/qapplication.cpp:4351
#26 0x00007fbbfc6facea in KApplication::notify (this=0x7fff7fd2b340, receiver=0xf0c630, event=0x11354f0) at /usr/src/debug/kdelibs-4.14.6/kdeui/kernel/kapplication.cpp:311
#27 0x00007fbbfba182ad in QCoreApplication::notifyInternal (this=0x7fff7fd2b340, receiver=receiver@entry=0xf0c630, event=event@entry=0x11354f0) at kernel/qcoreapplication.cpp:953
#28 0x00007fbbfba1b57d in sendEvent (event=0x11354f0, receiver=0xf0c630) at kernel/qcoreapplication.h:231
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xd7c860) at kernel/qcoreapplication.cpp:1577
#30 0x00007fbbfba1ba23 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#31 0x00007fbbfba458fe in sendPostedEvents () at kernel/qcoreapplication.h:236
#32 postEventSourceDispatch (s=0xdcb980) at kernel/qeventdispatcher_glib.cpp:300
#33 0x00007fbbf378da04 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#34 0x00007fbbf378dc48 in ?? () from /usr/lib64/libglib-2.0.so.0
#35 0x00007fbbf378dcec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#36 0x00007fbbfba450be in QEventDispatcherGlib::processEvents (this=0xd82100, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#37 0x00007fbbfae4e676 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007fbbfba16e6f in QEventLoop::processEvents (this=this@entry=0x7fff7fd2b2b0, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007fbbfba17165 in QEventLoop::exec (this=this@entry=0x7fff7fd2b2b0, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007fbbfba1c5b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#41 0x00007fbbfd88b683 in Akonadi::AgentBase::init(Akonadi::AgentBase*) () from /usr/lib64/libakonadi-kde.so.4
#42 0x000000000040e033 in Akonadi::AgentBase::init<ArchiveMailAgent> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/agentbase.h:455
#43 0x00007fbbfa32fb05 in __libc_start_main () from /lib64/libc.so.6
#44 0x000000000040d2ab in _start () at ../sysdeps/x86_64/start.S:122

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

Possible duplicates by query: bug 331095.

Reported using DrKonqi
Comment 1 Denis Kurz 2017-06-23 20:03:06 UTC
This bug has never been confirmed for a KDE PIM version that is based on KDE Frameworks (5.x). Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the oportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 2 Denis Kurz 2018-02-01 09:46:43 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12; preferably much more recent), please open a new one unless it already exists. Thank you for all your input.