[Bug 277699] New: Akonadiserver crashes when MySQLd returns with failure

Szőts Ákos szotsaki at gmail.com
Wed Jul 13 15:52:33 BST 2011


https://bugs.kde.org/show_bug.cgi?id=277699

           Summary: Akonadiserver crashes when MySQLd returns with failure
           Product: Akonadi
           Version: unspecified
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: server
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: szotsaki at gmail.com


Version:           unspecified (using Devel) 
OS:                Linux

When I execute "akonadictl start", it shows the following three times:

`akonadictl start`
Starting Akonadi Server...
   done.
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
aki at linux-suse:~> search paths:  ("/usr/local/gcc43", "/usr/local/gcc43",
"/usr/local/gcc43", "/usr/lib64/mpi/gcc/openmpi/bin", "/home/aki/bin",
"/usr/local/bin", "/usr/bin", "/bin", "/usr/bin/X11", "/usr/X11R6/bin",
"/usr/games", "/opt/kde3/bin", "/usr/lib/mit/bin", "/usr/lib/mit/sbin",
"/usr/local/cuda/bin", "/opt/intel/composerxe-2011.4.191/bin/intel64/",
"/opt/intel/composerxe-2011.4.191/bin/intel64/",
"/opt/intel/composerxe-2011.4.191/bin/intel64/",
"/opt/intel/composerxe-2011.4.191/bin/intel64/", "/usr/sbin",
"/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec",
"/opt/local/lib/mysql5/bin", "/opt/mysql/sbin") 
Found mysql_install_db:  "/usr/bin/mysql_install_db" 
Found mysqlcheck:  "/usr/bin/mysqlcheck" 
Database process exited unexpectedly during initial connection!
executable: "/usr/sbin/mysqld"
arguments: ("--defaults-file=/home/aki/.local/share/akonadi//mysql.conf",
"--datadir=/home/aki/.local/share/akonadi/db_data/",
"--socket=/home/aki/.local/share/akonadi/socket-linux-suse/mysql.socket")
stdout: ""
stderr: ""
exit code: 1
process error: "Unknown error"
"[
0: akonadiserver(_Z11akBacktracev+0x37) [0x44ddc7]
1: akonadiserver() [0x44e1c2]
2: /lib64/libc.so.6(+0x32b30) [0x7f2f36173b30]
3: /lib64/libc.so.6(gsignal+0x35) [0x7f2f36173ab5]
4: /lib64/libc.so.6(abort+0x186) [0x7f2f36174fb6]
5: /usr/lib64/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74)
[0x7f2f37e56924]
6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xab) [0x45020b]
7: /usr/lib64/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x77) [0x7f2f37ee4747]
8: /usr/lib64/libQtCore.so.4(+0x106ac6) [0x7f2f37eecac6]
9: /usr/lib64/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3b) [0x7f2f37ef59ab]
10: akonadiserver(_ZN6QDebugD1Ev+0x4b) [0x44938b]
11: akonadiserver(_ZN13DbConfigMysql19startInternalServerEv+0x19a8) [0x4d5038]
12: akonadiserver(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xd8)
[0x450618]
13: akonadiserver() [0x453288]
14: akonadiserver(_ZN7Akonadi13AkonadiServer8instanceEv+0x35) [0x4548a5]
15: akonadiserver(main+0x21f) [0x44877f]
16: /lib64/libc.so.6(__libc_start_main+0xfd) [0x7f2f3615fbfd]
17: akonadiserver() [0x448469]
]

Executing this immediately returns:
/usr/sbin/mysqld  --defaults-file=/home/aki/.local/share/akonadi//mysql.conf
--datadir=/home/aki/.local/share/akonadi/db_data/
--socket=/home/aki/.local/share/akonadi/socket-linux-suse/mysql.socket

And this prints '1':
echo $?

For a good start to reproduce this, you should delete ~/.local/share/akonadi/
and let Akonadi to recreate that.

Currently, the content of my …/akonadi folder is:
akonadiserver.error
akonadiserver.error.old
db_data
db_misc
file_db_data
mysql.conf
socket-linux-suse

Reproducible: Always



Expected Results:  


OS: Linux (x86_64) release 2.6.37.6-0.5-desktop
Compiler: gcc

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list