This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE makes .xsesion-errors fill up 300 GB of space

Tags: None
(comma "," separated)
Oxyd
Registered Member
Posts
14
Karma
0
OS
Hi.

Observe:
Code: Select all
[starlight] ~ > ls -lh .xsession-errors
-rw-------  1 oxyd  oxyd   305G Jul 25 16:18 .xsession-errors


What is it filled with, you ask? I'll show you some parts from the beginning instead...
Code: Select all
/usr/local/kde4/share/config/kdm/Xsession:48: no matches found: /etc/X11/Xresources/*
kcheckrunning: not found
kbuildsycoca4 running...
kbuildsycoca4(30819) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/local/share/applications/realplay.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(30819) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/local/share/applications/realplay.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(30819)/kdecore (services) KServicePrivate::init: The desktop entry file  "/usr/local/kde4/share/applications/kde4/koffice.desktop"  has Type= "Application"  but no Exec line

kbuildsycoca4(30819) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/local/kde4/share/applications/kde4/koffice.desktop"
kbuildsycoca4(30819) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/home/oxyd/.local/share/applications/djview-usercreated.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(30819) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/home/oxyd/.local/share/applications/gvim-usercreated.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(30819) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/home/oxyd/.local/share/applications/okular-usercreated.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(30819)/kdecore (services) KServicePrivate::init: The desktop entry file  "/usr/home/oxyd/.local/share/applications/Shortcuts.desktop"  has Type= "Application"  but no Exec line

kbuildsycoca4(30819) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/home/oxyd/.local/share/applications/Shortcuts.desktop"
kbuildsycoca4(30819) KConfigGroup::readXdgListEntry: List entry x-scheme-handler/file in "/usr/home/oxyd/.local/share/applications/mimeapps.list" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(30819) KConfigGroup::readXdgListEntry: List entry x-scheme-handler/http in "/usr/home/oxyd/.local/share/applications/mimeapps.list" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(30819) KConfigGroup::readXdgListEntry: List entry x-scheme-handler/https in "/usr/home/oxyd/.local/share/applications/mimeapps.list" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(30819) KConfigGroup::readXdgListEntry: List entry x-scheme-handler/trash in "/usr/home/oxyd/.local/share/applications/mimeapps.list" is not compliant with XDG standard (missing trailing semicolon).
startkde: Starting up...
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kded(30842)/kdeui (KIconLoader): Unable to find an appropriate lock to guard the shared cache.  This *should* be essentially impossible. :(
kded(30842)/kdeui (KIconLoader): Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise.
kbuildsycoca4 running...
kglobalaccel(30851)/kdeui (KIconLoader): Unable to find an appropriate lock to guard the shared cache.  This *should* be essentially impossible. :(
kglobalaccel(30851)/kdeui (KIconLoader): Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise.
(...)

KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work
kmix(31221)/kdeui (KIconLoader): Unable to find an appropriate lock to guard the shared cache.  This *should* be essentially impossible. :(
kmix(31221)/kdeui (KIconLoader): Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise.
ktorrent(31211)/kdeui (KIconLoader): Unable to find an appropriate lock to guard the shared cache.  This *should* be essentially impossible. :(
ktorrent(31211)/kdeui (KIconLoader): Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise.
Polkit1AuthAgent(31220)/kdeui (KIconLoader): Unable to find an appropriate lock to guard the shared cache.  This *should* be essentially impossible. :(
Polkit1AuthAgent(31220)/kdeui (KIconLoader): Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise.
New PolkitAgentListener  0x80784e8e0
Adding new listener  PolkitQt1::Agent::Listener(0x8078fab00) for  0x80784e8e0
I/O warning : failed to load external entity "/home/oxyd/.qalculate/eurofxref-daily.xml"
I/O warning : failed to load external entity "/home/oxyd/.qalculate/eurofxref-daily.xml"
krunner(30873)/libplasma Plasma::Package::isValid: Could not find required file mainscript
kmix(31221)/kdeui (KIconLoader): Unable to find an appropriate lock to guard the shared cache.  This *should* be essentially impossible. :(
kmix(31221)/kdeui (KIconLoader): Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise.
korgac(31238)/kdeui (KIconLoader): Unable to find an appropriate lock to guard the shared cache.  This *should* be essentially impossible. :(
korgac(31238)/kdeui (KIconLoader): Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise.
korgac(31238)/kdeui (KIconLoader): Unable to find an appropriate lock to guard the shared cache.  This *should* be essentially impossible. :(
korgac(31238)/kdeui (KIconLoader): Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise.
(...)

"/usr/local/kde4/bin/akonadi_nepomuk_contact_feeder(31244)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/local/kde4/bin/akonadi_nepomuk_contact_feeder(31244)" Soprano: "QLocalSocket::connectToServer: Invalid name"
"/usr/local/kde4/bin/akonadi_nepomuk_contact_feeder(31244)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/local/kde4/bin/akonadi_nepomuk_contact_feeder(31244)" Soprano: "QLocalSocket::connectToServer: Invalid name"
"/usr/local/kde4/bin/akonadi_nepomuk_contact_feeder(31244)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/local/kde4/bin/akonadi_nepomuk_contact_feeder(31244)" Soprano: "QLocalSocket::connectToServer: Invalid name"
"/usr/local/kde4/bin/akonadi_nepomuk_contact_feeder(31244)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/local/kde4/bin/akonadi_nepomuk_contact_feeder(31244)" Soprano: "QLocalSocket::connectToServer: Invalid name"
Database "akonadi" opened using driver "QMYSQL"
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Database "akonadi" opened using driver "QMYSQL"
Warning: QWidget::insertAction: Attempt to insert null action
Warning: QWidget::insertAction: Attempt to insert null action
Warning: QWidget::insertAction: Attempt to insert null action
akonadi_maildispatcher_agent(31243)/kdeui (KIconLoader): Unable to acquire shared lock, is the cache corrupt?
Known subscriber "akonadi_maildispatcher_agent" subscribes again
Known subscriber "akonadi_maildispatcher_agent" subscribes again
Database "akonadi" opened using driver "QMYSQL"
kopete(31265)/kdeui (KIconLoader): Unable to find an appropriate lock to guard the shared cache.  This *should* be essentially impossible. :(
kopete(31265)/kdeui (KIconLoader): Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise.
kopete(31265)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/usr/home/oxyd/.kde4/share/apps/kabc"
kopete(31265)/kdecore (KLibrary) kde4Factory: The library "/usr/local/kde4/lib/kde4/kopete_history.so" does not offer a qt_plugin_instance function.
kopete(31265)/libkopete Kopete::PluginManager::loadPluginInternal: Unable to find a plugin named ' "" '!
plasma-desktop(30863)/kdeui (KIconLoader): Unable to find an appropriate lock to guard the shared cache.  This *should* be essentially impossible. :(
plasma-desktop(30863)/kdeui (KIconLoader): Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise.
(...)

QPainter::setPen: Painter not active
QPainter::worldTransform: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::setPen: Painter not active
QPainter::worldTransform: Painter not active
QPainter::font: Painter not active
QPainter::setFont: Painter not active
QPainter::setPen: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::setPen: Painter not active
QPainter::worldTransform: Painter not active
QPainter::font: Painter not active
QPainter::setFont: Painter not active
QPainter::setPen: Painter not active
QPainter::setPen: Painter not active
QPainter::worldTransform: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::setPen: Painter not active
QPainter::worldTransform: Painter not active
QPainter::font: Painter not active
QPainter::setFont: Painter not active
QPainter::setPen: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::setPen: Painter not active
QPainter::worldTransform: Painter not active
QPainter::font: Painter not active
QPainter::setFont: Painter not active
QPainter::setPen: Painter not active
QPainter::setPen: Painter not active
QPainter::worldTransform: Painter not active
(...)


I chose the parts to show randomly, only to make it clear that it's filled up with KDE specific messages. I'll be happy to send you the whole file if you provide me with somewhere to upload it. It's 300 GB, remember.

So -- I guess I should report a bug. This is simply absurd -- I don't have any more free space on my /home partition because of KDE! But first -- is this a known bug? Is it a mistake on my part? Can I do something about it?

It started yesterday, all of a sudden. I don't remember doing any changes to KDE or my OS at all during that time.

For the record, it's KDE 4.6.5 on FreeBSD 8.2-RELEASE.
User avatar
google01103
Manager
Posts
6668
Karma
25
run kdebugdialog -> deselct all -> apply
this should stop errors being saved in .xsession-errors


OpenSuse Leap 42.1 x64, Plasma 5.x

Oxyd
Registered Member
Posts
14
Karma
0
OS
google01103 wrote:run kdebugdialog -> deselct all -> apply
this should stop errors being saved in .xsession-errors


Yep, that seems to have done the trick. Thanks!
bonassis
Registered Member
Posts
59
Karma
0
OS
You're rid of the size of the file getting bigger, but your problems are not solved. There is seriously something wrong with your setup.
Upgraded from an earlier version maybe?? Sometimes imcombatibility causes this.

Stef
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
This message indicates that something is very wrong:
Code: Select all
kopete(31265)/kdeui (KIconLoader): Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise.


Does FreeBSD not support either of those methods?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Oxyd
Registered Member
Posts
14
Karma
0
OS
As far as I know, FreeBSD 8 supports both process shared threads and semaphores. A process-shared pthread can be made using pthread_rwlockattr_setpshared:
Code: Select all
     int
     pthread_rwlockattr_setpshared(pthread_rwlockattr_t *attr, int pshared);

DESCRIPTION
     The pthread_rwlockattr_setpshared() function sets the process shared
     attribute of attr to the value referenced by pshared.  The pshared argu‐
     ment may be one of two values:

     PTHREAD_PROCESS_SHARED   Any thread of any process that has access to the
                              memory where the read/write lock resides can
                              manipulate the lock.

A process-shared semaphore can be created by calling sem_open, which will create a named semaphore that can be shared between threads.

From what I know, FreeBSD 8 does not support sharing unnamed semaphores (created with sem_init). This should work in FreeBSD 9, AFAIK.

I have been seeing error messages about process-shared pthreads or semaphores ever since I started using KDE on FreeBSD, and I never noticed any visible problems, except these messages, so I assumed they were harmless. And even now, KDE works without a hitch.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]