← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 185600] Re: [Upstream] LibreOffice repeatedly freezes after resuming laptop from sleep

 

Launchpad has imported 3 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=37121.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2011-05-12T00:35:10+00:00 Gorka Navarrete wrote:

After waking up from suspend having a LibreOffice document opened,
Libreoffice becomes unusable, freezing, etc. There is a long and old,
but still prevalent, description of the problem in Launchpad. The
problems it's been with us more than 2 years now.

https://bugs.launchpad.net/compiz/+bug/185600

This happens at least in Ubuntu 64-bits and seems somehow related to
compiz.

Reply at: https://bugs.launchpad.net/compiz/+bug/185600/comments/31

------------------------------------------------------------------------
On 2011-10-10T18:33:12+00:00 Freedesktop-n wrote:

Just thought I'd post that I cannot find a good workaround. I did find a
*bad* workaround, which is to let the power management daemon just kill
off soffice.

The reason this is better than the current bug is that the current bug
has the potential to completely hang the system if you fail to kill
soffice quickly. It's horrible, but I haven't found anything else that
works. (One poster in the original launchpad bug suggested using compiz
-replace in a pm.d script, but that did not work for me.)

Bad workaround
--------------
Create a file:
    sudo touch /etc/pm.d/sleep.d/20_kill_soffice
    sudo chmod +x /etc/pm.d/sleep.d/20_kill_soffice

Add these contents:

#!/bin/bash

PATH=/sbin:/usr/sbin:/bin:/usr/bin

SELF=kill-soffice
COMMAND=

# pm-action(8) - <action> <suspend method>
#
# On suspend|hibernate, kill soffice due to compiz-related hang:
#  https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-180/+bug/185600 

case "${1}" in
        hibernate)
            ;;
        resume|thaw)
            # hope soffice's recovery function works.
            pkill -f soffice.bin
            ;;
esac

Reply at: https://bugs.launchpad.net/compiz/+bug/185600/comments/49

------------------------------------------------------------------------
On 2011-10-10T18:34:56+00:00 Freedesktop-n wrote:

(In reply to comment #1)
> Just thought I'd post that I cannot find a good workaround. I did find a *bad*
> workaround, which is to let the power management daemon just kill off soffice. 
> 
> The reason this is better than the current bug is that the current bug has the
> potential to completely hang the system if you fail to kill soffice quickly.
> It's horrible, but I haven't found anything else that works. (One poster in the
> original launchpad bug suggested using compiz -replace in a pm.d script, but
> that did not work for me.)
> 
> Bad workaround
> --------------
> Create a file:
>     sudo touch /etc/pm.d/sleep.d/20_kill_soffice
>     sudo chmod +x /etc/pm.d/sleep.d/20_kill_soffice
> 
> Add these contents:
> 
> #!/bin/bash
> 
> PATH=/sbin:/usr/sbin:/bin:/usr/bin
> 
> SELF=kill-soffice
> COMMAND=
> 
> # pm-action(8) - <action> <suspend method>
> #
> # On suspend|hibernate, kill soffice due to compiz-related hang:
> # 
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-180/+bug/185600 
> 
> case "${1}" in
>         hibernate)
>             ;;
>         resume|thaw)
>             # hope soffice's recovery function works.
>             pkill -f soffice.bin
>             ;;
> esac

Line breaks got a little messed up - you will have to delete the line
where I mention the bug URL, as that was supposed to be a comment.

Reply at: https://bugs.launchpad.net/compiz/+bug/185600/comments/50

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers-180 in Ubuntu.
https://bugs.launchpad.net/bugs/185600

Title:
  [Upstream] LibreOffice repeatedly freezes after resuming laptop from
  sleep

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/185600/+subscriptions