Bug 396657 - Search mail kills akonadi server
Summary: Search mail kills akonadi server
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Indexer (show other bugs)
Version: 5.8.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-19 06:13 UTC by Axel Braun
Modified: 2018-09-24 15:47 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 Axel Braun 2018-07-19 06:13:51 UTC
In KMail, click 'search mail', enter a search phrase, click search: A dialog comes up that the mail account needs to be re-indexed. Klick OK, and let it run.
After some time the dialog states that akonadi is not running anymore.
Output of akonadiconsole, whic was running in parallel:

docb@T520:~> akonadiconsole
Found only the dummy module in speech-dispatcher. No text to speech possible. Install a tts module (e.g. espeak).
[0719/075532.317303:WARNING:stack_trace_posix.cc(699)] Failed to open file: /home/docb/#734418272 (deleted)
  Error: Datei oder Verzeichnis nicht gefunden
org.kde.pim.akonadicore: "QLocalSocket: Die Verbindung wurde von der Gegenseite geschlossen" "/tmp/akonadi-docb.bap6lB/akonadiserver-cmd.socket"
org.kde.pim.akonadicore: Socket error occurred: "QLocalSocket: Die Verbindung wurde von der Gegenseite geschlossen"
org.kde.pim.akonadicore: "QLocalSocket: Die Verbindung wurde von der Gegenseite geschlossen" "/tmp/akonadi-docb.bap6lB/akonadiserver-cmd.socket"
org.kde.pim.akonadicore: "QLocalSocket: Die Verbindung wurde von der Gegenseite geschlossen" "/tmp/akonadi-docb.bap6lB/akonadiserver-ntf.socket"
org.kde.pim.akonadicore: "QLocalSocket: Die Verbindung wurde von der Gegenseite geschlossen" "/tmp/akonadi-docb.bap6lB/akonadiserver-cmd.socket"
org.kde.pim.akonadicore: "QLocalSocket: Die Verbindung wurde von der Gegenseite geschlossen" "/tmp/akonadi-docb.bap6lB/akonadiserver-ntf.socket"
org.kde.pim.akonadicore: "QLocalSocket: Die Verbindung wurde von der Gegenseite geschlossen" "/tmp/akonadi-docb.bap6lB/akonadiserver-ntf.socket"
org.kde.pim.akonadicore: "QLocalSocket: Die Verbindung wurde von der Gegenseite geschlossen" "/tmp/akonadi-docb.bap6lB/akonadiserver-ntf.socket"
org.kde.pim.akonadicore: Socket error occurred: "QLocalSocket: Die Verbindung wurde von der Gegenseite geschlossen"
org.kde.pim.akonadicore: Socket error occurred: "QLocalSocket: Die Verbindung wurde von der Gegenseite geschlossen"
org.kde.pim.akonadicore: "QLocalSocket: Die Verbindung wurde von der Gegenseite geschlossen" "/tmp/akonadi-docb.bap6lB/akonadiserver-ntf.socket"
org.kde.pim.akonadicore: "QLocalSocket: Die Verbindung wurde von der Gegenseite geschlossen" "/tmp/akonadi-docb.bap6lB/akonadiserver-ntf.socket"
org.kde.pim.akonadicore: "QLocalSocket: Die Verbindung wurde von der Gegenseite geschlossen" "/tmp/akonadi-docb.bap6lB/akonadiserver-ntf.socket"

Is this 'file not found' error causing the problem? If so, how can I get rid of the entry?
Comment 1 Axel Braun 2018-07-19 06:18:51 UTC
After starting akonadi manually again:
----
docb@T520:~> akonadictl start
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.akonadiserver: PostgreSQL for Akonadi is already running, trying to connect to it.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.akonadicontrol: "AgentManager::agentInstanceSynchronizeCollection"  Agent instance  "akonadi_imap_resource_0"  has no resource interface!
org.kde.pim.akonadiserver: "Cannot connect to agent instance with identifier 'akonadi_imap_resource_0', error message: ''"
true
org.kde.kgapi.raw: CalendarFetchJob::url() QUrl("https://www.googleapis.com/calendar/v3/users/me/calendarList")
org.kde.kgapi.raw: ("Authorization: Bearer ya29.Gl39BURP6bpxdY5X1azR1lZTt1E4ILmYggWfP7wqNGMTZYcS8zlL2iVKYainDKlbniMji2L2ulvEereyZYnCyAgherW8_K5d8q07p2dpZouQ3eQ8HwQKiO2TqwuqOwY", "GData-Version: 3")
org.kde.kgapi: Queued QUrl("https://www.googleapis.com/calendar/v3/users/me/calendarList")
org.kde.kgapi: KGAPI2::CalendarFetchJob(0x55660bdd7f70) Dispatching request to QUrl("https://www.googleapis.com/calendar/v3/users/me/calendarList")
org.kde.kgapi.raw: ""
true
true
----

The mentioned akonadi_imap_resource_0 is shown in akonadiconsole as 'ready, idle'...so, is this a critical issue or not?
Comment 2 Daniel Vrátil 2018-08-27 21:43:35 UTC
Is this still happening? Can you get a backtrace of the crash from DrKonqi?
Comment 3 Axel Braun 2018-08-28 11:37:04 UTC
I'm currently running kmail 5.6.3 and could not reproduce.
Indexing-Window (needs reindex) comes up, reindex confirmed, and after a second the result is displayed. No crash anymore
Comment 4 Daniel Vrátil 2018-09-24 15:47:01 UTC
I think we've fixed this in 18.08, please do reopen if it starts happening again.