[Libreoffice-bugs] [Bug 112215] New: LibreOffice crashes due to PPD file using CUPS
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Sep 4 16:00:22 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=112215
Bug ID: 112215
Summary: LibreOffice crashes due to PPD file using CUPS
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: jeti2121 at hotmail.com
Created attachment 136013
--> https://bugs.documentfoundation.org/attachment.cgi?id=136013&action=edit
Lexmark printer PPD file that makes LibreOffice crash whenever it is parsed.
I have a printer that uses a PPD file for the 'Lexmark MS310 Series'.
In the PPD file (see attachment) you can find the following two relevant lines:
*?FileSystem: ""
*?TTRasterizer: ""
Even though this is no syntax error according to 'cupstestppd' utility, it is
these two lines that make LibreOffice crash (upon opening any Print dialog, and
sometimes even when opening an existing file rendering LibreOffice unusable).
Removing these lines from the PPD file, and modifying the printer in the CUPS
webinterface with these changes, solves the problem.
This only occurs when the PPD file is added to a printer, and the CUPS service
is running.
I have reproduced this issue on two different computers consistently. And using
the backtrace parameter, I found that the exception occurs somewhere in a
PPDParser related code.
This behavior is bad since a PPD file should never be able to crash LibreOffice
without any errors/warnings.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170904/7723be33/attachment.html>
More information about the Libreoffice-bugs
mailing list