Bug 37121 - LibO repeatedly freezes after resuming laptop from sleep
Summary: LibO repeatedly freezes after resuming laptop from sleep
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Libreoffice (show other bugs)
Version: 3.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: high major
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-11 17:35 UTC by Gorka Navarrete
Modified: 2014-11-16 08:41 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Gorka Navarrete 2011-05-11 17:35:10 UTC
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.
Comment 1 cory dodt 2011-10-10 11:33:12 UTC
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
Comment 2 cory dodt 2011-10-10 11:34:56 UTC
(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.
Comment 3 Björn Michaelsen 2011-12-23 12:02:56 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 4 Gorka Navarrete 2011-12-24 15:39:21 UTC
The problem persists in LO 3.5 beta 2 in Ubuntu 11.10.
Comment 5 Björn Michaelsen 2011-12-27 08:16:48 UTC
possibly related to https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/745836
Comment 6 Christopher M. Penalver 2011-12-31 04:50:56 UTC
Gorka Navarrete, please do not toggle the Version. For more on this please see: http://wiki.documentfoundation.org/BugReport_Details#Version
Comment 7 Gorka Navarrete 2012-04-08 02:26:21 UTC
Still having the problem in LibreOffice 3.5.1.2 Build ID: 350m1(Build:102) with Ubuntu 11.10.

If the system is powerful enough (8 cores, 16Gb RAM, SSD disk, etc.) it is annoying but not critical. With an inferior system, the computer becomes unusable and the only way forward is closing all LO instances.

There is anything I can o to help triage this?
Comment 8 Björn Michaelsen 2013-02-23 19:48:37 UTC
closing as WORKSFORME as per: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/185600/comments/71
Comment 9 Gorka Navarrete 2013-03-27 13:02:32 UTC
I think I might have made a mistake and attributed an improvement in the situation to LO instead of to a faster computer. It is true that now Libreoffice does not render the system unusable after waking up from suspend but the problem somehow persists.

With a modern computer what you would notice now is a CLEAR slowing in LO (e.g. when scrolling down the page LO is slower than normal and somehow unresponsive).

You still have to completely close LO and reopen it again for it to work properly.
Comment 10 Joel Madero 2014-11-02 16:11:36 UTC
This doesn't look like it was ever confirmed by the QA team. Moving to UNCONFIRMED.
Comment 11 tommy27 2014-11-03 19:41:05 UTC
@Gorka Navarrete
please give update of the bug status with current LibO 4.3.3.2 or 4.2.7.2 release
Comment 12 foss 2014-11-16 08:41:10 UTC
Setting to NEEDINFO until more detail is provided.

After providing the requested info, please reset this bug to UNCONFIRMED (should it be persisting) or WORKFORME (should it be solved with a newer LO version).


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.