[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-active
Subject:    [Bug 300095] Files and Images crash on launch
From:       Lamarque V. Souza <lamarque () kde ! org>
Date:       2012-05-30 19:20:36
Message-ID: bug-300095-152164-LTCNe7Ocdn () http ! bugs ! kde ! org/
[Download RAW message or body]

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

--- Comment #19 from Lamarque V. Souza <lamarque@kde.org> ---
The workaround is not in the applications, it is in how they are launched.
klauncher is the daemon responsible for launching programs in KDE, it first
tries to launch programs using kdeinit, which is an old (~10 years) workaround
to speed up launching C++ programs (because of a deficiency in the code
generated by g++, that deficiency is not that severe now so kdeinit is not
really needed nowadays). What the workaround does is disabling kdeinit to force
klaunch to use the executables in /usr/bin instead of the libs
/usr/lib/libkdeinit4*.so (well, actually the former also uses the libs, but
that is not that relevant now). Theoretically that should make launching
programs a bit slower, but that is better than crashing.

For some reason kdeinit is ignoring the QT_GRAPHICSSYSTEM environment variable
and the -graphicssystem parameter passed in the Exec= line of the .desktop
files. I will add the workaround for active-documentviewer.

Yes, the second problem has nothing to do with the crashes. For some reason
some ontologies are not being loaded into nepomuk (I used nepomukshell to check
that). Document/* and Image/RasterImage are some of the missing ontologies and
without them the file indexer cannot add the data about any document or raster
image (most image format files are raster images, including .jpg, .png, etc).

I can trigger the ontology loading using "qdbus
org.kde.nepomuk.services.nepomukontologyloader /nepomukontologyloader
org.kde.nepomuk.OntologyManager.updateAllLocalOntologies", I can see nepomuk
loading them in ~/.xsession-errors (including the files that contains the
Document/* and Image/RasterImage), there is no apparent error but they do not
show up in nepomukshell.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Active mailing list
Active@kde.org
https://mail.kde.org/mailman/listinfo/active
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic