Reply to topic

xsession-errors in KDE 4.10.2 (Kubuntu 12.10 and 13.04)

bobicanprogram
Registered Member
Posts
6
Karma
0
I've been posting on the Kubuntu forum about errors I'm seeing in my xsession-errors file and strange behavior of kmail. Hopefully this is the right forum to post this stuff to.

The kmail app often takes 2-3 tries before it will come up. When it does come up for the first while it takes up to 30sec to flip folders. After a while it becomes "usable" but never snappy. This sent me to look in my .xsession-errors file for clues and I found lots of unexplained errors and warnings in there. Here is a sampling:

====
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.

QDBusObjectPath: invalid path ""

X Error: BadAtom (invalid Atom parameter) 5
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x0

kwin(1823): ""fsrestore1" - conversion of "0,0,0,0" to QRect failed"

plasma-desktop(1833)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability

X Error: BadPixmap (invalid Pixmap parameter) 4
Major opcode: 54 (X_FreePixmap)
Resource id: 0x22000c2

akonaditray(1872)/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"

I/O warning : failed to load external entity "/home/bob/.qalculate/eurofxref-daily.xml"

kmail2(1899)/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"
kmail2(1899)/libakonadi Akonadi::SessionPrivate::socketError: Socket error occurred: "QLocalSocket::connectToServer: Invalid name"

kwalletd(1805)/kdeui (Wallet) KWalletD::setupDialog: Application ' "KMail" ' using kwallet without parent window!

(process:2123): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed

akonadi_pop3_resource_0(2051)/akonadiresource (pop3) POP3Resource::cancelSync: ============== ERROR DURING POP3 SYNC ==========================
akonadi_pop3_resource_0(2051)/akonadiresource (pop3) POP3Resource::cancelSync: "No username and password supplied."
akonadi_pop3_resource_0(2051)/akonadiresource (pop3) POP3Resource::saveSeenUIDList: UID list from server is not valid.

QDir::mkpath: Empty or null file name(s)

====

Many of these are repeated multiple times in the file. The BadPixmap error seems to be in part related to simply changing windows/desktops.

Since I upgraded to Kubuntu 13.04 (still beta) it seems that kwallet wants to startup unsolicited. In the past it only came up when I tried to launch kmail.

If this isn't the correct forum for such a posting perhaps someone could suggest a more appropriate one.

Thanks in advance for your help.

bob
User avatar einar
Administrator
Posts
2268
Karma
5
OS
Code: Select all
kmail2(1899)/libakonadi Akonadi::SessionPrivate::socketError: Socket error occurred: "QLocalSocket::connectToServer: Invalid name"

This looks like a configuration error in Akonadi. Can you bring up "akonadiconsole" then pick "Restart Server" from the Server menu (don't touch anything else for now)?

By doing this via GUI, a self-check is initiated during startup, so it should tell you about possible problems. Paste the results here, if the self check windows shows up (it doesn't if everything is OK).


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
bobicanprogram
Registered Member
Posts
6
Karma
0
My Kubuntu didn't come with akonadiconsole installed. I used the Muon package manager to install it. I restarted the machine and then at a console terminal window I ran:

akonadiconsole

This stuff came up on the console screen right away before the akonadiconsole window appeared.

===
akonadiconsole(1908)/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"
akonadiconsole(1908)/libakonadi Akonadi::SessionPrivate::socketError: Socket error occurred: "QLocalSocket::connectToServer: Invalid name"
akonadiconsole(1908)/libakonadi Akonadi::SessionPrivate::socketError: Socket error occurred: "QLocalSocket::connectToServer: Invalid name"
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
search paths: ("/usr/lib/x86_64-linux-gnu/qt4/bin", "/usr/lib/lightdm/lightdm", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/games", "/usr/local/games", "/home/simpl/bin", "/home/simpl/scripts", ".", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
akonadi.collectionattributetable OK
akonadi.collectionmimetyperelation OK
akonadi.collectionpimitemrelation OK
akonadi.collectiontable OK
akonadi.flagtable OK
akonadi.mimetypetable OK
akonadi.parttable OK
akonadi.pimitemflagrelation OK
akonadi.pimitemtable OK
akonadi.resourcetable OK
akonadi.schemaversiontable OK
mysql.columns_priv OK
mysql.db OK
mysql.event OK
mysql.func OK
mysql.general_log OK
mysql.help_category OK
mysql.help_keyword OK
mysql.help_relation OK
mysql.help_topic OK
mysql.host OK
mysql.ndb_binlog_index OK
mysql.plugin OK
mysql.proc OK
mysql.procs_priv OK
mysql.proxies_priv OK
mysql.servers OK
mysql.slow_log OK
mysql.tables_priv OK
mysql.time_zone OK
mysql.time_zone_leap_second OK
mysql.time_zone_name OK
mysql.time_zone_transition OK
mysql.time_zone_transition_type OK
mysql.user OK
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Nepomuk Query Server not available
search paths: ("/usr/lib/x86_64-linux-gnu/qt4/bin", "/usr/lib/lightdm/lightdm", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/games", "/usr/local/games", "/home/simpl/bin", "/home/simpl/scripts", ".")
search paths: ("/home/bob/.kde/lib/kde4/plugins/", "/usr/lib/kde4/plugins/", "/usr/lib/x86_64-linux-gnu/qt4/plugins", "/usr/lib/qt4/plugins", "/usr/bin", "/usr/lib/kde4/plugins", "/home/bob/.kde/lib/kde4/", "/usr/lib/kde4/")
search paths: ("/home/bob/.kde/lib/kde4/plugins/", "/usr/lib/kde4/plugins/", "/usr/lib/x86_64-linux-gnu/qt4/plugins", "/usr/lib/qt4/plugins", "/usr/bin", "/usr/lib/kde4/plugins", "/home/bob/.kde/lib/kde4/", "/usr/lib/kde4/")
search paths: ("/home/bob/.kde/lib/kde4/plugins/", "/usr/lib/kde4/plugins/", "/usr/lib/x86_64-linux-gnu/qt4/plugins", "/usr/lib/qt4/plugins", "/usr/bin", "/usr/lib/kde4/plugins", "/home/bob/.kde/lib/kde4/", "/usr/lib/kde4/")
search paths: ("/home/bob/.kde/lib/kde4/plugins/", "/usr/lib/kde4/plugins/", "/usr/lib/x86_64-linux-gnu/qt4/plugins", "/usr/lib/qt4/plugins", "/usr/bin", "/usr/lib/kde4/plugins", "/home/bob/.kde/lib/kde4/", "/usr/lib/kde4/")
AkonadiAgentServer(1951)/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"
AkonadiAgentServer(1953)/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"
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
QDBusConnection: name 'org.freedesktop.Akonadi' had owner '' but we thought it was ':1.64'

===

After the akonadiconsole window came up I ran the server restart and this stuff spewed onto the original terminal console window:

===
akonadi_pop3_resource_0(1969)/akonadiresource (pop3) SettingsHelper::~SettingsHelper: Settings(0x260a1b0)
akonadi_pop3_resource_2(1971)/akonadiresource (pop3) SettingsHelper::~SettingsHelper: Settings(0x2405eb0)
Application '/usr/bin/akonadi_pop3_resource' exited normally...
Application '/usr/bin/akonadi_agent_launcher' exited normally...
akonadi_pop3_resource_1(1970)/akonadiresource (pop3) SettingsHelper::~SettingsHelper: Settings(0x2134020)
Application '/usr/bin/akonadi_pop3_resource' exited normally...
Application '/usr/bin/akonadi_maildispatcher_agent' exited normally...
Application '/usr/bin/akonadi_pop3_resource' exited normally...
AkonadiAgentServer(1954)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/bob/.kde/share/apps/korganizer"
Application '/usr/bin/akonadi_agent_launcher' exited normally...
Application '/usr/bin/akonadi_agent_launcher' exited normally...
Application '/usr/bin/akonadi_mailfilter_agent' exited normally...
Application '/usr/bin/akonadi_archivemail_agent' exited normally...
Application '/usr/bin/akonadi_nepomuk_feeder' exited normally...
Application '/usr/bin/akonadi_agent_launcher' exited normally...
akonadiconsole(1908)/libakonadi Akonadi::SessionPrivate::socketError: Socket error occurred: "QLocalSocket: Remote closed"
akonadiconsole(1908)/libakonadi Akonadi::SessionPrivate::socketError: Socket error occurred: "QLocalSocket: Remote closed"
Application 'akonadiserver' exited normally...
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
search paths: ("/usr/lib/x86_64-linux-gnu/qt4/bin", "/usr/lib/lightdm/lightdm", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/games", "/usr/local/games", "/home/simpl/bin", "/home/simpl/scripts", ".", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
akonadi.collectionattributetable OK
akonadi.collectionmimetyperelation OK
akonadi.collectionpimitemrelation OK
akonadi.collectiontable OK
akonadi.flagtable OK
akonadi.mimetypetable OK
akonadi.parttable OK
akonadi.pimitemflagrelation OK
akonadi.pimitemtable OK
akonadi.resourcetable OK
akonadi.schemaversiontable OK
mysql.columns_priv OK
mysql.db OK
mysql.event OK
mysql.func OK
mysql.general_log OK
mysql.help_category OK
mysql.help_keyword OK
mysql.help_relation OK
mysql.help_topic OK
mysql.host OK
mysql.ndb_binlog_index OK
mysql.plugin OK
mysql.proc OK
mysql.procs_priv OK
mysql.proxies_priv OK
mysql.servers OK
mysql.slow_log OK
mysql.tables_priv OK
mysql.time_zone OK
mysql.time_zone_leap_second OK
mysql.time_zone_name OK
mysql.time_zone_transition OK
mysql.time_zone_transition_type OK
mysql.user OK
Nepomuk Query Server not available
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
search paths: ("/usr/lib/x86_64-linux-gnu/qt4/bin", "/usr/lib/lightdm/lightdm", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/games", "/usr/local/games", "/home/simpl/bin", "/home/simpl/scripts", ".")
search paths: ("/home/bob/.kde/lib/kde4/plugins/", "/usr/lib/kde4/plugins/", "/usr/lib/x86_64-linux-gnu/qt4/plugins", "/usr/lib/qt4/plugins", "/usr/bin", "/usr/lib/kde4/plugins", "/home/bob/.kde/lib/kde4/", "/usr/lib/kde4/")
search paths: ("/home/bob/.kde/lib/kde4/plugins/", "/usr/lib/kde4/plugins/", "/usr/lib/x86_64-linux-gnu/qt4/plugins", "/usr/lib/qt4/plugins", "/usr/bin", "/usr/lib/kde4/plugins", "/home/bob/.kde/lib/kde4/", "/usr/lib/kde4/")
search paths: ("/home/bob/.kde/lib/kde4/plugins/", "/usr/lib/kde4/plugins/", "/usr/lib/x86_64-linux-gnu/qt4/plugins", "/usr/lib/qt4/plugins", "/usr/bin", "/usr/lib/kde4/plugins", "/home/bob/.kde/lib/kde4/", "/usr/lib/kde4/")
search paths: ("/home/bob/.kde/lib/kde4/plugins/", "/usr/lib/kde4/plugins/", "/usr/lib/x86_64-linux-gnu/qt4/plugins", "/usr/lib/qt4/plugins", "/usr/bin", "/usr/lib/kde4/plugins", "/home/bob/.kde/lib/kde4/", "/usr/lib/kde4/")
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
===

Then tried to startup kmail. Didn't start on first try. Besides a whole bunch of new BadPixmap errors in .xsession-errors these lines were also there:

===
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
===

Actually while typing this post kmail did startup. It took several minutes at least.

Any clues to what is going on?

Thanks in advance for your help.

bob
bobicanprogram
Registered Member
Posts
6
Karma
0
Just curious. This thread now shows as moved. However it is not obvious how to tell where it has been moved to.

Thanks.

bob
User avatar einar
Administrator
Posts
2268
Karma
5
OS
It looks there are timeouts, but I'm not sure what is causing it. Are you using a standard Kubuntu installation? Also, do you have the semantic desktop framework enabled or disabled (check in System Settings > Desktop Search)?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
bobicanprogram
Registered Member
Posts
6
Karma
0
I started with a standard Kubuntu 12.04 and through the process of trying different things to solve my problem I have upgraded first to 12.10 and finally to Kubuntu 13.04.

I have the indexing on emails turned off, but still enabled for desktop files. Along the way it was suggested that I turn this off, but at that version level it didn't affect my kmail behavior or the errors in .xsession-errors. At next opportunity I'll try turning it off again.

Thanks in advance for your help.

bob
User avatar einar
Administrator
Posts
2268
Karma
5
OS
There's one last thing to try: create a fresh user account and try setting kmail up there. See if the problem persists.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
bobicanprogram
Registered Member
Posts
6
Karma
0
I went back and retried a previous suggestion: to turn off the semantic desktop. Now kmail comes up on first go. The folder change works ... not particularly snappy ... but usable. The kwallet prompt for email passwords still comes up ahead of the kmail window, however.

My .xsession-errors file now contains more multiples of different error/warning sequences including:

===
QDir::mkpath: Empty or null file name(s)

QStringList Akonadi::NepomukSearch::search(const QString&) Calling blockingQuery() failed!

===

Most of the previous errors appear to still be present in the file include those associated with akonadi. My KDE is almost "usable" again, but this execise has left me disappointed that the "simpler is better" philosophy has vanished from the KDE world. Having said that I'm willing to experiment some more to see if those errors can be reduced or eliminated with my setup. At this point I'm just at a loss as to what I can try.

Thanks in advance for your help.

bob
User avatar einar
Administrator
Posts
2268
Karma
5
OS
Please try with a new user account, as I suggested. This will rule out obscure configuration errors. Notice: you do not need to remove your existing account, just create another one in parallel and test there.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
bobicanprogram
Registered Member
Posts
6
Karma
0
OK. I created another KDE user account. I restarted my machine and logged into this new user account and looked at the .xsession-errors file. Nothing jumps out as being significantly different. Still lots of similar error/warnings in there. Also lots I've not seen before. Nothing about Akonadi that I could see.

===
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.

kbuildsycoca4(1738) KConfigGroup::readXdgListEntry: List entry Keywords in "k3bsetup.desktop" is not compliant with XDG standard (missing trailing semicolon).

kded(1737) LayoutMemoryPersister::restoreFromFile: Failed to open layout memory xml file for reading "/home/gloria/.kde/share/apps/kded/session/keyboard/layout_memory.xml" error: 5

X Error: BadAtom (invalid Atom parameter) 5
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x0

QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QFileSystemWatcher: failed to add paths: /home/gloria/.kde/share/config/activitymanager-pluginsrc

QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread

QDBusObjectPath: invalid path ""

QGraphicsLinearLayout::insertItem: cannot insert null item

plasma-desktop(1847)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability

trying to alter state of unknown activity!!

Qt 4.7 import detected; please note that Qt 4.7 is directly reusable as QtQuick 1.x with no code changes. Continuing, but startup time will be slower.

file:///usr/lib/kde4/imports/org/kde/plasma/components/SectionScroller.qml:175: ReferenceError: Can't find variable: sectionsRepeater

X Error: BadPixmap (invalid Pixmap parameter) 4
Major opcode: 54 (X_FreePixmap)
Resource id: 0x2200073

QDBusObjectPath: invalid path "/modules/muon-notifier"

klipper(1924) Klipper::loadHistory: Failed to load history resource. Clipboard history cannot be read. : History file does not exist

I/O warning : failed to load external entity "/home/gloria/.qalculate/eurofxref-daily.xml"

[/usr/bin/nepomukservicestub] Object::disconnect: Unexpected null parameter

===

Didn't try much else within the new user account.

Thanks in advance for your help.

bob
User avatar einar
Administrator
Posts
2268
Karma
5
OS
Most of the warnings are harmless, some are easy to fix (and were fixed) others are a little more hard to handle. In any case, it shouldn't affect your user experience.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
jtietema
Registered Member
Posts
4
Karma
0
OS
I'm having similar issues. Any pointers on how to solve this?

 
Reply to topic

Bookmarks



Who is online

Registered users: Andreas Mair, Baidu [Spider], Bing [Bot], capslock, einar, Exabot [Bot], Google [Bot], Hans, koriun, Majestic-12 [Bot], rainbowgoblin, raymondsarver, rulet111, tparrott, urgo, Uri_Herrera, Yahoo [Bot]