Comment 71 for bug 745836

Luca Clivio (lucr) wrote :

hello all, here is my "solution".

i have been struggling for several months with the same problem, my system is a common ubuntu 11.04 with a default encrypted home and thus an encrypted swap:
luca@idle:~$ uname -a
Linux idle 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:18:14 UTC 2011 i686 i686 i386 GNU/Linux

i have just 1gb of ram, so a continue swap is normal for me with several applications open.
libreoffice used to crash continuously after few minutes of idle periods or even few minutes i wasn't use it when open on a document, or a presentation, or a database, or a spreadsheet. every time i used to leave libreoffice opened few minutes without any activity on it it crashed, 100% of times.

now, following the suggestion of andrei but in a simpler way i tried to move outside the encrypted area just the personal configuration settings folder of libreoffice, this way:

(i am in my home folder)
luca@idle:~$ sudo mkdir /home/unencryted
luca@idle:~$ sudo chown luca.luca /home/unencrypted
luca@idle:~$ mv .libreoffice /home/unencrypted/
luca@idle:~$ ln -s /home/unencrypted/.libreoffice .

i don't need to set the HOME env in that unencrypted folder before starting libreoffice, what is above is everything i made.

now the problem seems definitely gone away, it doesn't seem to crash anymore

i hope this may help someone.