← Back to team overview

desktop-packages 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 Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/185600

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

Status in Compiz:
  New
Status in LibreOffice Productivity Suite:
  Confirmed
Status in NVIDIA Drivers Ubuntu:
  Confirmed
Status in “libreoffice” package in Ubuntu:
  Confirmed
Status in “nvidia-graphics-drivers-180” package in Ubuntu:
  Confirmed
Status in “openoffice.org” package in Ubuntu:
  Won't Fix

Bug description:
  Binary package hint: openoffice.org

  I've used Feisty and Gutsy but this problem has started happening only
  recently.  Here are the steps to reproduce:

  1. Open a document in oowriter.

  2. Put the laptop to sleep.

  3. Resume the laptop.

  Here are the symptoms:

  1. Scrolling in the openoffice document is jerky.  Basically, if I hit
  page up or page down, oowriter freezes for a few seconds and compiz
  grays the oowriter window (to show that the app is not responding),
  eventually oowriter unfreezes, refreshes its screen and is responsive
  again.  If I try to scroll again, the same freeze repeats.

  2. Sometimes oowriter seems to also cause other applications to
  temporarily be unresponsive.  The symptom here is that compiz grays
  *all* the windows on the screen for a few seconds until oowriter
  becomes reponsive again.

  3. No other application freezes like that after resume.  Note that
  symptom 2 above happens *only* when oowriter is running.

  4. This one is also a workaround: if I restart openoffice, the problem
  goes away.

  OO.org packages installed:

  $ dpkg-query -W openoffice.org-* | gawk '$2 {print;}'
  openoffice.org-base     1:2.3.0-1ubuntu5.3
  openoffice.org-calc     1:2.3.0-1ubuntu5.3
  openoffice.org-common   1:2.3.0-1ubuntu5.3
  openoffice.org-core     1:2.3.0-1ubuntu5.3
  openoffice.org-dev      1:2.3.0-1ubuntu5.3
  openoffice.org-draw     1:2.3.0-1ubuntu5.3
  openoffice.org-evolution        1:2.3.0-1ubuntu5.3
  openoffice.org-filter-mobiledev 1:2.3.0-1ubuntu5
  openoffice.org-gnome    1:2.3.0-1ubuntu5.3
  openoffice.org-gtk      1:2.3.0-1ubuntu5.3
  openoffice.org-help-en-gb       1:2.3.0-1ubuntu2
  openoffice.org-help-en-us       1:2.3.0-1ubuntu2
  openoffice.org-help-fr  1:2.3.0-1ubuntu2
  openoffice.org-help-hi-in       1:2.3.0-1ubuntu2
  openoffice.org-help-zh-cn       1:2.3.0-1ubuntu2
  openoffice.org-help-zh-tw       1:2.3.0-1ubuntu2
  openoffice.org-hyphenation      0.2
  openoffice.org-impress  1:2.3.0-1ubuntu5.3
  openoffice.org-java-common      1:2.3.0-1ubuntu5.3
  openoffice.org-l10n-common      1:2.3.0-1ubuntu2
  openoffice.org-l10n-en-gb       1:2.3.0-1ubuntu2
  openoffice.org-l10n-en-us       1:2.3.0-1ubuntu5.3
  openoffice.org-l10n-en-za       1:2.3.0-1ubuntu2
  openoffice.org-l10n-fr  1:2.3.0-1ubuntu2
  openoffice.org-l10n-hi-in       1:2.3.0-1ubuntu2
  openoffice.org-l10n-zh-cn       1:2.3.0-1ubuntu2
  openoffice.org-l10n-zh-tw       1:2.3.0-1ubuntu2
  openoffice.org-math     1:2.3.0-1ubuntu5.3
  openoffice.org-style-andromeda  1:2.3.0-1ubuntu5.3
  openoffice.org-style-crystal    1:2.3.0-1ubuntu5.3
  openoffice.org-style-default    1:2.3.0-1ubuntu5.3
  openoffice.org-style-human      1:2.3.0-1ubuntu5.3
  openoffice.org-style-industrial 1:2.3.0-1ubuntu5.3
  openoffice.org-style-tango      1:2.3.0-1ubuntu5.3
  openoffice.org-thesaurus-en-us  1:2.2.0-2ubuntu1
  openoffice.org-writer   1:2.3.0-1ubuntu5.3

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