Description: I have a multipage Draw file (8 sheets), each page contains one or more inserted images, PNG or SVG. Each image is annotated with a Bezier curve line or a simple straight line. Each image also has a series of text boxes, containing numbering. When I attempt to export this Draw file to PDF1/A, LO either hangs indefinitely, requiring a forced kill, or crashes, and a zero byte temporary file is created. The recovery dialog is started and I can recover the Draw file, but no PDF file is created. If I export to PDF3/A, there is no problem, and the file is created. Lossless compression option is selected in the export options. Reduce to 300 dpi option is selected. Steps to Reproduce: 1. Open, or create a multi-page draw file containing inserted PNG and/or SVG images. 2. Annotate each image with a Bezier curve leading from a point on the image to outside the image frame, and then add a textbox with a number at the end of the Bezier curve. 3. Try and export the Draw file to PDF 1/A. Actual Results: Crash, or indefinite hang requiring force kill. Recovery dialog starts up, and zero byte temporary file created. Expected Results: No crash, and creation of the requested PDF format document. Reproducible: Always User Profile Reset: Yes Additional Info: PDF 1/A format is a requirement for use with certain international administrations, such as WIPO, when filing patent applications.
No crash with Version: 7.5.4.2 (AARCH64) / LibreOffice Community Build ID: 36ccfdc35048b057fd9854c757a8b67ec53977b6 CPU threads: 8; OS: Mac OS X 14.0; UI render: Skia/Raster; VCL: osx Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR Calc: threaded ==>> regression
Note that when using LO 7.5.4.2, I get a message during export that transparencies are going to be removed because they are unsupported in the chosen version of PDF export. This message is not displayed when using LO 7621.
Created attachment 190412 [details] AppleTrace on hang Trace provided by Apple when forcing kill on hung LO process
FWIW, when clicking on the Export button in the Export dialog, LODev does not crash running in a LLDB session, but spews out many lines of warning: warn:vcl.gdi:11759:183085:vcl/source/outdev/stack.cxx:101: OutputDevice::Pop() without OutputDevice::Push() warn:vcl.pdfwriter:11759:183085:vcl/source/gdi/pdfwriter_impl.cxx:8477: invalid conversion x14 and then again : warn:vcl.gdi:11759:183085:vcl/source/outdev/stack.cxx:101: OutputDevice::Pop() without OutputDevice::Push() warn:vcl.pdfwriter:11759:183085:vcl/source/gdi/pdfwriter_impl.cxx:8477: invalid conversion x22 warn:legacy.osl:11759:183085:vcl/source/gdi/pdfwriter_impl.cxx:10842: document structure in disorder ! x60 warn:vcl.gdi:11759:183085:vcl/source/outdev/stack.cxx:101: OutputDevice::Pop() without OutputDevice::Push() warn:vcl.pdfwriter:11759:183085:vcl/source/gdi/pdfwriter_impl.cxx:8477: invalid conversion x7 warn:legacy.osl:11759:183085:vcl/source/gdi/pdfwriter_impl.cxx:10842: document structure in disorder ! x84
Pretty confident this is a duplicate of bug 157182, already fixed in 7.6.3. Please confirm that it is fixed in a 7.6.3 pre-release. *** This bug has been marked as a duplicate of bug 157182 ***
(In reply to Stéphane Guillou (stragu) from comment #5) > Pretty confident this is a duplicate of bug 157182, already fixed in 7.6.3. > Please confirm that it is fixed in a 7.6.3 pre-release. > > *** This bug has been marked as a duplicate of bug 157182 *** I would agree, in LODev daily builds it doesn't crash, and the PDF is created/saved, but the console spews out the warnings I listed in comment 4. From reading Michael's comments on the commit which fixes the crashing problem, it seems that this is intended, i.e. the "destructured" warnings are removed by pdfwriter_impl, so as far as I can see the crashing issue is resolved (although not very reassuring to see such warnings on the console).