[Bug 300095] Files and Images crash on launch
Lamarque V. Souza
lamarque at kde.org
Wed May 30 19:20:36 UTC 2012
https://bugs.kde.org/show_bug.cgi?id=300095
--- Comment #19 from Lamarque V. Souza <lamarque at 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.
More information about the Active
mailing list