Bug 319527 - akonadiconsole does not show up but is running
Summary: akonadiconsole does not show up but is running
Status: RESOLVED NOT A BUG
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: akonadiconsole (show other bugs)
Version: 4.10
Platform: Gentoo Packages Linux
: NOR grave
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-08 14:24 UTC by Fabio Coatti
Modified: 2013-05-18 02:41 UTC (History)
0 users

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 Fabio Coatti 2013-05-08 14:24:40 UTC
when I launch akonadiconsole from command line, no window appears but on ps akonadiconsole is at 100% cpu
(Interesting enough, kmail has exactly the same behaviour: nothing shows up, but 100% cpu used)
I've tried the same from a newly created account, same behaviour as well.
tried to use internal mysql and external mysql, no changes.
with dbus-launch akonadiconsole the behaviour is the same but i get some messages:
akonadi_nepomuk_feeder(16254) ItemQueue::removeDataResult: "The name org.kde.nepomuk.DataManagement was not provided by any .service files" 
akonadi_nepomuk_feeder(16254) ItemQueue::batchJobResult: Error while storing graph:  "The name org.kde.nepomuk.DataManagement was not provided by any .service files" 
akonadiconsole(16336)/libakonadi Akonadi::AgentManagerPrivate::createDBusInterface: AgentManager failed to get a valid AgentManager DBus interface. Error is: 1 "org.freedesktop.DBus.Error.NameHasNoOwner" "Could not get owner of name 'org.freedesktop.Akonadi.Control': no such name" 
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
search paths:  ("/opt/android-sdk-update-manager/platform-tools/", "/usr/local/bin", "/usr/bin", "/bin", "/opt/bin", "/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.2", "/opt/android-sdk-update-manager/tools", "/opt/android-sdk-update-manager/platform-tools", "/usr/games/bin", "/home/cova/bin", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin") 
QSqlDatabasePrivate::removeDatabase: connection 'initConnection' is still in use, all queries will cease to work.
akonadi_nepomuk_feeder(16254) ItemQueue::removeDataResult: "The name org.kde.nepomuk.DataManagement was not provided by any .service files" 
akonadi_nepomuk_feeder(16254) ItemQueue::batchJobResult: Error while storing graph:  "The name org.kde.nepomuk.DataManagement was not provided by any .service files" 
Nepomuk Query Server not available
[...]

Nepomuk is alive, according to configuration and ps


Basically, it seems that something prevents windows to show up, while the correspondign process is running at 100%.
So far I noticed this for akonadiconsole and kmail



Reproducible: Always




gcc (Gentoo 4.7.2-r1 p1.5, pie-0.5.5) 4.7.2
qtcore-4.8.4
kde-4.10.3
kmail --version
Qt: 4.8.4
Piattaforma di sviluppo KDE: 4.10.3
KMail: 4.10.3
SQL: 5.5.30-MariaDB
CFLAGS/CXXFLAGS="-march=native -mtune=native -O2 -pipe "
glibc 2.23.1
Comment 1 Fabio Coatti 2013-05-18 02:41:59 UTC
The problem turned out to be a clash with glibc. I moved from glibc 2.16 to 2.17 and this broke in some way qtwebkit, used by many apps.
Here the gdb thread status:
 3    Thread 0x7f672c803700 (LWP 3767) "akonadiconsole" 0x00007f6741677cfc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  2    Thread 0x7f672bf02700 (LWP 3768) "QThread" 0x00007f6741c6869d in poll () from /lib64/libc.so.6
* 1    Thread 0x7f67470e4780 (LWP 3761) "akonadiconsole" 0x00007f673d4661bc in ?? () from /usr/lib64/qt4/libQtWebKit.so.4

ricompiling libQtWebKit fixed the issue