Bug 236593 - Akonadi sever not registering with d-bug on start or from Akonadi Console
Summary: Akonadi sever not registering with d-bug on start or from Akonadi Console
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Volker Krause
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-06 18:14 UTC by Russ Fineman
Modified: 2010-08-02 19:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Erroe from boot of system (16.60 KB, text/plain)
2010-05-06 18:17 UTC, Russ Fineman
Details
pop up message received on system boo (16.60 KB, text/plain)
2010-05-06 18:22 UTC, Russ Fineman
Details
New crash information added by DrKonqi (4.16 KB, text/plain)
2010-05-11 19:09 UTC, Russ Fineman
Details
Error popup when akonadi cannot attach to dbus. (16.60 KB, text/plain)
2010-05-11 19:12 UTC, Russ Fineman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Russ Fineman 2010-05-06 18:14:52 UTC
Application: akonadiconsole (0.99)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.31.12-18-desktop x86_64
Distribution: "openSUSE 11.2 (x86_64)"

-- Information about the crash:
Will attach backtrace. On system boot wind comes up and list akonadi server and console d-bus issue.



The crash can be reproduced every time.

 -- Backtrace:
Application: Akonadi Console (akonadiconsole), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f5002293ec8 in mysql_get_server_version () from /usr/lib64/libmysqlclient_r.so.16
#6  0x00007f50025c0e76 in QMYSQLDriver::tables(QSql::TableType) const () from /usr/lib64/qt4/plugins/sqldrivers/libqsqlmysql.so
#7  0x00007f5012e41cf4 in QSqlDatabase::tables(QSql::TableType) const () from /usr/lib64/libQtSql.so.4
#8  0x00000000004326f7 in DbBrowser::DbBrowser (this=0x7c85d0, parent=<value optimized out>) at /usr/src/debug/kdepim-4.4.2/akonadiconsole/dbbrowser.cpp:32
#9  0x0000000000436e8e in MainWidget::MainWidget (this=0x696b10, parent=0x74aed0) at /usr/src/debug/kdepim-4.4.2/akonadiconsole/mainwidget.cpp:62
#10 0x0000000000438b15 in MainWindow::MainWindow (this=0x74aed0, parent=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /usr/src/debug/kdepim-4.4.2/akonadiconsole/mainwindow.cpp:41
#11 0x00000000004366c7 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.4.2/akonadiconsole/main.cpp:45

Reported using DrKonqi
Comment 1 Russ Fineman 2010-05-06 18:17:38 UTC
Created attachment 43313 [details]
Erroe from boot of system

possibly due to mysql requiring password and user name for login?
Comment 2 Russ Fineman 2010-05-06 18:22:23 UTC
Created attachment 43314 [details]
pop up message received on system boo

this is from pop up messageduring startup, back trace was from start of Akonadi console.
Comment 3 Russ Fineman 2010-05-07 18:52:50 UTC
Akonadi will not start at all. Cannot get to contacts even tryed going back to vcard addressbook.

Anything I can look at. No response on kdepin user mail list. logs indicate segmentation fault when I try starting console. also following message when starting console:

Failed to connect to database: Can't connect to local MySQL server through socket '/home/finemanruss/.local/share/akonadi/db_misc/mysql.socket' (111) QMYSQL: Unable to connect. Is there a way to replace socket to see if its corrupt?

Manually I can log on to my other databases. Also phpmyadmin logs on. Neither method shows akonadi db.

thanks.
Comment 4 Russ Fineman 2010-05-07 18:55:01 UTC
latest backtrace:

Application: Akonadi Console (akonadiconsole), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f3285f3fec8 in mysql_get_server_version () from /usr/lib64/libmysqlclient_r.so.16
#6  0x00007f328626ce76 in QMYSQLDriver::tables(QSql::TableType) const () from /usr/lib64/qt4/plugins/sqldrivers/libqsqlmysql.so
#7  0x00007f3296aedcf4 in QSqlDatabase::tables(QSql::TableType) const () from /usr/lib64/libQtSql.so.4
#8  0x00000000004326f7 in DbBrowser::DbBrowser (this=0x7e7c90, parent=<value optimized out>) at /usr/src/debug/kdepim-4.4.2/akonadiconsole/dbbrowser.cpp:32
#9  0x0000000000436e8e in MainWidget::MainWidget (this=0x6a2590, parent=0x725eb0) at /usr/src/debug/kdepim-4.4.2/akonadiconsole/mainwidget.cpp:62
#10 0x0000000000438b15 in MainWindow::MainWindow (this=0x725eb0, parent=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /usr/src/debug/kdepim-4.4.2/akonadiconsole/mainwindow.cpp:41
#11 0x00000000004366c7 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.4.2/akonadiconsole/main.cpp:45

Is there a document that helps decode this?
Comment 5 Russ Fineman 2010-05-09 16:36:56 UTC
Almost all solved. Restored ~/config and ~/local from backup. Still not connecting to MySQL server.

100509  7:10:36 [Note] Plugin 'ndbcluster' is disabled.
100509  7:10:36  InnoDB: Started; log sequence number 0 25348407
100509  7:10:37 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them
100509  7:10:37 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
100509  7:10:37 [ERROR] Cannot open mysql.db
100509  7:10:37 [ERROR] Cannot open mysql.user
100509  7:10:37 [ERROR] Cannot open mysql.event
100509  7:10:37 [ERROR] Event Scheduler: An error occurred when initializing system tables.
100509  7:10:37 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.36-log'  socket: '/home/finemanruss/.local/share/akonadi/db_misc/mysql.socket'  port: 0  SUSE MySQL RPM

Went thru steps on KDEBASE. Can say Neopmuk Contact Feeder is running. I will go back over steps again to make sure I did not miss anything.
Comment 6 Russ Fineman 2010-05-11 19:09:34 UTC
Created attachment 43481 [details]
New crash information added by DrKonqi

Yesterday had Kontact/contacts workin by resoring from a backup. Shutdown last night and on start this morning got messages again on not being able to connect to dbus. will attached log of test errors. first error is akonadictl cannot register at dbus.
Comment 7 Russ Fineman 2010-05-11 19:12:45 UTC
Created attachment 43482 [details]
Error popup when akonadi cannot attach to dbus.

No tried restore I used yesterday and it does not work.
Comment 8 Tobias Koenig 2010-08-02 19:53:46 UTC
Hej Russ,

can you update your system to KDE 4.4.5 please?
The backtrace you sent (with the crash in mysql_get_server_version) looks more like a setup problem on your system to me. Incompatible mysql client/server versions? I've never seen such a problem here before.
I'll close the bug report for now, feel free to reopen it if you can reproduce the bug with a current KDE version.

Ciao,
Tobias