https://bugs.freedesktop.org/show_bug.cgi?id=58664
Priority: medium
Bug ID: 58664
Assignee: [email protected]
Summary: Headless Mode Fails to Shutdown
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: UNCONFIRMED
Version: 3.6.4.3 release
Component: Libreoffice
Product: LibreOffice
Created attachment 72002
--> https://bugs.freedesktop.org/attachment.cgi?id=72002&action=edit
python script to demonstrate the problem
Problem description:
--------------------
LibreOffice 3.6 running in 'headless' mode does not shutdown when the dispose()
method is called on the ComponentContext handle returned by the ServiceManager
using the PyUNO bridge under Debian Squeeze.
This appears to be a regression from 3.5.
Steps to reproduce:
-------------------
Save the attached Python script. This is cut down example from an application
that works under 3.5 without issue.
This script is known to work under Debian Squeeze. Pathnames may need tweaking
for other Linux distributions.
Under Debian Squeeze, the script may be invoked from a command line with:
/opt/libreoffice3.5/program/python ./bugHeadless.py
or
/opt/libreoffice3.6/program/python ./bugHeadless.py
The script starts LibreOffice in 'headless' mode and invites the user to verify
this using ps(1). On resume, the shutdown LibreOffice down by calling
dispose() and invites the user to verify using ps(1).
Expected behaviour (3.5):
-------------------------
Under LibreOffice 3.5 (currently 3.5.7), LibreOffice is observed to always
shutdown with this script.
Current behaviour (3.6):
------------------------
Under LibreOffice 3.6 (currently 3.6.4 but the issue was first noted with
3.6.2), LibreOffice has never been observed to shutdown.
LibreOffice never shuts down with this script. The script does not manipulate
any documents. With the full application, which does manipulate documents,
LibreOffice shuts down. Usually.
However, on at least two occasions it has not and has slowly eaten all main
memory and then all swap until the OOM kills off the desktop itself.
LibreOffice continues to eat memory until the system is totally moribund and a
power cycle becomes inevitable. Not good.
Platform:
--------
Debian GNU/Linux 6.0.5 (aka Squeeze, aka Stable)
Installation media:
LibO_3.6.4_Linux_x86-64_helppack-deb_en-GB.tar.gz
LibO_3.6.4_Linux_x86-64_install-deb_en-US.tar.gz
LibO_3.6.4_Linux_x86-64_langpack-deb_en-GB.tar.gz
LibO-SDK_3.6.4_Linux_x86-64_install-deb_en-US.tar.gz
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs