Bug 392956 - database corrupt
Summary: database corrupt
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 5.6.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-10 06:15 UTC by Fred Jackson
Modified: 2020-10-11 08:35 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 Fred Jackson 2018-04-10 06:15:30 UTC
problems with the database are causing kmail to be totally unusable. My symptoms include but are not limited to: some emails are being "duplicated" - the duplicate entry causes "unable to fetch......" which kills archiving, filtering and viewing of messages.
kmail cannot be used without these functions.

another symptom: "org.kde.pim.akonadi_indexer_agent: Database Corrupted - What did you do?". I cannot resolve this error: if i delete the database and restart akonadi then the error comes right back.
Comment 1 Dan 2020-10-11 08:35:23 UTC
I have similar symptomps with kmail (kontact 5.15.1 (20.08.1), KDE Frameworks 5.47.0 on Arch Linux.

Apart of mail duplication, the akonadi server consumes all the memory after some time ...

Here is a part of the log obtained when `akonadictl restart` is called (is it safe to send it whole?):


org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f6950303b30) )
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f6950303b30) )
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f69502afe90) )
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f695020df90) identified as "AgentBaseChangeRecorder - 94582020480560"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f6950303b30) identified as "Archive Mail Kernel ETM - 94582020541536"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f69502afe90) identified as "ArchiveMailCollectionMonitor - 94582020801040"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f6950306c30) )
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f6950306c30) identified as "SpecialCollectionsMonitor - 94167298158096"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f6950311c90) )
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f695020dc40) identified as "AgentBaseChangeRecorder - 94321149800128"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f6950270b20) identified as "AgentBaseChangeRecorder - 94041219792608"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f6950311c90) identified as "UnifiedMailboxChangeRecorder - 140722923724944"
terminate called after throwing an instance of 'Xapian::DatabaseModifiedError'
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f695022b260) identified as "AgentBaseChangeRecorder - 94159610622528"
org.kde.kgapi: Unauthorized. Access token has expired or is invalid.
org.kde.pim.google: Got error: KGAPI2::CalendarFetchJob(0x55a33e2bc560) "Neplatné ověření."
org.kde.kgapi: Unauthorized. Access token has expired or is invalid.
org.kde.pim.google: Got error: KGAPI2::TaskListFetchJob(0x55a33e2a7dc0) "Neplatné ověření."
org.kde.kgapi: Unauthorized. Access token has expired or is invalid.
org.kde.pim.google: Got error: KGAPI2::ContactsGroupFetchJob(0x55a33e25c040) "Neplatné ověření."
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 94510664681936" disconnected
org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_indexing_agent" stopped unexpectedly ( "Process crashed" )
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_indexing_agent' crashed! 1 restarts left.
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f6950190250) )
org.kde.pim.akonadi_indexer_agent: Database Corrupted - What did you do?
org.kde.pim.akonadi_indexer_agent: 
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f6950190250) identified as "AgentBaseChangeRecorder - 94316572205968"
terminate called after throwing an instance of 'Xapian::DatabaseModifiedError'
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 94316572205968" disconnected
org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_indexing_agent" stopped unexpectedly ( "Process crashed" )
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_indexing_agent' crashed! 0 restarts left.
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f6950334170) )
org.kde.pim.akonadi_indexer_agent: Database Corrupted - What did you do?
org.kde.pim.akonadi_indexer_agent: 
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f6950334170) identified as "AgentBaseChangeRecorder - 94020415634304"
terminate called after throwing an instance of 'Xapian::DatabaseModifiedError'
org.kde.pim.akonadiserver: Subscriber "AgentBaseChangeRecorder - 94020415634304" disconnected
org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_indexing_agent" stopped unexpectedly ( "Process crashed" )
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_indexing_agent' crashed too often. Giving up!
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f69501b44e0) )
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f69501b44e0) identified as "SpecialCollectionsMonitor - 94220474320960"
QIODevice::write (QSslSocket): device not open
org.kde.pim.akonadiserver.search: Executing search "searchUpdate-1602405199"
org.kde.pim.akonadiserver.search: Search  "searchUpdate-1602405199" done (without remote search)
org.kde.pim.akonadiserver.search: Search update for collection "OpenInvitations" ( 62 ) finished: all results:  0 , removed results: 0
org.kde.pim.akonadiserver.search: Executing search "searchUpdate-1602405199"
org.kde.pim.akonadiserver.search: Search  "searchUpdate-1602405199" done (without remote search)
org.kde.pim.akonadiserver.search: Search update for collection "DeclinedInvitations" ( 63 ) finished: all results:  0 , removed results: 0
org.kde.pim.kimap: Connection to server lost  QAbstractSocket::UnknownSocketError