Skip to content

cups-browsed causes 100% CPU usage in ppdCreateFromIPP2 (cupsfilters/ppdgenerator.c:1974) #65

@szotsaki

Description

@szotsaki

Describe the bug
cups-browsed causes 100% CPU core usage after it starts.

Backtrace:

#0  0x00007fc309249bfa in ppdCreateFromIPP2 (buffer=buffer@entry=0x7ffe54d7b6b0 "/tmp/046d56912d958", bufsize=bufsize@entry=8192, response=response@entry=0x562d1b61b290, 
    make_model=make_model@entry=0x562d1b59d940 "ECOSYS PA2101cwx", 
    pdl=pdl@entry=0x562d1b6062c0 "image/pwg-raster,application/octet-stream,application/pdf,image/tiff,image/jpeg,image/urf,application/postscript,application/vnd.hp-PCL,application/vnd.hp-PCLXL,application/vnd.xpsdocument", color=color@entry=1, duplex=<optimized out>, conflicts=<optimized out>, sizes=<optimized out>, default_pagesize=<optimized out>, 
    default_cluster_color=<optimized out>) at cupsfilters/ppdgenerator.c:1974
#1  0x0000562cfee35599 in update_cups_queues (unused=unused@entry=0x0) at utils/cups-browsed.c:7239
#2  0x00007fc309310972 in g_timeout_dispatch (source=source@entry=0x562d1b61eb50, callback=0x562cfee32870 <update_cups_queues>, user_data=0x0) at ../glib/gmain.c:5298
#3  0x00007fc30930cb36 in g_main_dispatch (context=0x562d1b6089e0) at ../glib/gmain.c:3565
#4  g_main_context_dispatch_unlocked (context=context@entry=0x562d1b6089e0) at ../glib/gmain.c:4425
#5  0x00007fc30930fa28 in g_main_context_iterate_unlocked (context=0x562d1b6089e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4490
#6  0x00007fc309310487 in g_main_loop_run (loop=0x7fc2f8002150) at ../glib/gmain.c:4695
#7  0x0000562cfee2581e in main (argc=<optimized out>, argv=<optimized out>) at utils/cups-browsed.c:11391

Full:

#0  0x00007fc309249bfa in ppdCreateFromIPP2 (buffer=buffer@entry=0x7ffe54d7b6b0 "/tmp/046d56912d958", bufsize=bufsize@entry=8192, response=response@entry=0x562d1b61b290, 
    make_model=make_model@entry=0x562d1b59d940 "ECOSYS PA2101cwx", 
    pdl=pdl@entry=0x562d1b6062c0 "image/pwg-raster,application/octet-stream,application/pdf,image/tiff,image/jpeg,image/urf,application/postscript,application/vnd.hp-PCL,application/vnd.hp-PCLXL,application/vnd.xpsdocument", color=color@entry=1, duplex=<optimized out>, conflicts=<optimized out>, sizes=<optimized out>, default_pagesize=<optimized out>, 
    default_cluster_color=<optimized out>) at cupsfilters/ppdgenerator.c:1974
        format = 0x562d1b6222e4 "application/octet-stream"
        lang = 0x562d1b5e60d0
        fp = <optimized out>
        printer_sizes = <optimized out>
        size = <optimized out>
        attr = 0x562d1b631110
        attr2 = <optimized out>
        defattr = 0x0
        quality = <optimized out>
        x_dim = <optimized out>
        y_dim = <optimized out>
        media_col = <optimized out>
        media_size = <optimized out>
        make = "ECOSYS\000PA2101cwx", '\000' <repeats 239 times>
        mptr = <optimized out>
        ppdname = '\000' <repeats 40 times>
        model = <optimized out>
        i = 0
        j = <optimized out>
        count = <optimized out>
        bottom = 0
        left = 0
        right = 0
        top = 0
        max_length = 0
        max_width = 0
        min_length = 2147483647make
        min_width = 2147483647
        is_apple = 0
        is_pwg = 0
        is_pclm = 0
        is_pdf = 0
        pwg = <optimized out>
        xres = <optimized out>
        yres = <optimized out>
        common_res = 0x0
        current_res = 0x0
        pdl_list = 0x562d1b653800
        common_def = 0x0
        current_def = 0x0
        min_res = 0x0
        max_res = 0x0
        loc = 0x7fc308fff200 <result>
        printer_opt_strings_catalog = 0x0
        human_readable = <optimized out>
        human_readable2 = <optimized out>
        keyword = <optimized out>
        fin_options = 0x0
        buf = '\000' <repeats 208 times>...
        filter_path = "1111", '\000' <repeats 60 times>, "/etc/cups/lpoptions", '\000' <repeats 102 times>, "\332y`\212\242\300\360\000\000\000\000\000\000\000\000"...
        cups_serverbin = <optimized out>
        defaultoutbin = <optimized out>
        outbin = <optimized out>
        outbin_properties = "type=unRemovableBin;maxcapacity=250;remaining=-2;status=4;name=Top Tray;stackingorder=firstToLast;pagedelivery=faceDown;", '\000' <repeats 903 times>
        octet_str_len = 120
        outbin_properties_octet = <optimized out>
        outputorderinfofound = <optimized out>
        faceupdown = <optimized out>
        firsttolast = <optimized out>
        manual_copies = -1
        is_fax = <optimized out>
        formatfound = 0
        sources = {{0x7fc30925b701 "Auto", 0x7fc30925ad48 "Automatic"}, {0x7fc30925c8cb "Main", 0x7fc30925c8cb "Main"}, {0x7fc30925c8d0 "Alternate", 0x7fc30925c8d0 "Alternate"}, {
            0x7fc30925c8da "LargeCapacity", 0x7fc30925c8e8 "Large Capacity"}, {0x7fc30925c8f7 "Manual", 0x7fc30925c8f7 "Manual"}, {0x7fc30925be26 "Envelope", 0x7fc30925be26 "Envelope"}, {
            0x7fc30925bd0d "Disc", 0x7fc30925bd0d "Disc"}, {0x7fc30925adcb "Photo", 0x7fc30925adcb "Photo"}, {0x7fc30925c8fe "Hagaki", 0x7fc30925c8fe "Hagaki"}, {0x7fc30925c905 "MainRoll", 
            0x7fc30925c90e "Main Roll"}, {0x7fc30925c918 "AlternateRoll", 0x7fc30925c926 "Alternate Roll"}, {0x7fc30925c935 "Top", 0x7fc30925c935 "Top"}, {0x7fc30925b851 "Middle", 
            0x7fc30925b851 "Middle"}, {0x7fc30925c939 "Bottom", 0x7fc30925c939 "Bottom"}, {0x7fc30925c940 "Side", 0x7fc30925c940 "Side"}, {0x7fc30925c945 "Left", 0x7fc30925c945 "Left"}, {
            0x7fc30925c94a "Right", 0x7fc30925c94a "Right"}, {0x7fc30925c950 "Center", 0x7fc30925c950 "Center"}, {0x7fc30925c957 "Rear", 0x7fc30925c957 "Rear"}, {
            0x7fc30925c95c "ByPassTray", 0x7fc30925c967 "Multipurpose"}, {0x7fc30925c974 "Tray1", 0x7fc30925b971 "Tray 1"}, {0x7fc30925c97a "Tray2", 0x7fc30925b97f "Tray 2"}, {
            0x7fc30925c980 "Tray3", 0x7fc30925b98d "Tray 3"}, {0x7fc30925c986 "Tray4", 0x7fc30925b99b "Tray 4"}, {0x7fc30925c98c "Tray5", 0x7fc30925b9a9 "Tray 5"}, {0x7fc30925c992 "Tray6", 
            0x7fc30925b9b7 "Tray 6"}, {0x7fc30925c998 "Tray7", 0x7fc30925b9c5 "Tray 7"}, {0x7fc30925c99e "Tray8", 0x7fc30925b9d3 "Tray 8"}, {0x7fc30925c9a4 "Tray9", 
            0x7fc30925b9e1 "Tray 9"}, {0x7fc30925c9aa "Tray10", 0x7fc30925b9f0 "Tray 10"}, {0x7fc30925c9b1 "Tray11", 0x7fc30925c9b8 "Tray 11"}, {0x7fc30925c9c0 "Tray12", 
            0x7fc30925c9c7 "Tray 12"}, {0x7fc30925c9cf "Tray13", 0x7fc30925c9d6 "Tray 13"}, {0x7fc30925c9de "Tray14", 0x7fc30925c9e5 "Tray 14"}, {0x7fc30925c9ed "Tray15", 
            0x7fc30925c9f4 "Tray 15"}, {0x7fc30925c9fc "Tray16", 0x7fc30925ca03 "Tray 16"}, {0x7fc30925ca0b "Tray17", 0x7fc30925ca12 "Tray 17"}, {0x7fc30925ca1a "Tray18", 
            0x7fc30925ca21 "Tray 18"}, {0x7fc30925ca29 "Tray19", 0x7fc30925ca30 "Tray 19"}, {0x7fc30925ca38 "Tray20", 0x7fc30925ca3f "Tray 20"}, {0x7fc30925ca47 "Roll1", 
            0x7fc30925ca4d "Roll 1"}, {0x7fc30925ca54 "Roll2", 0x7fc30925ca5a "Roll 2"}, {0x7fc30925ca61 "Roll3", 0x7fc30925ca67 "Roll 3"}, {0x7fc30925ca6e "Roll4", 
            0x7fc30925ca74 "Roll 4"}, {0x7fc30925ca7b "Roll5", 0x7fc30925ca81 "Roll 5"}, {0x7fc30925ca88 "Roll6", 0x7fc30925ca8e "Roll 6"}, {0x7fc30925ca95 "Roll7", 
            0x7fc30925ca9b "Roll 7"}, {0x7fc30925caa2 "Roll8", 0x7fc30925caa8 "Roll 8"}, {0x7fc30925caaf "Roll9", 0x7fc30925cab5 "Roll 9"}, {0x7fc30925cabc "Roll10", 
            0x7fc30925cac3 "Roll 10"}}
        media_types = {{0x7fc30925b9f8 "aluminum", 0x7fc30925ba01 "Aluminum"}, {0x7fc30925aaa4 "auto", 0x7fc30925ad48 "Automatic"}, {0x7fc30925ba0a "back-print-film", 
            0x7fc30925ba1a "Back Print Film"}, {0x7fc30925ba2a "cardboard", 0x7fc30925bd70 "Cardboard"}, {0x7fc30925ba34 "cardstock", 0x7fc30925ba3e "Cardstock"}, {0x7fc30925ba48 "cd", 
            0x7fc30925ba4b "CD"}, {0x7fc30925ba4e "com.hp.advanced-photo", 0x7fc30925ba64 "Advanced Photo Paper"}, {0x7fc30925ba79 "com.hp.brochure-glossy", 
            0x7fc30925ba90 "Glossy Brochure Paper"}, {0x7fc30925baa6 "com.hp.brochure-matte", 0x7fc30925babc "Matte Brochure Paper"}, {0x7fc30925bad1 "com.hp.cover-matte", 
            0x7fc30925bae4 "Matte Cover Paper"}, {0x7fc30925baf6 "com.hp.ecosmart-lite", 0x7fc30925bb0b "Office Recycled Paper"}, {0x7fc30925bb21 "com.hp.everyday-glossy", 
            0x7fc30925bb38 "Everyday Glossy Photo Paper"}, {0x7fc30925bb54 "com.hp.everyday-matte", 0x7fc30925bb6a "Everyday Matte Paper"}, {0x7fc30925bb7f "com.hp.extra-heavy", 
            0x7fc30925bb92 "Extra Heavyweight Paper"}, {0x7fc30925bbaa "com.hp.intermediate", 0x7fc30925bbbe "Multipurpose Paper"}, {0x7fc30925bbd1 "com.hp.mid-weight", 
            0x7fc30925bbe3 "Mid-Weight Paper"}, {0x7fc30925bbf4 "com.hp.premium-inkjet", 0x7fc30925bc0a "Premium Inkjet Paper"}, {0x7fc30925bc1f "com.hp.premium-photo", 
            0x7fc30925bc34 "Premium Photo Glossy Paper"}, {0x7fc3092613d8 "com.hp.premium-presentation-matte", 0x7fc309261400 "Premium Presentation Matte Paper"}, {
            0x7fc30925bc4f "continuous", 0x7fc30925bc5a "Continuous"}, {0x7fc30925bc65 "continuous-long", 0x7fc30925bc75 "Continuous Long"}, {0x7fc30925bc85 "continuous-short", 
            0x7fc30925bc96 "Continuous Short"}, {0x7fc30925bca7 "disc", 0x7fc30925bd05 "Optical Disc"}, {0x7fc30925bcac "disc-glossy", 0x7fc30925bcb8 "Glossy Optical Disc"}, {
            0x7fc30925bccc "disc-high-gloss", 0x7fc30925bcdc "High Gloss Optical Disc"}, {0x7fc30925bcf4 "disc-matte", 0x7fc30925bcff "Matte Optical Disc"}, {0x7fc30925bd12 "disc-satin", 
            0x7fc30925bd1d "Satin Optical Disc"}, {0x7fc30925bd30 "disc-semi-gloss", 0x7fc30925bd40 "Semi-Gloss Optical Disc"}, {0x7fc30925bd58 "double-wall", 
            0x7fc30925bd64 "Double Wall Cardboard"}, {0x7fc30925bd7a "dry-film", 0x7fc30925bd83 "Dry Film"}, {0x7fc30925bd8c "dvd", 0x7fc30925bd90 "DVD"}, {0x7fc30925bd94 "embossing-foil", 
            0x7fc30925bda3 "Embossing Foil"}, {0x7fc30925bdb2 "end-board", 0x7fc30925bdbc "End Board"}, {0x7fc30925bdc6 "envelope", 0x7fc30925be26 "Envelope"}, {
            0x7fc30925bdcf "envelope-archival", 0x7fc30925bde1 "Archival Envelope"}, {0x7fc30925bdf3 "envelope-bond", 0x7fc30925be01 "Bond Envelope"}, {0x7fc30925be0f "envelope-coated", 
            0x7fc30925be1f "Coated Envelope"}, {0x7fc30925be2f "envelope-cotton", 0x7fc30925be3f "Cotton Envelope"}, {0x7fc30925be4f "envelope-fine", 0x7fc30925be5d "Fine Envelope"}, {
            0x7fc30925be6b "envelope-heavyweight", 0x7fc30925be80 "Heavyweight Envelope"}, {0x7fc30925be95 "envelope-inkjet", 0x7fc30925bea5 "Inkjet Envelope"}, {
            0x7fc30925beb5 "envelope-lightweight", 0x7fc30925beca "Lightweight Envelope"}, {0x7fc30925bedf "envelope-plain", 0x7fc30925beee "Plain Envelope"}, {
            0x7fc30925befd "envelope-preprinted", 0x7fc30925bf11 "Preprinted Envelope"}, {0x7fc30925bf25 "envelope-window", 0x7fc30925bf35 "Windowed Envelope"}, {0x7fc30925bf47 "fabric", 
            0x7fc30925bfc1 "Fabric"}, {0x7fc30925bf4e "fabric-archival", 0x7fc30925bf5e "Archival Fabric"}, {0x7fc30925bf6e "fabric-glossy", 0x7fc30925bf7c "Glossy Fabric"}, {
            0x7fc30925bf8a "fabric-high-gloss", 0x7fc30925bf9c "High Gloss Fabric"}, {0x7fc30925bfae "fabric-matte", 0x7fc30925bfbb "Matte Fabric"}, {0x7fc30925bfc8 "fabric-semi-gloss", 
            0x7fc30925bfda "Semi-Gloss Fabric"}, {0x7fc30925bfec "fabric-waterproof", 0x7fc30925bffe "Waterproof Fabric"}, {0x7fc30925c417 "film", 0x7fc30925c670 "Film"}, {
            0x7fc30925c010 "flexo-base", 0x7fc30925c01b "Flexo Base"}, {0x7fc30925c026 "flexo-photo-polymer", 0x7fc30925c03a "Flexo Photo Polymer"}, {0x7fc30925c04e "flute", 
            0x7fc30925c054 "Flute"}, {0x7fc30925bd9e "foil", 0x7fc30925bdad "Foil"}, {0x7fc30925c05a "full-cut-tabs", 0x7fc30925c068 "Full Cut Tabs"}, {0x7fc30925c076 "glass", 
            0x7fc30925c07c "Glass"}, {0x7fc30925c082 "glass-colored", 0x7fc30925c090 "Glass Colored"}, {0x7fc30925c09e "glass-opaque", 0x7fc30925c0ab "Glass Opaque"}, {
            0x7fc30925c0b8 "glass-surfaced", 0x7fc30925c0c7 "Glass Surfaced"}, {0x7fc30925c0d6 "glass-textured", 0x7fc30925c0e5 "Glass Textured"}, {0x7fc30925c0f4 "gravure-cylinder", 
            0x7fc30925c105 "Gravure Cylinder"}, {0x7fc30925c116 "image-setter-paper", 0x7fc30925c129 "Image Setter Paper"}, {0x7fc30925c13c "imaging-cylinder", 
            0x7fc30925c14d "Imaging Cylinder"}, {0x7fc309261428 "jp.co.canon_photo-paper-plus-glossy-ii", 0x7fc30925c15e "Photo Paper Plus Glossy II"}, {
            0x7fc309261450 "jp.co.canon_photo-paper-pro-platinum", 0x7fc30925c179 "Photo Paper Pro Platinum"}, {0x7fc309261478 "jp.co.canon-photo-paper-plus-glossy-ii", 
            0x7fc30925c15e "Photo Paper Plus Glossy II"}, {0x7fc3092614a0 "jp.co.canon-photo-paper-pro-platinum", 0x7fc30925c179 "Photo Paper Pro Platinum"}, {0x7fc30925c192 "labels", 
            0x7fc30925c1b0 "Labels"}, {0x7fc30925c199 "labels-colored", 0x7fc30925c1a8 "Colored Labels"}, {0x7fc30925c1b7 "labels-glossy", 0x7fc30925c1c5 "Glossy Labels"}, {
            0x7fc30925c1d3 "labels-high-gloss", 0x7fc30925c1e5 "High Gloss Labels"}, {0x7fc30925c1f7 "labels-inkjet", 0x7fc30925c205 "Inkjet Labels"}, {0x7fc30925c213 "labels-matte", 
            0x7fc30925c220 "Matte Labels"}, {0x7fc30925c22d "labels-permanent", 0x7fc30925c23e "Permanent Labels"}, {0x7fc30925c24f "labels-satin", 0x7fc30925c25c "Satin Labels"}, {
            0x7fc30925c269 "labels-security", 0x7fc30925c279 "Security Labels"}, {0x7fc30925c289 "labels-semi-gloss", 0x7fc30925c29b "Semi-Gloss Labels"}, {0x7fc30925c2ad "laminating-foil", 
            0x7fc30925c2bd "Laminating Foil"}, {0x7fc30925c7c8 "letterhead", 0x7fc30925c2cd "Letterhead"}, {0x7fc30925c2d8 "metal", 0x7fc30925c2de "Metal"}, {0x7fc30925c2e4 "metal-glossy", 
            0x7fc30925c2f1 "Metal Glossy"}, {0x7fc30925c2fe "metal-high-gloss", 0x7fc30925c30f "Metal High Gloss"}, {0x7fc30925c320 "metal-matte", 0x7fc30925c32c "Metal Matte"}, {
            0x7fc30925c338 "metal-satin", 0x7fc30925c344 "Metal Satin"}, {0x7fc30925c350 "metal-semi-gloss", 0x7fc30925c361 "Metal Semi Gloss"}, {0x7fc30925c372 "mounting-tape", 
            0x7fc30925c380 "Mounting Tape"}, {0x7fc30925c38e "multi-layer", 0x7fc30925c39a "Multi Layer"}, {0x7fc30925c3a6 "multi-part-form", 0x7fc30925c3b6 "Multi Part Form"}, {
            0x7fc30925c3c6 "other", 0x7fc30925c3cc "Other"}, {0x7fc30925c123 "paper", 0x7fc30925c841 "Paper"}, {0x7fc30925ba5e "photo", 0x7fc30925ba6d "Photo Paper"}, {
            0x7fc30925c3d2 "photographic", 0x7fc30925ba6d "Photo Paper"}, {0x7fc30925c3df "photographic-archival", 0x7fc30925c3f5 "Archival Photo Paper"}, {
            0x7fc30925c40a "photographic-film", 0x7fc30925c41c "Photo Film"}, {0x7fc30925c427 "photographic-glossy", 0x7fc30925bb41 "Glossy Photo Paper"}, {
            0x7fc30925c43b "photographic-high-gloss", 0x7fc30925c453 "High Gloss Photo Paper"}, {0x7fc30925c46a "photographic-matte", 0x7fc30925c47d "Matte Photo Paper"}, {
            0x7fc30925c48f "photographic-satin", 0x7fc30925c4a2 "Satin Photo Paper"}, {0x7fc30925c4b4 "photographic-semi-gloss", 0x7fc30925c4cc "Semi-Gloss Photo Paper"}, {
            0x7fc30925c4e3 "plastic", 0x7fc30925c4eb "Plastic"}, {0x7fc30925c4f3 "plastic-archival", 0x7fc30925c504 "Plastic Archival"}, {0x7fc30925c515 "plastic-colored", 
            0x7fc30925c525 "Plastic Colored"}, {0x7fc30925c535 "plastic-glossy", 0x7fc30925c544 "Plastic Glossy"}, {0x7fc30925c553 "plastic-high-gloss", 
            0x7fc30925c566 "Plastic High Gloss"}, {0x7fc30925c579 "plastic-matte", 0x7fc30925c587 "Plastic Matte"}, {0x7fc30925c595 "plastic-satin", 0x7fc30925c5a3 "Plastic Satin"}, {
            0x7fc30925c5b1 "plastic-semi-gloss", 0x7fc30925c5c4 "Plastic Semi Gloss"}, {0x7fc30925a9f9 "plate", 0x7fc30925c5d7 "Plate"}, {0x7fc30925c5dd "polyester", 
            0x7fc30925c5e7 "Polyester"}, {0x7fc30925c5f1 "pre-cut-tabs", 0x7fc30925c5fe "Pre Cut Tabs"}, {0x7fc30925cf59 "roll", 0x7fc30925c930 "Roll"}, {0x7fc30925c60b "screen", 
            0x7fc30925c612 "Screen"}, {0x7fc30925c619 "screen-paged", 0x7fc30925c626 "Screen Paged"}, {0x7fc30925c633 "self-adhesive", 0x7fc30925c641 "Self Adhesive"}, {
            0x7fc30925c64f "self-adhesive-film", 0x7fc30925c662 "Self Adhesive Film"}, {0x7fc30925c675 "shrink-foil", 0x7fc30925c681 "Shrink Foil"}, {0x7fc30925c68d "single-face", 
            0x7fc30925c699 "Single Face"}, {0x7fc30925c6a5 "single-wall", 0x7fc30925c6b1 "Single Wall Cardboard"}, {0x7fc30925c6c7 "sleeve", 0x7fc30925c6ce "Sleeve"}, {
            0x7fc30925c6d5 "stationery", 0x7fc30925c6e0 "Plain Paper"}, {0x7fc30925c6ec "stationery-archival", 0x7fc30925c700 "Archival Paper"}, {0x7fc30925c70f "stationery-coated", 
            0x7fc30925c79e "Coated Paper"}, {0x7fc30925c721 "stationery-cotton", 0x7fc30925c733 "Cotton Paper"}, {0x7fc30925c740 "stationery-fine", 0x7fc30925c750 "Vellum Paper"}, {
            0x7fc30925c75d "stationery-heavyweight", 0x7fc30925bb98 "Heavyweight Paper"}, {0x7fc30925c774 "stationery-heavyweight-coated", 0x7fc30925c792 "Heavyweight Coated Paper"}, {
            0x7fc30925c7ab "stationery-inkjet", 0x7fc30925bc12 "Inkjet Paper"}, {0x7fc30925c7bd "stationery-letterhead", 0x7fc30925c2cd "Letterhead"}, {
            0x7fc30925c7d3 "stationery-lightweight", 0x7fc30925c7ea "Lightweight Paper"}, {0x7fc30925c7fc "stationery-preprinted", 0x7fc30925c812 "Preprinted Paper"}, {
            0x7fc30925c823 "stationery-prepunched", 0x7fc30925c839 "Punched Paper"}, {0x7fc30925c847 "tab-stock", 0x7fc30925c851 "Tab Stock"}, {0x7fc30925c85b "tractor", 
            0x7fc30925c863 "Tractor"}, {0x7fc30925c86b "transfer", 0x7fc30925c874 "Transfer"}, {0x7fc30925c87d "transparency", 0x7fc30925c88a "Transparency"}, {0x7fc30925c897 "triple-wall", 
            0x7fc30925c8a3 "Triple Wall Cardboard"}, {0x7fc30925c8b9 "wet-film", 0x7fc30925c8c2 "Wet Film"}}
        output_bins = {{0x7fc30925aaa4 "auto", 0x7fc30925ad48 "Automatic"}, {0x7fc30925b317 "bottom", 0x7fc30925b722 "Bottom Tray"}, {0x7fc30925b72e "center", 0x7fc30925b735 "Center Tray"}, 
          {0x7fc30925a660 "face-down", 0x7fc30925b741 "Face Down"}, {0x7fc30925cd63 "face-up", 0x7fc30925b74b "Face Up"}, {0x7fc30925b753 "large-capacity", 
            0x7fc30925b762 "Large Capacity Tray"}, {0x7fc30925b329 "left", 0x7fc30925b776 "Left Tray"}, {0x7fc30925b780 "mailbox-1", 0x7fc30925b78a "Mailbox 1"}, {
            0x7fc30925b794 "mailbox-2", 0x7fc30925b79e "Mailbox 2"}, {0x7fc30925b7a8 "mailbox-3", 0x7fc30925b7b2 "Mailbox 3"}, {0x7fc30925b7bc "mailbox-4", 0x7fc30925b7c6 "Mailbox 4"}, {
            0x7fc30925b7d0 "mailbox-5", 0x7fc30925b7da "Mailbox 5"}, {0x7fc30925b7e4 "mailbox-6", 0x7fc30925b7ee "Mailbox 6"}, {0x7fc30925b7f8 "mailbox-7", 0x7fc30925b802 "Mailbox 7"}, {
            0x7fc30925b80c "mailbox-8", 0x7fc30925b816 "Mailbox 8"}, {0x7fc30925b820 "mailbox-9", 0x7fc30925b82a "Mailbox 9"}, {0x7fc30925b834 "mailbox-10", 0x7fc30925b83f "Mailbox 10"}, {
            0x7fc30925b84a "middle", 0x7fc30925b851 "Middle"}, {0x7fc30925b858 "my-mailbox", 0x7fc30925b863 "My Mailbox"}, {0x7fc30925b86e "rear", 0x7fc30925b873 "Rear Tray"}, {
            0x7fc30925b351 "right", 0x7fc30925b87d "Right Tray"}, {0x7fc30925b888 "side", 0x7fc30925b88d "Side Tray"}, {0x7fc30925b897 "stacker-1", 0x7fc30925b8a1 "Stacker 1"}, {
            0x7fc30925b8ab "stacker-2", 0x7fc30925b8b5 "Stacker 2"}, {0x7fc30925b8bf "stacker-3", 0x7fc30925b8c9 "Stacker 3"}, {0x7fc30925b8d3 "stacker-4", 0x7fc30925b8dd "Stacker 4"}, {
            0x7fc30925b8e7 "stacker-5", 0x7fc30925b8f1 "Stacker 5"}, {0x7fc30925b8fb "stacker-6", 0x7fc30925b905 "Stacker 6"}, {0x7fc30925b90f "stacker-7", 0x7fc30925b919 "Stacker 7"}, {
            0x7fc30925b923 "stacker-8", 0x7fc30925b92d "Stacker 8"}, {0x7fc30925b937 "stacker-9", 0x7fc30925b941 "Stacker 9"}, {0x7fc30925b94b "stacker-10", 0x7fc30925b956 "Stacker 10"}, {
            0x7fc30925b362 "top", 0x7fc30925b961 "Top Tray"}, {0x7fc30925b96a "tray-1", 0x7fc30925b971 "Tray 1"}, {0x7fc30925b978 "tray-2", 0x7fc30925b97f "Tray 2"}, {
            0x7fc30925b986 "tray-3", 0x7fc30925b98d "Tray 3"}, {0x7fc30925b994 "tray-4", 0x7fc30925b99b "Tray 4"}, {0x7fc30925b9a2 "tray-5", 0x7fc30925b9a9 "Tray 5"}, {
            0x7fc30925b9b0 "tray-6", 0x7fc30925b9b7 "Tray 6"}, {0x7fc30925b9be "tray-7", 0x7fc30925b9c5 "Tray 7"}, {0x7fc30925b9cc "tray-8", 0x7fc30925b9d3 "Tray 8"}, {
            0x7fc30925b9da "tray-9", 0x7fc30925b9e1 "Tray 9"}, {0x7fc30925b9e8 "tray-10", 0x7fc30925b9f0 "Tray 10"}}
        base_keywords = {0x0, 0x7fc30925b6f2 "SingleAuto", 0x7fc30925b6f2 "SingleAuto", 0x0, 0x7fc30925b6fd "BindAuto", 0x7fc30925b706 "SaddleStitch", 0x7fc30925b713 "EdgeStitchAuto", 
          0x7fc30925b701 "Auto", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
        staple_keywords = {0x7fc30925ae35 "SinglePortrait", 0x7fc30925ae44 "SingleRevLandscape", 0x7fc30925ae57 "SingleLandscape", 0x7fc30925ae67 "SingleRevPortrait", 
          0x7fc30925b69e "EdgeStitchPortrait", 0x7fc30925b6b1 "EdgeStitchLandscape", 0x7fc30925b6c5 "EdgeStitchRevPortrait", 0x7fc30925b6db "EdgeStitchRevLandscape", 
          0x7fc30925ae79 "DualPortrait", 0x7fc30925ae86 "DualLandscape", 0x7fc30925ae94 "DualRevPortrait", 0x7fc30925aea4 "DualRevLandscape", 0x7fc30925aeb5 "TriplePortrait", 
          0x7fc30925aec4 "TripleLandscape", 0x7fc30925aed4 "TripleRevPortrait", 0x7fc30925aee6 "TripleRevLandscape"}
        bind_keywords = {0x7fc30925b662 "BindPortrait", 0x7fc30925b66f "BindLandscape", 0x7fc30925b67d "BindRevPortrait", 0x7fc30925b68d "BindRevLandscape"}
        finishings = {{0x7fc30925afdd "bale", 0x7fc30925afe2 "Bale"}, {0x7fc30925afe7 "bind", 0x7fc30925afec "Bind"}, {0x7fc30925aff1 "bind-bottom", 
            0x7fc30925affd "Bind (Reverse Landscape)"}, {0x7fc30925b016 "bind-left", 0x7fc30925b020 "Bind (Portrait)"}, {0x7fc30925b030 "bind-right", 
            0x7fc30925b03b "Bind (Reverse Portrait)"}, {0x7fc30925b053 "bind-top", 0x7fc30925b05c "Bind (Landscape)"}, {0x7fc30925a7c9 "booklet-maker", 0x7fc30925b06d "Booklet Maker"}, {
            0x7fc30925b07b "coat", 0x7fc30925b080 "Coat"}, {0x7fc30925b085 "cover", 0x7fc30925b08b "Cover"}, {0x7fc30925b091 "edge-stitch", 0x7fc30925b09d "Staple Edge"}, {
            0x7fc30925b0a9 "edge-stitch-bottom", 0x7fc309261138 "Staple Edge (Reverse Landscape)"}, {0x7fc30925b0bc "edge-stitch-left", 0x7fc30925b0cd "Staple Edge (Portrait)"}, {
            0x7fc30925b0e4 "edge-stitch-right", 0x7fc309261158 "Staple Edge (Reverse Portrait)"}, {0x7fc30925b0f6 "edge-stitch-top", 0x7fc30925b106 "Staple Edge (Landscape)"}, {
            0x7fc30925a7bb "fold", 0x7fc30925b1b5 "Fold"}, {0x7fc30925b11e "fold-accordian", 0x7fc30925b12d "Accordian Fold"}, {0x7fc30925b13c "fold-double-gate", 
            0x7fc30925b14d "Double Gate Fold"}, {0x7fc30925b15e "fold-engineering-z", 0x7fc30925b171 "Engineering Z Fold"}, {0x7fc30925b184 "fold-gate", 0x7fc30925b154 "Gate Fold"}, {
            0x7fc30925b18e "fold-half", 0x7fc30925b198 "Half Fold"}, {0x7fc30925b1a2 "fold-half-z", 0x7fc30925b1ae "Half Z Fold"}, {0x7fc30925b1ba "fold-left-gate", 
            0x7fc30925b1c9 "Left Gate Fold"}, {0x7fc30925b1d8 "fold-letter", 0x7fc30925b1e4 "Letter Fold"}, {0x7fc30925b1f0 "fold-parallel", 0x7fc30925b1fe "Parallel Fold"}, {
            0x7fc30925b20c "fold-poster", 0x7fc30925b218 "Poster Fold"}, {0x7fc30925b224 "fold-right-gate", 0x7fc30925b234 "Right Gate Fold"}, {0x7fc30925b244 "fold-z", 
            0x7fc30925b1b3 "Z Fold"}, {0x7fc30925b24b "jog-offset", 0x7fc30925b256 "Jog"}, {0x7fc30925b25a "laminate", 0x7fc30925b263 "Laminate"}, {0x7fc30925a84f "punch", 
            0x7fc30925a855 "Punch"}, {0x7fc30925b26c "punch-bottom-left", 0x7fc309261178 "Single Punch (Reverse Landscape)"}, {0x7fc30925b27e "punch-bottom-right", 
            0x7fc3092611a0 "Single Punch (Reverse Portrait)"}, {0x7fc30925b291 "punch-double-bottom", 0x7fc3092611c0 "2-Hole Punch (Reverse Portrait)"}, {0x7fc30925b2a5 "punch-double-left", 
            0x7fc3092611e0 "2-Hole Punch (Reverse Landscape)"}, {0x7fc30925b2b7 "punch-double-right", 0x7fc30925b2ca "2-Hole Punch (Landscape)"}, {0x7fc30925b2e3 "punch-double-top", 
            0x7fc30925b2f4 "2-Hole Punch (Portrait)"}, {0x7fc30925b30c "punch-quad-bottom", 0x7fc309261208 "4-Hole Punch (Reverse Landscape)"}, {0x7fc30925b31e "punch-quad-left", 
            0x7fc30925b32e "4-Hole Punch (Portrait)"}, {0x7fc30925b346 "punch-quad-right", 0x7fc309261230 "4-Hole Punch (Reverse Portrait)"}, {0x7fc30925b357 "punch-quad-top", 
            0x7fc30925b366 "4-Hole Punch (Landscape)"}, {0x7fc30925b37f "punch-top-left", 0x7fc30925b38e "Single Punch (Portrait)"}, {0x7fc30925b3a6 "punch-top-right", 
            0x7fc30925b3b6 "Single Punch (Landscape)"}, {0x7fc30925b3cf "punch-triple-bottom", 0x7fc309261250 "3-Hole Punch (Reverse Landscape)"}, {0x7fc30925b3e3 "punch-triple-left", 
            0x7fc30925b3f5 "3-Hole Punch (Portrait)"}, {0x7fc30925b40d "punch-triple-right", 0x7fc309261278 "3-Hole Punch (Reverse Portrait)"}, {0x7fc30925b420 "punch-triple-top", 
            0x7fc30925b431 "3-Hole Punch (Landscape)"}, {0x7fc30925b44a "punch-multiple-bottom", 0x7fc309261298 "Multi-Hole Punch (Reverse Landscape)"}, {
            0x7fc30925b460 "punch-multiple-left", 0x7fc30925b474 "Multi-Hole Punch (Portrait)"}, {0x7fc30925b490 "punch-multiple-right", 
            0x7fc3092612c0 "Multi-Hole Punch (Reverse Portrait)"}, {0x7fc30925b4a5 "punch-multiple-top", 0x7fc30925b4b8 "Multi-Hole Punch (Landscape)"}, {0x7fc30925a703 "saddle-stitch", 
            0x7fc30925b4d5 "Saddle Stitch"}, {0x7fc30925a734 "staple", 0x7fc30925a73b "Staple"}, {0x7fc30925b4e3 "staple-bottom-left", 0x7fc3092612e8 "Single Staple (Reverse Landscape)"}, {
            0x7fc30925b4f6 "staple-bottom-right", 0x7fc309261310 "Single Staple (Reverse Portrait)"}, {0x7fc30925b50a "staple-dual-bottom", 
            0x7fc309261338 "Double Staple (Reverse Landscape)"}, {0x7fc30925b51d "staple-dual-left", 0x7fc30925b52e "Double Staple (Portrait)"}, {0x7fc30925b547 "staple-dual-right", 
            0x7fc309261360 "Double Staple (Reverse Portrait)"}, {0x7fc30925b559 "staple-dual-top", 0x7fc30925b569 "Double Staple (Landscape)"}, {0x7fc30925b583 "staple-top-left", 
            0x7fc30925b593 "Single Staple (Portrait)"}, {0x7fc30925b5ac "staple-top-right", 0x7fc30925b5bd "Single Staple (Landscape)"}, {0x7fc30925b5d7 "staple-triple-bottom", 
            0x7fc309261388 "Triple Staple (Reverse Landscape)"}, {0x7fc30925b5ec "staple-triple-left", 0x7fc30925b5ff "Triple Staple (Portrait)"}, {0x7fc30925b618 "staple-triple-right", 
            0x7fc3092613b0 "Triple Staple (Reverse Portrait)"}, {0x7fc30925b62c "staple-triple-top", 0x7fc30925b63e "Triple Staple (Landscape)"}, {0x7fc30925a92a "trim", 
            0x7fc30925b658 "Cut Media"}}
        fold_keywords = {0x7fc30925af81 "Accordion", 0x7fc30925af8b "DoubleGate", 0x7fc30925af91 "Gate", 0x7fc30925af96 "Half", 0x7fc30925af9b "HalfZ", 0x7fc30925afa1 "LeftGate", 
          0x7fc30925afaa "Letter", 0x7fc30925afb1 "Parallel", 0x7fc30925afba "XFold", 0x7fc30925afc0 "RightGate", 0x7fc30925afca "ZFold", 0x7fc30925afd0 "EngineeringZ"}
        punch_keywords = {0x7fc30925ae35 "SinglePortrait", 0x7fc30925ae44 "SingleRevLandscape", 0x7fc30925ae57 "SingleLandscape", 0x7fc30925ae67 "SingleRevPortrait", 
          0x7fc30925ae79 "DualPortrait", 0x7fc30925ae86 "DualLandscape", 0x7fc30925ae94 "DualRevPortrait", 0x7fc30925aea4 "DualRevLandscape", 0x7fc30925aeb5 "TriplePortrait", 
          0x7fc30925aec4 "TripleLandscape", 0x7fc30925aed4 "TripleRevPortrait", 0x7fc30925aee6 "TripleRevLandscape", 0x7fc30925aef9 "QuadPortrait", 0x7fc30925af06 "QuadLandscape", 
          0x7fc30925af14 "QuadRevPortrait", 0x7fc30925af24 "QuadRevLandscape", 0x7fc30925af35 "MultiplePortrait", 0x7fc30925af46 "MultipleLandscape", 0x7fc30925af58 "MultipleRevPortrait", 
          0x7fc30925af6c "MultipleRevLandscape"}
        trim_keywords = {0x7fc30925ae10 "EndOfPage", 0x7fc30925ae1a "EndOfDoc", 0x7fc30925ae23 "EndOfSet", 0x7fc30925ae2c "EndOfJob"}
        content_optimize_types = {{0x7fc30925aaa4 "auto", 0x7fc30925ad48 "Automatic"}, {0x7fc30925ade4 "graphic", 0x7fc30925adf5 "Graphics"}, {0x7fc30925ae07 "graphics", 
            0x7fc30925adf5 "Graphics"}, {0x7fc30925ba5e "photo", 0x7fc30925adcb "Photo"}, {0x7fc30925add1 "text", 0x7fc30925add6 "Text"}, {0x7fc30925addb "text-and-graphic", 
            0x7fc30925adec "Text And Graphics"}, {0x7fc30925adfe "text-and-graphics", 0x7fc30925adec "Text And Graphics"}}
        rendering_intents = {{0x7fc30925aaa4 "auto", 0x7fc30925ad48 "Automatic"}, {0x7fc30925ad6e "absolute", 0x7fc30925ad77 "Absolute"}, {0x7fc30925ad80 "perceptual", 
            0x7fc30925ad8b "Perceptual"}, {0x7fc30925ad96 "relative", 0x7fc30925ad9f "Relative"}, {0x7fc30925ada8 "relative-bpc", 0x7fc309261110 "Relative w/Black Point Compensation"}, {
            0x7fc30925adb5 "saturation", 0x7fc30925adc0 "Saturation"}}
        scaling_types = {{0x7fc30925aaa4 "auto", 0x7fc30925ad48 "Automatic"}, {0x7fc30925ad52 "auto-fit", 0x7fc30925ad5b "Auto Fit"}, {0x7fc30925ad64 "fill", 0x7fc30925ad69 "Fill"}, {
            0x7fc30925ad57 "fit", 0x7fc30925ad60 "Fit"}, {0x7fc30925a9c6 "none", 0x7fc30925aa0a "None"}}
        qualities = {0x7fc30925aa7c "Draft", 0x7fc309259c69 "Normal", 0x7fc30925aa82 "High"}
#1  0x0000562cfee35599 in update_cups_queues (unused=unused@entry=0x0) at utils/cups-browsed.c:7239
        p = 0x562d1b5f5770
        q = <optimized out>
        r = <optimized out>
        s = <optimized out>
        master = <optimized out>
        http = 0x562d1b5e27a0
        uri = "ipp://localhost/printers/Kyocera_ECOSYS_PA2101cwx", '\000' <repeats 974 times>
        device_uri = '\000' <repeats 1023 times>
        buf = '\000' <repeats 1023 times>
        line = '\000' <repeats 1023 times>
        num_options = <optimized out>
        options = 0x562d1b620ad0
        num_jobs = <optimized out>
        jobs = 0x0
        request = <optimized out>
        current_time = <optimized out>
        i = <optimized out>
        ap_remote_queue_id_line_inserted = <optimized out>
        want_raw = <optimized out>
        num_cluster_printers = <optimized out>
        disabled_str = <optimized out>
        ppdfile = <optimized out>
        ifscript = 0x0
        fd = <optimized out>
        tempfile = '\000' <repeats 1023 times>
        buffer = "/tmp/046d56912d958", '\000' <repeats 1478 times>...
        bytes = <optimized out>
        cups_serverbin = <optimized out>
        attr = <optimized out>
        count = <optimized out>
        left = <optimized out>
        right = <optimized out>
        bottom = <optimized out>
        top = <optimized out>
        default_page_size = <optimized out>
        best_color_space = 0x0
        color_space = <optimized out>
        loadedppd = <optimized out>
        ppd = <optimized out>
        choice = <optimized out>
        in = <optimized out>
        out = <optimized out>
        keyword = '\000' <repeats 1023 times>
        keyptr = <optimized out>
        customval = <optimized out>
        val = <optimized out>
        dest = <optimized out>
        is_shared = <optimized out>
        conflicts = <optimized out>
        printer_attributes = 0x562d1b61b290
        sizes = <optimized out>
        printer_ipp_response = 0x562d1b61b290
        make_model = 0x562d1b59d940 "ECOSYS PA2101cwx"
        pdl = 0x562d1b6062c0 "image/pwg-raster,application/octet-stream,application/pdf,image/tiff,image/jpeg,image/urf,application/postscript,application/vnd.hp-PCL,application/vnd.hp-PCLXL,application/vnd.xpsdocument"
        color = <optimized out>
        duplex = <optimized out>
        default_pagesize = <optimized out>
        default_color = 0x0
        cups_queues_updated = 0
#2  0x00007fc309310972 in g_timeout_dispatch (source=source@entry=0x562d1b61eb50, callback=0x562cfee32870 <update_cups_queues>, user_data=0x0) at ../glib/gmain.c:5298
        timeout_source = 0x562d1b61eb50
        again = <optimized out>
#3  0x00007fc30930cb36 in g_main_dispatch (context=0x562d1b6089e0) at ../glib/gmain.c:3565
        dispatch = <optimized out>
        prev_source = 0x0
        begin_time_nsec = 0
        was_in_call = 0
        user_data = 0x0
        callback = 0x562cfee32870 <update_cups_queues>
        cb_funcs = 0x7fc309404260 <g_source_callback_funcs>
        cb_data = 0x562d1b6068a0
        need_destroy = <optimized out>
        source = 0x562d1b61eb50
        current = 0x562d1b5a9770
        i = 0
        __func__ = "g_main_dispatch"
#4  g_main_context_dispatch_unlocked (context=context@entry=0x562d1b6089e0) at ../glib/gmain.c:4425
No locals.
#5  0x00007fc30930fa28 in g_main_context_iterate_unlocked (context=0x562d1b6089e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4490
        max_priority = 2147483647
        timeout_usec = 26079
        some_ready = 1
        nfds = 2
        allocated_nfds = <optimized out>
        fds = <optimized out>
        begin_time_nsec = 0
#6  0x00007fc309310487 in g_main_loop_run (loop=0x7fc2f8002150) at ../glib/gmain.c:4695
        self = <optimized out>
        __func__ = "g_main_loop_run"
#7  0x0000562cfee2581e in main (argc=<optimized out>, argv=<optimized out>) at utils/cups-browsed.c:11391
        ret = 1
        http = <optimized out>
        i = <optimized out>
        val = <optimized out>
        p = <optimized out>
        proxy = 0x562d1b5f58c0
        error = 0x0
        subscription_id = 7307
        action = {__sigaction_handler = {sa_handler = 0x562cfee38640 <sigusr2_handler>, sa_sigaction = 0x562cfee38640 <sigusr2_handler>}, sa_mask = {__val = {2048, 0 <repeats 15 times>}}, 
          sa_flags = 0, sa_restorer = 0x0}

Is it expected that make contains NULL characters?

PPD in question is attached as Kyocera_ECOSYS_PA2101cwx.tar.gz.

System Information:

  • OS: openSUSE Linux
  • Version of CUPS: 2.4.14, cups-filters: 1.28.17

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