You are not logged in.

#1 2011-03-05 11:55:18

gj
Member
Registered: 2010-11-07
Posts: 19

KDE 4.6.1: akonadi crash

After upgrading from KDE 4.6.0 to 4.6.1 I get a crash window from Akonadi when I start KMail.
It asks me to create a crash log.
I put the failed tests here below:


Test 5:  ERROR
--------

MySQL server log contains errors.
Details: The MySQL server error log file &apos;<a href='/home/gj/.local/share/akonadi/db_data/mysql.err'>/home/gj/.local/share/akonadi/db_data/mysql.err</a>&apos; contains errors.

File content of '/home/gj/.local/share/akonadi/db_data/mysql.err':
110305 12:07:44 InnoDB: The InnoDB memory heap is disabled
110305 12:07:44 InnoDB: Mutexes and rw_locks use GCC atomic builtins
110305 12:07:44 InnoDB: Compressed tables use zlib 1.2.5
110305 12:07:44 InnoDB: Initializing buffer pool, size = 80.0M
110305 12:07:44 InnoDB: Completed initialization of buffer pool
110305 12:07:44 InnoDB: highest supported file format is Barracuda.
110305 12:07:44  InnoDB: Warning: allocated tablespace 13, old maximum was 0
110305 12:07:44  InnoDB: Waiting for the background threads to start
110305 12:07:45 InnoDB: 1.1.5 started; log sequence number 1696528
110305 12:07:45 [ERROR] Native table 'performance_schema'.'events_waits_current' has the wrong structure
110305 12:07:45 [ERROR] Native table 'performance_schema'.'events_waits_history' has the wrong structure
110305 12:07:45 [ERROR] Native table 'performance_schema'.'events_waits_history_long' has the wrong structure
110305 12:07:45 [ERROR] Native table 'performance_schema'.'setup_consumers' has the wrong structure
110305 12:07:45 [ERROR] Native table 'performance_schema'.'setup_instruments' has the wrong structure
110305 12:07:45 [ERROR] Native table 'performance_schema'.'setup_timers' has the wrong structure
110305 12:07:45 [ERROR] Native table 'performance_schema'.'performance_timers' has the wrong structure
110305 12:07:45 [ERROR] Native table 'performance_schema'.'threads' has the wrong structure
110305 12:07:45 [ERROR] Native table 'performance_schema'.'events_waits_summary_by_thread_by_event_name' has the wrong structure
110305 12:07:45 [ERROR] Native table 'performance_schema'.'events_waits_summary_by_instance' has the wrong structure
110305 12:07:45 [ERROR] Native table 'performance_schema'.'events_waits_summary_global_by_event_name' has the wrong structure
110305 12:07:45 [ERROR] Native table 'performance_schema'.'file_summary_by_event_name' has the wrong structure
110305 12:07:45 [ERROR] Native table 'performance_schema'.'file_summary_by_instance' has the wrong structure
110305 12:07:45 [ERROR] Native table 'performance_schema'.'mutex_instances' has the wrong structure
110305 12:07:45 [ERROR] Native table 'performance_schema'.'rwlock_instances' has the wrong structure
110305 12:07:45 [ERROR] Native table 'performance_schema'.'cond_instances' has the wrong structure
110305 12:07:45 [ERROR] Native table 'performance_schema'.'file_instances' has the wrong structure
110305 12:07:45 [Note] /usr/bin/mysqld: ready for connections.
Version: '5.5.9'  socket: '/home/gj/.local/share/akonadi/socket-blueberry/mysql.socket'  port: 0  Source distribution



Test 18:  ERROR
--------

Current Akonadi control error log found.
Details: The Akonadi control process reported errors during its current startup. The log can be found in <a href='/home/gj/.local/share/akonadi/akonadi_control.error'>/home/gj/.local/share/akonadi/akonadi_control.error</a>.

File content of '/home/gj/.local/share/akonadi/akonadi_control.error':
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_birthdays_resource" from file "/usr/share/akonadi/agents/birthdaysresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_contacts_resource" from file "/usr/share/akonadi/agents/contactsresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_ical_resource" from file "/usr/share/akonadi/agents/icalresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_imap_resource" from file "/usr/share/akonadi/agents/imapresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_kabc_resource" from file "/usr/share/akonadi/agents/kabcresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_kcal_resource" from file "/usr/share/akonadi/agents/kcalresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_knut_resource" from file "/usr/share/akonadi/agents/knutresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_kolabproxy_resource" from file "/usr/share/akonadi/agents/kolabproxyresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_localbookmarks_resource" from file "/usr/share/akonadi/agents/localbookmarksresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_maildir_resource" from file "/usr/share/akonadi/agents/maildirresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_maildispatcher_agent" from file "/usr/share/akonadi/agents/maildispatcheragent.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_mbox_resource" from file "/usr/share/akonadi/agents/mboxresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_microblog_resource" from file "/usr/share/akonadi/agents/microblog.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_mailtransport_dummy_resource" from file "/usr/share/akonadi/agents/mtdummyresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nepomuk_calendar_feeder" from file "/usr/share/akonadi/agents/nepomukcalendarfeeder.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nepomuk_contact_feeder" from file "/usr/share/akonadi/agents/nepomukcontactfeeder.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nepomuktag_resource" from file "/usr/share/akonadi/agents/nepomuktagresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nntp_resource" from file "/usr/share/akonadi/agents/nntpresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_notes_resource" from file "/usr/share/akonadi/agents/notesresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_pop3_resource" from file "/usr/share/akonadi/agents/pop3resource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_vcarddir_resource" from file "/usr/share/akonadi/agents/vcarddirresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_vcard_resource" from file "/usr/share/akonadi/agents/vcardresource.desktop"



Anyone knows what is wrong with akonadi on my system ?

Offline

#2 2011-03-05 17:54:31

charlieapples
Member
Registered: 2010-03-28
Posts: 16

Re: KDE 4.6.1: akonadi crash

Got the same problem - no solutions as yet but there is an upstream bug report which seems relevant
https://bugs.kde.org/show_bug.cgi?id=267683
Good luck smile

Offline

#3 2011-03-05 19:52:17

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: KDE 4.6.1: akonadi crash

This will sound like an overkill, but it solved my problems. I deleted the akonadi folder in ~/.config and KMail works with no problems.


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#4 2011-03-06 09:01:36

gj
Member
Registered: 2010-11-07
Posts: 19

Re: KDE 4.6.1: akonadi crash

I managed it to get no more errors in the akonadi selftest window (all the checks are green or blue)  but somehow the window still pops up each time at startup.

My changes:
1. I added   export XDG_DATA_DIRS=/usr/share:/usr/local/share    to /etc/profile
2. I replaced   Driver=QMYSQL    by   Driver=QSQLITE    in  ~/.config/akonadi/akonadiserverrc
3. I removed the  Mail Dispatcher Agent  and  the Local Folders  in  akonadiconsole

When I start akonadi in the terminal I don't see any errors anymore:

Starting Akonadi Server...
   done.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
[gj@blueberry ~]$ QSqlDatabasePrivate::removeDatabase: connection 'initConnection' is still in use, all queries will cease to work.
sqlite version is  "3.7.5"
sqlite journal mode is  "wal"
QSqlDatabasePrivate::removeDatabase: connection 'initConnection' is still in use, all queries will cease to work.
Database "/home/gj/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
DbInitializer::run()
checking table  "SchemaVersionTable"
checking table  "ResourceTable"
checking table  "CollectionTable"
checking table  "MimeTypeTable"
checking table  "PimItemTable"
checking table  "FlagTable"
checking table  "PartTable"
checking table  "CollectionAttributeTable"
checking relation  "PimItemFlagRelation"
checking relation  "CollectionMimeTypeRelation"
checking relation  "CollectionPimItemRelation"
DbInitializer::run() done
skipping update 2
skipping update 3
skipping update 4
skipping update 8
skipping update 10
skipping update 12
skipping update 13
skipping update 14
skipping update 15
skipping update 16
skipping update 17
skipping update 18
skipping update 19
Database "/home/gj/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
Database "/home/gj/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
Akonadi::NepomukSearchEngine(0xb4f00468) QObject(0x0) 
DataStore::unhideAllPimItems()
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
PLUGINS:  "/usr/share/akonadi/agents"
PLUGINS:  ("birthdaysresource.desktop", "contactsresource.desktop", "icalresource.desktop", "imapresource.desktop", "kabcresource.desktop", "kcalresource.desktop", "knutresource.desktop", "kolabproxyresource.desktop", "localbookmarksresource.desktop", "maildirresource.desktop", "maildispatcheragent.desktop", "mboxresource.desktop", "microblog.desktop", "mtdummyresource.desktop", "nepomukcalendarfeeder.desktop", "nepomukcontactfeeder.desktop", "nepomuktagresource.desktop", "nntpresource.desktop", "notesresource.desktop", "pop3resource.desktop", "vcarddirresource.desktop", "vcardresource.desktop")
search paths:  ("/bin", "/usr/bin", "/sbin", "/usr/sbin", "/opt/eid/sbin", "/opt/kde/bin", "/usr/bin/core_perl", "/opt/qt/bin", "/home/gj/mks/bin")
PLUGINS inserting:  "akonadi_birthdays_resource" 0 ("Resource")
PLUGINS inserting:  "akonadi_contacts_resource" 0 ("Resource")
PLUGINS inserting:  "akonadi_ical_resource" 0 ("Resource")
PLUGINS inserting:  "akonadi_imap_resource" 0 ("Resource")
PLUGINS inserting:  "akonadi_kabc_resource" 0 ("Resource")
PLUGINS inserting:  "akonadi_kcal_resource" 0 ("Resource")
PLUGINS inserting:  "akonadi_knut_resource" 0 ("Resource")
PLUGINS inserting:  "akonadi_kolabproxy_resource" 0 ("Resource", "Unique", "NoConfig")
PLUGINS inserting:  "akonadi_localbookmarks_resource" 0 ("Resource")
PLUGINS inserting:  "akonadi_maildir_resource" 2 ("Resource")
PLUGINS inserting:  "akonadi_maildispatcher_agent" 0 ("Unique", "Autostart", "NoConfig")
PLUGINS inserting:  "akonadi_mbox_resource" 0 ("Resource")
PLUGINS inserting:  "akonadi_microblog_resource" 0 ("Resource")
PLUGINS inserting:  "akonadi_mailtransport_dummy_resource" 0 ("Resource", "MailTransport")
PLUGINS inserting:  "akonadi_nepomuk_calendar_feeder" 0 ("Unique", "NoConfig")
PLUGINS inserting:  "akonadi_nepomuk_contact_feeder" 0 ("Unique", "Autostart", "NoConfig")
PLUGINS inserting:  "akonadi_nepomuktag_resource" 0 ("Resource", "Virtual", "Unique", "NoConfig")
PLUGINS inserting:  "akonadi_nntp_resource" 0 ("Resource")
PLUGINS inserting:  "akonadi_notes_resource" 0 ("Resource")
PLUGINS inserting:  "akonadi_pop3_resource" 0 ("Resource")
PLUGINS inserting:  "akonadi_vcarddir_resource" 0 ("Resource")
PLUGINS inserting:  "akonadi_vcard_resource" 0 ("Resource")
Akonadi server is now operational.
Known subscriber "akonadi_maildispatcher_agent" subscribes again
Known subscriber "akonadi_maildispatcher_agent" subscribes again
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Database "/home/gj/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
Database "/home/gj/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"
Database "/home/gj/.local/share/akonadi/akonadi.db" opened using driver "QSQLITE"

Offline

#5 2011-03-06 09:47:56

gj
Member
Registered: 2010-11-07
Posts: 19

Re: KDE 4.6.1: akonadi crash

I got it completely solved now.

I made a script named akonadi_autostart which contains the following 2 lines:

#!/bin/sh
akonadictl start

I chmod'ed it to 755  and  autostart it via the Autostart screen in KDE.

I don't see the popup anymore when KMail starts

Offline

#6 2011-03-06 10:43:11

Lothium
Member
Registered: 2009-10-10
Posts: 192

Re: KDE 4.6.1: akonadi crash

Same problem here but this can't be a solution. Its a bug and I hope they fix it soon.

Best regards!

Offline

#7 2011-03-06 11:08:02

gj
Member
Registered: 2010-11-07
Posts: 19

Re: KDE 4.6.1: akonadi crash

I agree this isn't a solution.
But I expect this will be solved in 4.6.2 and that one will be released in April.
I think that one month waiting for itself isn't that long but watching the window popup for 1 month is.
You may call the above a circumvention instead of a solution smile

Offline

#8 2011-03-06 11:21:13

ilpianista
Fellow developer
Registered: 2007-10-06
Posts: 568
Website

Re: KDE 4.6.1: akonadi crash

you can try adding "export XDG_DATA_DIRS=/usr/share:/usr/local/share" to ~/.bash_profile

Offline

#9 2011-03-06 11:44:58

jorchube
Member
Registered: 2009-04-05
Posts: 57

Re: KDE 4.6.1: akonadi crash

akonadi 1.5.1 is in [testing], maybe... tongue

Offline

#10 2011-03-06 11:52:13

ilpianista
Fellow developer
Registered: 2007-10-06
Posts: 568
Website

Re: KDE 4.6.1: akonadi crash

jorchube wrote:

akonadi 1.5.1 is in [testing], maybe... tongue

don't upgrade manually, it needs boost >= 1.46

Offline

#11 2011-03-08 10:21:33

noalwin
Member
From: Spain
Registered: 2007-06-08
Posts: 115

Re: KDE 4.6.1: akonadi crash

I just updated to 4.6.1. The performance_schema problems can be solved with

mysql_upgrade -S /home/XXX/.local/share/akonadi/socket-YYY/mysql.socket

But I stil get the "Duplicated agent identifier" errors

Offline

#12 2011-03-08 20:09:06

charlieapples
Member
Registered: 2010-03-28
Posts: 16

Re: KDE 4.6.1: akonadi crash

noalwin wrote:

I just updated to 4.6.1. The performance_schema problems can be solved with

mysql_upgrade -S /home/XXX/.local/share/akonadi/socket-YYY/mysql.socket

But I stil get the "Duplicated agent identifier" errors

The same here  - also, does anyone get error messages from Wallet saying that "multiple requests have been made and failed", and that "some application must be misbehaving"?

ah Akonadi, only last week I was thinking "my computer is behaving so well it's beginning to bore me"...;)

of course the pain with Akonadi is that it is a mystery to me, which makes fixing things about it a bit of a pain.
Were it not for my massive email archive on Kmail...

Offline

#13 2011-03-08 21:38:08

noalwin
Member
From: Spain
Registered: 2007-06-08
Posts: 115

Re: KDE 4.6.1: akonadi crash

charlieapples wrote:

The same here  - also, does anyone get error messages from Wallet saying that "multiple requests have been made and failed", and that "some application must be misbehaving"?

I have seen them. I guess that they were because when loading the session kontact tries to log in several email accounts at once.

charlieapples wrote:

ah Akonadi, only last week I was thinking "my computer is behaving so well it's beginning to bore me"...;)

of course the pain with Akonadi is that it is a mystery to me, which makes fixing things about it a bit of a pain.
Were it not for my massive email archive on Kmail...

Oh, wait then when they finish the migration of kmail to run on top of akonadi.

Offline

#14 2011-03-12 21:18:56

zoryfl
Member
Registered: 2007-10-27
Posts: 32

Re: KDE 4.6.1: akonadi crash

Upgraded to akonadi 1.5.1 (and boost-libs 1.46) from the regular repos, still getting the akonadi crash on kmail startup. But only during the first start, on second try everything works just fine. Any solutions to this problem yet?

Offline

#15 2011-03-12 23:23:09

unikum
Member
From: Russia
Registered: 2010-09-04
Posts: 151
Website

Re: KDE 4.6.1: akonadi crash

zoryfl wrote:

Upgraded to akonadi 1.5.1 (and boost-libs 1.46) from the regular repos, still getting the akonadi crash on kmail startup. But only during the first start, on second try everything works just fine. Any solutions to this problem yet?

I have same problem during first start kmail.

Last edited by unikum (2011-03-15 23:09:57)

Offline

Board footer

Powered by FluxBB