https://bugs.documentfoundation.org/show_bug.cgi?id=171337
Bug ID: 171337
Summary: Breaking a PDF imported with LO_IMPORT_USE_PDFIUM
crashes second time
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
1. Open attachment 142643 from bug 118105 in a debug build, using
LO_IMPORT_USE_PDFIUM (e.g., 'LO_IMPORT_USE_PDFIUM=1 soffice
path/to/3-collabora_online_slide_deck.pdf').
2. Right-click the PDF object, and Break it.
3. Close the document (without saving), but do not close the program.
4. Open the PDF document again, and break the object again.
On my Windows system, this crashes. The problem is EACCES inside afdko's
cbConvert, because the file already exists. The problem is, that the second
import may create a new instance of ImpSdrPdfImport, having exactly the same
address, so than getPrefix returns the same value (see commit
b3bfae88b66acf4e0ecbf3464362834f5ce3ac1e).
--
You are receiving this mail because:
You are the assignee for the bug.