Bug 157607 - PDF export never finishes / freezes: Regression between 7.6.0.0.alpha0+ (4bcf6d9c905e7b5558ee8d9f7f616ce61eadb8f8) and 24.2.0.0.alpha0+ (5fecd865303b3f0a2eeb0b9466d2bcf23cfce068)
Summary: PDF export never finishes / freezes: Regression between 7.6.0.0.alpha0+ (4bcf...
Status: RESOLVED DUPLICATE of bug 156306
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-05 04:48 UTC by Jambunathan K
Modified: 2023-10-05 12:34 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
ODT file that fails to export to PDF on 24.2 (56.79 KB, application/vnd.oasis.opendocument.text)
2023-10-05 04:48 UTC, Jambunathan K
Details
Screen recording of my export session --- the freeze with 24.2 can be seen toward the end (3.94 MB, video/mp4)
2023-10-05 04:50 UTC, Jambunathan K
Details
PDF version that is produced by the well-behaving LO 7.6 (416.63 KB, application/pdf)
2023-10-05 04:51 UTC, Jambunathan K
Details
Details of LO version that I am using in the demo (1.97 KB, text/plain)
2023-10-05 04:51 UTC, Jambunathan K
Details
Messages output on console during the demo (153.24 KB, text/plain)
2023-10-05 04:52 UTC, Jambunathan K
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jambunathan K 2023-10-05 04:48:17 UTC
Created attachment 190025 [details]
ODT file that fails to export to PDF on 24.2

When I export the attached `.odt' file to PDF,

- the export never finshes on LO 24.2 

but succeeeds on other versions.

The exports were done in safe-mode.  The attached .mp4 file shows the screen recording.  The  console.log shows the error spewed by LO.

So, this is a regression between 7.6.0.0.alpha0+ (4bcf6d9c905e7b5558ee8d9f7f616ce61eadb8f8) and 24.2.0.0.alpha0+ (5fecd865303b3f0a2eeb0b9466d2bcf23cfce068)

Since PDF export is failing, I have marked this bug as major.  (Since this happens on development builds, you may not agree with my report as being "major".  I think good old bisection should catch who the culprit is)

~/tmp/lo-bug$ dpkg -l | grep libreoffice | grep writer

| ii | libreoffice-writer        | 4:7.5.5-4         | amd64 | office productivity suite -- word processor            |
| ii | libreofficedev24.2-writer | 24.2.0.0.alpha0-1 | amd64 | Writer brand module for LibreOfficeDev 24.2.0.0.alpha0 |
| ii | libreofficedev7.6-writer  | 7.6.0.0.alpha0-1  | amd64 | Writer brand module for LibreOfficeDev 7.6.0.0.alpha0  |

LO 24.2 is the version that fails to export to PDF.

* LO 7.5.x (Works)

~/tmp/lo-bug$ libreoffice --version
LibreOffice 7.5.5.2 50(Build:2)

Version: 7.5.5.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 4; OS: Linux 6.4; UI render: default; VCL: gtk3
Locale: en-IN (en_IN); UI: en-US
Debian package version: 4:7.5.5-4
Calc: threaded

* LO 7.6 (Works)


~/tmp/lo-bug$ libreofficedev7.6 --version
warn:configmgr:16119:16119:configmgr/source/xcuparser.cxx:646: unknown property "Pinned" in "file:///home/kjambunathan/.config/libreofficedev/4/user/registrymodifications.xcu"
warn:configmgr:16119:16119:configmgr/source/xcuparser.cxx:646: unknown property "hi-IN" in "file:///home/kjambunathan/.config/libreofficedev/4/user/registrymodifications.xcu"
LibreOfficeDev 7.6.0.0.alpha0 4bcf6d9c905e7b5558ee8d9f7f616ce61eadb8f8

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 4bcf6d9c905e7b5558ee8d9f7f616ce61eadb8f8
CPU threads: 4; OS: Linux 6.4; UI render: default; VCL: gtk3
Locale: en-IN (en_IN); UI: en-US
Calc: threaded

* LO 24.2 (Doesn't Work)

~/tmp/lo-bug$ libreofficedev24.2 --version
warn:configmgr:16150:16150:configmgr/source/xcuparser.cxx:643: unknown property "hi-IN" in "file:///home/kjambunathan/.config/libreofficedev/4/user/registrymodifications.xcu"
LibreOfficeDev 24.2.0.0.alpha0 5fecd865303b3f0a2eeb0b9466d2bcf23cfce068


Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5fecd865303b3f0a2eeb0b9466d2bcf23cfce068
CPU threads: 4; OS: Linux 6.4; UI render: default; VCL: gtk3
Locale: en-IN (en_IN); UI: en-US
Calc: threaded
Comment 1 Jambunathan K 2023-10-05 04:50:26 UTC
Created attachment 190026 [details]
Screen recording of my export session --- the freeze with 24.2 can be seen toward the end
Comment 2 Jambunathan K 2023-10-05 04:51:12 UTC
Created attachment 190027 [details]
PDF version that is produced by the well-behaving LO 7.6
Comment 3 Jambunathan K 2023-10-05 04:51:48 UTC
Created attachment 190028 [details]
Details of LO version that I am using in the demo
Comment 4 Jambunathan K 2023-10-05 04:52:42 UTC
Created attachment 190029 [details]
Messages output on console during the demo
Comment 5 Stéphane Guillou (stragu) 2023-10-05 06:32:55 UTC
Thanks for the report, Jambunathan!

I can't reproduce with:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f95c3994f0b6a82a3bc2ddfb68822b74479ae185
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

I think this might already be fixed. Your trunk build is from August, and since then there was a fix for the regression in bug 156306.
Can you please confirm that it is resolved in a recent master build? https://dev-builds.libreoffice.org/daily/master/current.html
Comment 6 Jambunathan K 2023-10-05 10:30:35 UTC
PDF export is along expected lines at the following commit

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2a217a80bf383ddab0a5e0959ab2fd907dfd3406
CPU threads: 4; OS: Linux 6.4; UI render: default; VCL: gtk3
Locale: en-IN (en_IN); UI: en-US
Calc: threaded

commit 2a217a80bf383ddab0a5e0959ab2fd907dfd3406	[log]
author	Andrea Gelmini <andrea.gelmini@gelma.net>	Wed Oct 04 15:29:42 2023 +0200
committer	Julien Nabet <serval2412@yahoo.fr>	Wed Oct 04 23:03:24 2023 +0200
tree 66acc2073d64ef5916da95f7e48858c70a7b12b4
parent adcde78935fb8ca2b93322aa3a558d0b3ccdbfad [diff]

So, I believe the regression has been addressed.  I am marking the bug as RESOLVED.  Feel free to change the Status to whatever else you may deem fit.
Comment 7 Stéphane Guillou (stragu) 2023-10-05 12:34:57 UTC
Thanks for confirming so quickly! Marking as a duplicate then.

*** This bug has been marked as a duplicate of bug 156306 ***