Evince crashes on selecting printer or Print Preview
Submitted by sco..@..ol.com
Link to original bug (#711274)
Description
Created attachment 258786 Terminal output following invocation of Evince
[I have had this bug before and found a way to get around it, but it still happens (new Lubuntu install: 13.10, was 12.04) unless I re-fix it. I think Evince should either be able to deal with the situation, or fail more gracefully (error window, or...?)]
Evince crashes on selecting printer or Print Preview, if I do not make the following change to AppArmor:
Add /data/ (my partition for personal data - separate from the / partition) to AppArmor's list of home directories. (/etc/apparmor.d/tunables/home)
i.e. Change: “@{HOMEDIRS}=/home/ “
To: ”@{HOMEDIRS}=/home/ /data/ ”
and then re-start AppArmor.
After this, I can print.
The reason apparently (I found before) is that I have symlinked /tmp to a directory in /data. (Some backup and other programs like to use /tmp to store large amounts of data, and / is often far too small to accommodate it.)
For some reason, when Evince tries to make a temporary file in /tmp related to printing, it has some kind of trouble and crashes.
I started Evince up from the terminal and copied the output to a file I attach below, in case it is useful.
[Update: the first line (with the word "CRITICAL") seems unrelated to the crash, as when I started Evince up after the Apparmor fix, the line is there also. Also, there are some interesting warnings/errors after that line. In case these are other bugs, I appended that terminal output also, after the various crash dumps, at the end of the file.]
----------------------------------------------------
scott@scott-ASUS-M2N68-AM-PLUS:~$ evince --version
GNOME Document Viewer 3.10.0
scott@scott-ASUS-M2N68-AM-PLUS:~$ uname -a
Linux scott-ASUS-M2N68-AM-PLUS 3.11.0-12-generic-tuxonice #19~ppa1-Ubuntu SMP Fri Oct 11 06:32:47 UTC 2013 i686 athlon i686 GNU/Linux
scott@scott-ASUS-M2N68-AM-PLUS:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
[This is actually Lubuntu - is there a command, like uname or lsb_release that would identify what flavor of Ubuntu one has, like Kubuntu, Lubuntu, etc. ?]
Attachment 258786, "Terminal output following invocation of Evince ":
EvinceCrash.txt
Version: 3.10.x