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 Desktop Packages, 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 Status in Evince: Expired Status in evince package in Ubuntu: Triaged Bug description: 1) lsb_release -rd Description: Ubuntu Vivid Vervet (development branch) Release: 15.04 2) apt-cache policy evince libcairo2 libpoppler[0-9] evince: Installed: 3.14.1-0ubuntu1 Candidate: 3.14.1-0ubuntu1 Version table: *** 3.14.1-0ubuntu1 0 500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages 100 /var/lib/dpkg/status libcairo2: Installed: 1.13.0~20140204-0ubuntu1 Candidate: 1.13.0~20140204-0ubuntu1 Version table: *** 1.13.0~20140204-0ubuntu1 0 500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages 100 /var/lib/dpkg/status libpoppler47: Installed: 0.28.1-1ubuntu1 Candidate: 0.28.1-1ubuntu1 Version table: *** 0.28.1-1ubuntu1 0 500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages 100 /var/lib/dpkg/status apt-cache policy gnome-session-flashback gnome-session-flashback: Installed: 1:3.14.0-3ubuntu6 Candidate: 1:3.14.0-3ubuntu6 Version table: *** 1:3.14.0-3ubuntu6 0 500 http://us.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages 100 /var/lib/dpkg/status 3) What is expected to happen in either gnome-session-flashback (Metacity) or Unity opening https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1386120/+attachment/4288977/+files/test.dvi opens successfully. 4) What happen instead is Evince notes perpetually "Loading", and either or both of evince and evince-thumbnailer get stuck with higher than expected CPU load (30-50% on two core system), and/or RAM (increasing from ~200MB on a 3GB x64 system). This is a regression from Ubuntu 14.04.1. WORKAROUND: Use xdvi from texlive-binaries: apt-cache policy texlive-binaries texlive-binaries: Installed: 2014.20140926.35254-4 Candidate: 2014.20140926.35254-4 Version table: *** 2014.20140926.35254-4 0 500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages 100 /var/lib/dpkg/status ProblemType: Bug DistroRelease: Ubuntu 14.10 Package: evince 3.14.1-0ubuntu1 ProcVersionSignature: Ubuntu 3.16.0-23.31-generic 3.16.4 Uname: Linux 3.16.0-23-generic x86_64 ApportVersion: 2.14.7-0ubuntu8 Architecture: amd64 CurrentDesktop: Unity Date: Mon Oct 27 11:10:36 2014 InstallationDate: Installed on 2014-04-18 (191 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417) ProcEnviron: LANGUAGE=de_DE PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=de_DE.UTF-8 SHELL=/bin/bash SourcePackage: evince UpgradeStatus: Upgraded to utopic on 2014-10-25 (1 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/evince/+bug/1386120/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

