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@lists.freedesktop.org
          Reporter: jeti2...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to