Skip to content

universal filter crashes when there is no valid default page size #31

Closed

Description

@zdohnal

Answer from ipptool, grepped for default media related settings
full log
:

        media-col-default (collection) = {media-bottom-margin=1 media-left-margin=1 media-right-margin=1 media-size={x-dimension=10160 y-dimension=10252} media-size-name=oe_4x4.03661-label_4x4.03661in media-source=main-roll media-top-margin=1 media-top-offset=0 media-tracking=continuous media-type=labels}
        media-default (keyword) = oe_4x4.03661-label_4x4.03661in

zebra-lprint-perm.ppd.txt

job_log.txt

$ PPD=zebra-lprint-perm.ppd.txt CONTENT_TYPE=text/plain FINAL_CONTENT_TYPE=image/urf /usr/lib/cups/filter/universal 1 root '' 1 '' /etc/fstab > out.ras
DEBUG: ppdFilterLoadPPD: Color profile qualifier determined from job and PPD data 'Gray.Labels.300dpi'
DEBUG: ppdFilterLoadPPD: No ICC profiles specified in PPD
DEBUG: ppdFilterLoadPPD: Searching for profile "-/Labels"...
Segmentation fault (core dumped)

Backtrace

The issue is caused by bug in lprint/pappl, which does not set the correct default page size, but we should end up with error and not with crash.

System Information:
Fedora 39, libppd 2.0.0, lprint 1.2.0, CUPS 2.4.7, pappl 1.4.2

Activity

  1. changed the title [-]universal filter crashes when there is no default page size[/-] [+]universal filter crashes when there is no valid default page size[/+] on Dec 13, 2023
  2. added a commit that references this issue on Jan 11, 2024
    848b899
  3. added a commit that references this issue on Mar 8, 2024
    d17b102
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions