After analyzing the error, I have noticed that the high CPU load is
related with an evince-thumbnailer exit error that also involves the
execution of some texlive commands. For example:
page: Error: /usr/share/texlive/texmf-
dist/fonts/tfm/public/cm/cmr10.tfm: File corrupted, or not a TFM file
also mentioned in:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1497727
https://askubuntu.com/questions/1195966/texlive-problems-in-log-file
By following these steps I have managed to reduce the high CPU load:
0. compile a tex document to generate dvi document.
1. run evince-thumbnailer in terminal:
$ evince-thumbnailer parcial2.dvi out.dvi 2>output-evince-thumbnailer.txt
the header of the output file mentions that some TeX commands are denied
permission,
$ grep 'kpathsea' output-evince-thumbnailer.txt | cut -b 19-
2. create a script to execute omitted commands:
$ grep 'kpathsea' output-evince-thumbnailer.txt | cut -b 19- | sed -e '1i #!
/bin/sh' > cmd.sh
$ chmod 775 cmd.sh
$ ./cmd.sh
new font files are generated in the $TEXMFVAR directory. How to know its
value?
$ tlmgr conf | grep 'TEXMFVAR'
3. a new run of evince-thumbnailer may reveal other omitted commands by
repeating item 1.
A new run of evince-thumbnailer the CPU doesn't show high load:
$ evince-thumbnailer parcial2.dvi out.dvi
I hope the mentioned steps guide the correction of this bug.
** Attachment added: "output-evince-thumbnailer.txt"
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1386120/+attachment/5340242/+files/output-evince-thumbnailer.txt
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/1386120
Title:
evince and/or evince-thumbnailer stuck with high cpu load on specific
dvi file
To manage notifications about this bug go to:
https://bugs.launchpad.net/evince/+bug/1386120/+subscriptions
--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs