Bug 311379 - Kmail crashes showing no folders, Akonadi can't connect to MySQL but syncs
Summary: Kmail crashes showing no folders, Akonadi can't connect to MySQL but syncs
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.10 pre
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-09 01:00 UTC by Bernd Oliver Sünderhauf
Modified: 2017-01-07 21:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Kmail screenshot when it crashed (111.97 KB, image/png)
2012-12-09 01:02 UTC, Bernd Oliver Sünderhauf
Details
Akonadi can't connect (43.90 KB, image/png)
2012-12-09 01:03 UTC, Bernd Oliver Sünderhauf
Details
... but does sync... (251.79 KB, image/png)
2012-12-09 01:05 UTC, Bernd Oliver Sünderhauf
Details
... however with an empty browser. (74.06 KB, image/png)
2012-12-09 01:06 UTC, Bernd Oliver Sünderhauf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Oliver Sünderhauf 2012-12-09 01:00:11 UTC
After updating to the latest git version, Kmail started with a totally empty folders list.
Adding a new IMAP account didn't change anything. The account got synced but there was still no folder.

After a restart, Kmail even crashed with the following error message:
"The Email program encountered a fatal error and will terminate now.
The error was:
Protocol version 28 found, expected at least 29"

After another restart, Kmail didn't crash, but there were still no folders.

Starting the Akonadi console lead to the following error message:
"Akonadi can't connect to database:
Can't connect to local MySQL server through socket:
'/home/pancho/.project-neon-kde//local/share/akonadi/socket-anna/mysql-socket' (2) QMYSQL: Unable to connect"
Still it started.

Adding another IMAP account via Akonadi Console worked well and made it sync the account, but still: no folders in Kmail...
In the Akonadi console, the debugger keeps running (but without errors), while the browser stays completely empty.

I need to purge and reinstall, but might wait a while in order to give more information for fixing at least some aspects of this obviously complex set of bugs.

Reproducible: Didn't try
Comment 1 Bernd Oliver Sünderhauf 2012-12-09 01:02:45 UTC
Created attachment 75735 [details]
Kmail screenshot when it crashed
Comment 2 Bernd Oliver Sünderhauf 2012-12-09 01:03:37 UTC
Created attachment 75736 [details]
Akonadi can't connect
Comment 3 Bernd Oliver Sünderhauf 2012-12-09 01:05:11 UTC
Created attachment 75737 [details]
... but does sync...
Comment 4 Bernd Oliver Sünderhauf 2012-12-09 01:06:20 UTC
Created attachment 75738 [details]
... however with an empty browser.
Comment 5 Bernd Oliver Sünderhauf 2012-12-09 01:12:18 UTC
Yet another time restarting Kmail lead to a different crash:
"Application: KMail (kmail), signal: Segmentation fault".

This is simply not reproduceable because there's everytime another problem.
Comment 6 Laurent Montel 2012-12-09 12:02:34 UTC
you have a problem between akonadi version and kdepim
don't know why you didn't have good version.
Verify your package
Comment 7 Denis Kurz 2016-09-24 18:17:12 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 8 Denis Kurz 2017-01-07 21:26:46 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.