Created attachment 169491 [details] File that results in LibreOffice hanging For attached HTML file, LibreOffice is hanging on convert to HTML. With Other HTML files this is not an issue. Unable to determine what about this file is causing to hang. Using below from command line to test: /opt/libreoffice/program/soffice.bin -env:UserInstallation=file:///opt//tomcat/temp .jodconverter_socket_host-127.0.0.1_port-8101 --headless --nodefault --nofirststartwizard --nolockcheck --nologo --norestore --backtrace --convert-to pdf:writer_pdf_Export --outdir ./ ./testFile.html File causing issue is attached
This defect is impacting an end customer's Go Live, is there any way to expedite the investigation on it, please? Any details on how long resolution may take and if a fix can be provided would be extremely useful. Many thanks.
Version: 7.2.4.1 / LibreOffice Community Build ID: 27d75539669ac387bb498e35313b970b7fe9c4f9 CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded $ time google-chrome --headless --disable-gpu --print-to-pdf testFile.html real 0m2.397s user 0m0.149s sys 0m0.098s $ time libreoffice7.2 --headless --convert-to pdf testFile.html real 7m28.437s user 7m27.877s sys 0m0.337s
Michael: Hossein was able to convert the file and me as well through the UI. Did the conversion never finish for you? The performance is bad and should be improved. Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: eb69767d7c1bb8e6e780fd9503f08c9d7f5ecb45 CPU threads: 2; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win Locale: fi-FI (fi_FI); UI: fi-FI Calc: threaded
Dear Michael Wallach, 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://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Perf seems to have improved significantly. With 7.6 on Linux I get real 5m37,902s user 5m30,327s sys 0m0,682s With 25.8: real 3m1,406s user 2m58,393s sys 0m0,355s With latest master: real 2m36,406s user 2m33,020s sys 0m0,159s
I can confirm big improvement: $ time libreoffice --headless --convert-to pdf testFile.html real 1m25.795s user 1m23.655s sys 0m0.141s But there is still a big gap between this result and what is currently achievable with a browser: Without GPU: $ time google-chrome --headless --disable-gpu --print-to-pdf testFile.html real 0m0.938s user 0m0.390s sys 0m0.219s It is interesting that the system time for LibreOffice is actually less than Chrome, but the user/real time is multiple times compared to Chrome. The CPU time is wasted in many nested loops/conditionals/inefficient operations. Profiling shows Wasted time is spent in SwTabFrame::MakeAll(), which is a huge function containing ~1K line of code.