Created attachment 142114 [details] ODT file that causes freeze I'm converting ODT files to PDF, using LO Writer through unoconv. The ODT files are generated by Appy Pod[1]. In most cases, the above works perfectly fine, however with some documents, LO Writer freezes/takes 100% CPU load on one core, without crashing or responding at all. unoconv command line to reproduce: (download the file from the attachments) unoconv -f pdf -vvv directive_1640_56.odt Output on my system: Verbosity set to level 3 Using office base path: /usr/lib64/libreoffice Using office binary path: /usr/lib/libreoffice/program DEBUG: Connection type: socket,host=127.0.0.1,port=2002,tcpNoDelay=1;urp;StarOffice.ComponentContext DEBUG: Existing listener not found. DEBUG: Launching our own listener using /usr/lib/libreoffice/program/soffice.bin. LibreOffice listener successfully started. (pid=31074) Input file: directive_1640_56.odt Version 5.4.6.2 40m0(Build:2) is affected as well. [1] http://appyframework.org/pod.html
Repro. Exporting through UI works fine. Arch Linux 64-bit Version: 6.0.4.2 Build ID: 6.0.4-1 CPU threads: 8; OS: Linux 4.16; UI render: default; VCL: kde4; Locale: fi-FI (fi_FI.UTF-8); Calc: group
I'm having the same issue and also tested with the file attached here running directly with libreoffice: root@linuxkit-025000000001:/src# convert /src/directive_1640_56.odt -> /src/directive_1640_56.pdf using filter : writer_pdf_Export Error: Please verify input parameters... (SfxBaseModel::impl_store <file:///src/directive_1640_56.pdf> failed: 0x11b) root@linuxkit-025000000001:/src# soffice --version LibreOffice 6.0.3.2 00m0(Build:2) Other files convert just fine. Ubuntu 18.04 on docker
Didn't paste the command correctly in my last comment: soffice --convert-to pdf directive_1640_56.odt root@linuxkit-025000000001:/src# convert /src/directive_1640_56.odt -> /src/directive_1640_56.pdf using filter : writer_pdf_Export Error: Please verify input parameters... (SfxBaseModel::impl_store <file:///src/directive_1640_56.pdf> failed: 0x11b) When running the same with unoconv this is the error: root@c583f9e05fc7:/src# unoconv -vvv -f pdf directive_1640_56.odt Verbosity set to level 3 Using office base path: /usr/lib/libreoffice Using office binary path: /usr/lib/libreoffice/program DEBUG: Connection type: socket,host=127.0.0.1,port=2002,tcpNoDelay=1;urp;StarOffice.ComponentContext Input file: directive_1640_56.odt Selected output format: Portable Document Format [.pdf] Selected office filter: writer_pdf_Export Used doctype: document Output file: file:///src/directive_1640_56.pdf Traceback (most recent call last): File "/usr/bin/unoconv", line 1030, in convert document.storeToURL(outputurl, tuple(outputprops) ) uno.IOException: SfxBaseModel::impl_store <file:///src/directive_1640_56.pdf> failed: 0x11b During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/unoconv", line 1275, in <module> main() File "/usr/bin/unoconv", line 1191, in main convertor.convert(inputfn) File "/usr/bin/unoconv", line 1032, in convert raise UnoException("Unable to store document to %s (ErrCode %d)\n\nProperties: %s" % (outputurl, e.ErrCode, outputprops), None) File "/usr/lib/python3/dist-packages/uno.py", line 507, in _uno_struct__getattr__ return getattr(self.__dict__["value"], name) AttributeError: ErrCode
I think I got those errors because of file locking: Document file 'directive_1640_56.pdf' is locked for editing by: root ( 27.08.2018 14:22 ) You may try to ignore the file locking and overwrite the existing document. When doing that also the UI freezes with 100% CPU. Version: 6.1.0.3 Build ID: efb621ed25068d70781dc026f7e9c5187a4decd1 CPU threads: 4; OS: Mac OS X 10.13.5; UI render: default; Locale: en-US (en_NL.UTF-8); Calc: group threaded
BTW, Word for Mac (which can also open .odt) also has problems with this file: .... found problems with it's contents: Details: HRRESULT 0x80004005 Location: Part: /content.xml, Line: 0, Column: 0
Dear Stefan, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Issue still here with: Version: 6.3.1.2 Build ID: 6.3.1-1 CPU threads: 4; OS: Linux 5.2; UI render: default; VCL: gtk3; Locale: it-IT (en_GB.UTF-8); UI-Language: en-GB Calc: threaded
Dear Stefan, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Bug has gone for me! Version: 7.2.0.4 / LibreOffice Community Build ID: 20(Build:4) CPU threads: 4; OS: Linux 5.13; UI render: default; VCL: gtk3 Locale: it-IT (en_GB.UTF-8); UI: en-GB 7.2.0-2 Calc: threaded $ pacman -Si unoconv Repository : extra Name : unoconv Version : 0.9-2 Description : Libreoffice-based document converter Architecture : any URL : http://dag.wiee.rs/home-made/unoconv Licenses : GPL2 Groups : None Provides : None Depends On : python libreoffice Optional Deps : None Conflicts With : None Replaces : None Download Size : 24.01 KiB Installed Size : 75.00 KiB Packager : Evangelos Foutras <evangelos@foutrelis.com> Build Date : Tue 19 May 2020 09:55:58 CEST Validated By : MD5 Sum SHA-256 Sum Signature $ unoconv -f pdf -vvv directive_1640_56.odt Verbosity set to level 3 Using office base path: /usr/lib64/libreoffice Using office binary path: /usr/lib/libreoffice/program DEBUG: Connection type: socket,host=127.0.0.1,port=2002,tcpNoDelay=1;urp;StarOffice.ComponentContext DEBUG: Existing listener not found. DEBUG: Launching our own listener using /usr/lib/libreoffice/program/soffice.bin. LibreOffice listener arguments are ['/usr/lib/libreoffice/program/soffice.bin', '--headless', '--invisible', '--nocrashreport', '--nodefault', '--nofirststartwizard', '--nologo', '--norestore', '--accept=socket,host=127.0.0.1,port=2002,tcpNoDelay=1;urp;StarOffice.ComponentContext']. LibreOffice listener successfully started. (pid=13126) Input file: directive_1640_56.odt Selected output format: Portable Document Format [.pdf] Selected office filter: writer_pdf_Export Used doctype: document Output file: file:///tmp/directive_1640_56.pdf DEBUG: Terminating LibreOffice instance. DEBUG: Waiting for LibreOffice instance to exit. $ file /tmp/directive_1640_56.pdf /tmp/directive_1640_56.pdf: PDF document, version 1.6, 7 pages