Hi FTR, I tried to bisect the issue, by using commits between 9.20 and 9.21 upstream and applying on top each fb713b3818b52d8a6cf62c951eba2e1795ff9624 . Due to a possibly unrelated bug, some of the commits cause "empty" outputs, so I had to skip those all. The resulting git bisect is
git bisect start '--term-old' 'broken' '--term-new' 'fixed' # broken: [937efa62c23c2c79c7487895421041896e8c14b7] Fix previous JPEG commit. git bisect broken 937efa62c23c2c79c7487895421041896e8c14b7 # fixed: [f80288c8a4b9c9abfc0fa3ccce3b6d169baa59ff] Dates for 9.21 release git bisect fixed f80288c8a4b9c9abfc0fa3ccce3b6d169baa59ff # fixed: [4d07b45685976bd38e5cec8062b3a61d2ada5575] Hide more JPEG entries. git bisect fixed 4d07b45685976bd38e5cec8062b3a61d2ada5575 # fixed: [8894abf2985a58900e778957f93151b6cec1c17a] Address a segfault and error introduced in 4b3be09 git bisect fixed 8894abf2985a58900e778957f93151b6cec1c17a # skip: [513d6fd7ddfc5a59fbf8bf6ce72eda6c97fea9f8] remove a bunch of now unused variables from the earlier shading code commit. git bisect skip 513d6fd7ddfc5a59fbf8bf6ce72eda6c97fea9f8 # skip: [336c69b8be32c7193909a7f25b1a073b0ac2d92f] PDF Interpreter - have warning messages respect QUIET git bisect skip 336c69b8be32c7193909a7f25b1a073b0ac2d92f # skip: [c9f7be4f4de8e98df9d34ff8e4a7f781c0a33899] Bring master up to date with 9.20 release branch git bisect skip c9f7be4f4de8e98df9d34ff8e4a7f781c0a33899 # skip: [f42898997f249062f5da8fcf9c3a46cd6443fb39] PDF interpreter - skip 'R' operator in invalid context git bisect skip f42898997f249062f5da8fcf9c3a46cd6443fb39 # skip: [2f6ddae95676585717159445001fda2ebb00db8d] Squash compiler warning. git bisect skip 2f6ddae95676585717159445001fda2ebb00db8d # skip: [b7ea690782c306241ed94fa3bdaf296f6bcc455f] Bug 697366 git bisect skip b7ea690782c306241ed94fa3bdaf296f6bcc455f # skip: [0e2523b9dae517f91bd7da78323e5207d099a10e] Fix expat build on Windows git bisect skip 0e2523b9dae517f91bd7da78323e5207d099a10e # skip: [2f3679b53632c5b7b9e9a416311ae82f36645fc9] Bug 697220(2): Fix returning execstackoverflow git bisect skip 2f3679b53632c5b7b9e9a416311ae82f36645fc9 # skip: [d4d8b7d51f79b47d21d3c82fe652a79e1f890df5] Fix bug 697323, Segfault after pattern with transparency. git bisect skip d4d8b7d51f79b47d21d3c82fe652a79e1f890df5 # skip: [cb8022f3e15b761adf4bbc78621cf0699f69e21c] Fix SEGV caused by previous commit. git bisect skip cb8022f3e15b761adf4bbc78621cf0699f69e21c # skip: [0f6067d2531298060392d0e25fa759d320e03021] ps2write - don't try to alter /pagesave when modifying media size git bisect skip 0f6067d2531298060392d0e25fa759d320e03021 # skip: [6655712ee1d0bf2a7818044613bbed226b7abddd] Update freetype to 2.7.0 git bisect skip 6655712ee1d0bf2a7818044613bbed226b7abddd # skip: [8cefc79359e14fdb8b967697bba33b754e83bcad] pdfwrite - fix calculation of a bounding box git bisect skip 8cefc79359e14fdb8b967697bba33b754e83bcad # skip: [45268652fcddf2031f5edb592bc61e53d9ac4f5b] Set GX_DOWNSCALER_PARAMS_DEFAULTS in jpeg git bisect skip 45268652fcddf2031f5edb592bc61e53d9ac4f5b # skip: [8a26fa67398970f357e1292310ef20556a8e5d96] Fix 'corner' radial gradient case. git bisect skip 8a26fa67398970f357e1292310ef20556a8e5d96 # skip: [99c6a18eb430a9091c79369b2bdd2952d481c7d5] Document use of string for subsituted CIDFont name git bisect skip 99c6a18eb430a9091c79369b2bdd2952d481c7d5 # skip: [90b7603c1afb3ad79a6a0dfee97560b1c3565379] PCL - fix pdfmark parsing for PUTFILE git bisect skip 90b7603c1afb3ad79a6a0dfee97560b1c3565379 # skip: [23dc144b3c3d3dbafd83dca7b9c09e6977b774d6] Update lcms2 to 2.8 git bisect skip 23dc144b3c3d3dbafd83dca7b9c09e6977b774d6 # skip: [a46245139253b2ec607fcd06c549a6293d05a3a8] Fix a bug in device subclassing git bisect skip a46245139253b2ec607fcd06c549a6293d05a3a8 # skip: [0726780b28920045ee6f344a34bc5e8565bc4ed5] "cups" output device: When creating PWG Raster output, always output the bitmap of the full page, ignoring any unprintable margins suggested by the PPD file. git bisect skip 0726780b28920045ee6f344a34bc5e8565bc4ed5 # skip: [21b582ca561214aa9c5b9c8987a1c0cdce43ace6] Add expat endian settings. git bisect skip 21b582ca561214aa9c5b9c8987a1c0cdce43ace6 # skip: [71629c04758788b238d6ff3537d9708f430a4db7] Tweak to clip device nesting. git bisect skip 71629c04758788b238d6ff3537d9708f430a4db7 # skip: [99e9ca317adbd28b5faf3e9eda4c63d636478f43] Bug 697045: Skip over broken tile data rather than aborting. git bisect skip 99e9ca317adbd28b5faf3e9eda4c63d636478f43 # skip: [1eebbfa373d295bdd2bad88aaef1edc368450568] Bug 697231: Introduce caching to use of clipping paths. git bisect skip 1eebbfa373d295bdd2bad88aaef1edc368450568 # broken: [ed425fcd620837bf63a18a3ee2a2202fa91b1207] Add -sPostRenderICCProfile support to tiffsep git bisect broken ed425fcd620837bf63a18a3ee2a2202fa91b1207 # skip: [8dcec8cc076a0cf8350ca7a6ec1d3136812e2a24] Bug 697186: Workaround JPEG lib bug. git bisect skip 8dcec8cc076a0cf8350ca7a6ec1d3136812e2a24 # fixed: [4b3be091fa0384e679baaf04b14ea195da5adf21] Bug 697415: 'clean up' after images with SMask entries git bisect fixed 4b3be091fa0384e679baaf04b14ea195da5adf21 # skip: [1b1e7f3f4abf7a97101ff7f4e2389ca2edd9af0a] PDF Interpreter - ensure /Separation ink names are not indirect objects git bisect skip 1b1e7f3f4abf7a97101ff7f4e2389ca2edd9af0a # fixed: [0e16bd592aaccde9b384415a87d8a9bef9c57f83] Fix debug output for pattern bitmaps git bisect fixed 0e16bd592aaccde9b384415a87d8a9bef9c57f83 # skip: [6d1822faa68c17b945aea2713985b7095ca424aa] ASAN segfault: add missing pointer to pclxl_image_enum_t gc info git bisect skip 6d1822faa68c17b945aea2713985b7095ca424aa # skip: [b33ffc0e958b613cd6ba114d42720694b11219ff] PDF interpreter - ensure Rect array entries are not indirect objects git bisect skip b33ffc0e958b613cd6ba114d42720694b11219ff # skip: [b880332b899e0e59d17c7e48033e5cc816e5a831] pdfwrite - adjust Mono Subsample resolution to integer git bisect skip b880332b899e0e59d17c7e48033e5cc816e5a831 # skip: [dc62c90930512f4b571f68c9110022b234cbd411] Bug 697186: Tweak to previous JPEG fix. git bisect skip dc62c90930512f4b571f68c9110022b234cbd411 # skip: [26acbbb980a44d9610080876afeef5bb834d21e3] Documentation - Document the fact that setpagedevice resets distiller params git bisect skip 26acbbb980a44d9610080876afeef5bb834d21e3 # skip: [737da8a64a873ea128c5830519d3327baecc6444] PDF interpreter - when detecting transparent pages, include Form 'Groups' git bisect skip 737da8a64a873ea128c5830519d3327baecc6444 # skip: [c3c4bf022a631be939ebb4bf6f59e41514cb1e48] Bug 696508: improve configure cross compile support git bisect skip c3c4bf022a631be939ebb4bf6f59e41514cb1e48 # skip: [a73e3cf1ca91bbdb51d5a999a491e58fb9a7ce35] Bug 697286: handle GlyphDirectory as an array git bisect skip a73e3cf1ca91bbdb51d5a999a491e58fb9a7ce35 # skip: [a8d6c4074ee8cfc251ebdd44ce4d2f97cdf20517] Revert commit 3cde6d6d, require %d OutputFile spec for multi-page tiffsep git bisect skip a8d6c4074ee8cfc251ebdd44ce4d2f97cdf20517 # skip: [36269a8e76b7b495eba9cc061ebf52163188876a] "rpdl" output device: Allow 5pt tolerance for page size selection git bisect skip 36269a8e76b7b495eba9cc061ebf52163188876a # skip: [898cdaedf52a37c84923d75aa2942e48b0fec91c] Bug 697144: Fix radialshade2.ps git bisect skip 898cdaedf52a37c84923d75aa2942e48b0fec91c # skip: [00b5d81646bb936577cbea2476e13f0a5dd4b9f1] Update to expat 2.2.0 git bisect skip 00b5d81646bb936577cbea2476e13f0a5dd4b9f1 # skip: [5915f971fa47c8ad1561e403bc7aacd86325c428] Bug 697144: Fix radial shadings broken by previous fix. git bisect skip 5915f971fa47c8ad1561e403bc7aacd86325c428 # skip: [c9d8618934ebf682f72dd9b3ebef48b2be535a8d] Change API for put_image git bisect skip c9d8618934ebf682f72dd9b3ebef48b2be535a8d # skip: [3216c2b692fe5a4c87936819b2fe14d0963a347a] Bug 697144: Fix fix for previous radial shading fix. git bisect skip 3216c2b692fe5a4c87936819b2fe14d0963a347a # skip: [c99d0ad7d5f5187e5e0279b6f9c8092798badc2f] Bug 697181: allow xps build with shared expat. git bisect skip c99d0ad7d5f5187e5e0279b6f9c8092798badc2f # skip: [5d1ae930711d492d01110ef054c0add3c7615910] Fix BOBBIN undefined warnings. git bisect skip 5d1ae930711d492d01110ef054c0add3c7615910 # skip: [47294ff5b168d25bfc7db64f51572d64b8ebde91] Bug 697345 Blend Color Space Support for Separation devices git bisect skip 47294ff5b168d25bfc7db64f51572d64b8ebde91 # skip: [0845a1c90f7a22a5b50fddbf7809d985b98290cd] Bug 697144: Fix radialshade1.ps git bisect skip 0845a1c90f7a22a5b50fddbf7809d985b98290cd # skip: [64ad2a92195fd05e9ba34995ae994eb250fc9c7c] Update libpng to 1.6.26 git bisect skip 64ad2a92195fd05e9ba34995ae994eb250fc9c7c # skip: [2237813596c8703de6008dd6c05460f9dac3ed75] Fix segv due to improper depth computation git bisect skip 2237813596c8703de6008dd6c05460f9dac3ed75 # skip: [f0b49c3cf4e0602627c4dc5b6ff910074d298398] set GX_DOWNSCALER_PARAMS_DEFAULTS to remaining JPEG devices git bisect skip f0b49c3cf4e0602627c4dc5b6ff910074d298398 # skip: [d05c99ba9f3c1539a5b02a96ed050422677d9704] Remove MarginsHWResolution non-standard device parameter git bisect skip d05c99ba9f3c1539a5b02a96ed050422677d9704 # skip: [3f09e7022e39412af98602cdfe22adfb34a7fa63] Bug 697220(1): Push systemdict onto dict stack before we cleanup. git bisect skip 3f09e7022e39412af98602cdfe22adfb34a7fa63 # skip: [cca05810721874cabcc377615cac050bd775ed37] Add -dNoSeparationFiles to tiffsep device git bisect skip cca05810721874cabcc377615cac050bd775ed37 # skip: [5b87f18df814aaa9f0036c843a4b24b1638aa4cf] libtiff: update to 4.0.7 git bisect skip 5b87f18df814aaa9f0036c843a4b24b1638aa4cf # fixed: [cc746214644deacd5233a1453ce660573af09443] txtwrite - sort out endian-ness of Unicode based on architecture git bisect fixed cc746214644deacd5233a1453ce660573af09443 # skip: [e6460567fcec3b4c96dd4912e556e3b846adaef2] Refine SAFER file access permissions git bisect skip e6460567fcec3b4c96dd4912e556e3b846adaef2 # only skipped commits left to test # possible first fixed commit: [cc746214644deacd5233a1453ce660573af09443] txtwrite - sort out endian-ness of Unicode based on architecture # possible first fixed commit: [d05c99ba9f3c1539a5b02a96ed050422677d9704] Remove MarginsHWResolution non-standard device parameter # possible first fixed commit: [b880332b899e0e59d17c7e48033e5cc816e5a831] pdfwrite - adjust Mono Subsample resolution to integer # possible first fixed commit: [26acbbb980a44d9610080876afeef5bb834d21e3] Documentation - Document the fact that setpagedevice resets distiller params # possible first fixed commit: [336c69b8be32c7193909a7f25b1a073b0ac2d92f] PDF Interpreter - have warning messages respect QUIET # possible first fixed commit: [a8d6c4074ee8cfc251ebdd44ce4d2f97cdf20517] Revert commit 3cde6d6d, require %d OutputFile spec for multi-page tiffsep # possible first fixed commit: [f42898997f249062f5da8fcf9c3a46cd6443fb39] PDF interpreter - skip 'R' operator in invalid context # possible first fixed commit: [b7ea690782c306241ed94fa3bdaf296f6bcc455f] Bug 697366 # possible first fixed commit: [2237813596c8703de6008dd6c05460f9dac3ed75] Fix segv due to improper depth computation # possible first fixed commit: [5b87f18df814aaa9f0036c843a4b24b1638aa4cf] libtiff: update to 4.0.7 # possible first fixed commit: [6655712ee1d0bf2a7818044613bbed226b7abddd] Update freetype to 2.7.0 # possible first fixed commit: [99c6a18eb430a9091c79369b2bdd2952d481c7d5] Document use of string for subsituted CIDFont name # possible first fixed commit: [23dc144b3c3d3dbafd83dca7b9c09e6977b774d6] Update lcms2 to 2.8 # possible first fixed commit: [64ad2a92195fd05e9ba34995ae994eb250fc9c7c] Update libpng to 1.6.26 # possible first fixed commit: [1b1e7f3f4abf7a97101ff7f4e2389ca2edd9af0a] PDF Interpreter - ensure /Separation ink names are not indirect objects # possible first fixed commit: [47294ff5b168d25bfc7db64f51572d64b8ebde91] Bug 697345 Blend Color Space Support for Separation devices # possible first fixed commit: [c9d8618934ebf682f72dd9b3ebef48b2be535a8d] Change API for put_image # possible first fixed commit: [b33ffc0e958b613cd6ba114d42720694b11219ff] PDF interpreter - ensure Rect array entries are not indirect objects # possible first fixed commit: [737da8a64a873ea128c5830519d3327baecc6444] PDF interpreter - when detecting transparent pages, include Form 'Groups' # possible first fixed commit: [36269a8e76b7b495eba9cc061ebf52163188876a] "rpdl" output device: Allow 5pt tolerance for page size selection # possible first fixed commit: [99e9ca317adbd28b5faf3e9eda4c63d636478f43] Bug 697045: Skip over broken tile data rather than aborting. # possible first fixed commit: [2f6ddae95676585717159445001fda2ebb00db8d] Squash compiler warning. # possible first fixed commit: [90b7603c1afb3ad79a6a0dfee97560b1c3565379] PCL - fix pdfmark parsing for PUTFILE # possible first fixed commit: [0f6067d2531298060392d0e25fa759d320e03021] ps2write - don't try to alter /pagesave when modifying media size # possible first fixed commit: [8cefc79359e14fdb8b967697bba33b754e83bcad] pdfwrite - fix calculation of a bounding box # possible first fixed commit: [a46245139253b2ec607fcd06c549a6293d05a3a8] Fix a bug in device subclassing # possible first fixed commit: [513d6fd7ddfc5a59fbf8bf6ce72eda6c97fea9f8] remove a bunch of now unused variables from the earlier shading code commit. # possible first fixed commit: [8a26fa67398970f357e1292310ef20556a8e5d96] Fix 'corner' radial gradient case. # possible first fixed commit: [d4d8b7d51f79b47d21d3c82fe652a79e1f890df5] Fix bug 697323, Segfault after pattern with transparency. # possible first fixed commit: [0e2523b9dae517f91bd7da78323e5207d099a10e] Fix expat build on Windows # possible first fixed commit: [c9f7be4f4de8e98df9d34ff8e4a7f781c0a33899] Bring master up to date with 9.20 release branch # possible first fixed commit: [21b582ca561214aa9c5b9c8987a1c0cdce43ace6] Add expat endian settings. # possible first fixed commit: [c99d0ad7d5f5187e5e0279b6f9c8092798badc2f] Bug 697181: allow xps build with shared expat. # possible first fixed commit: [00b5d81646bb936577cbea2476e13f0a5dd4b9f1] Update to expat 2.2.0 # possible first fixed commit: [a73e3cf1ca91bbdb51d5a999a491e58fb9a7ce35] Bug 697286: handle GlyphDirectory as an array # possible first fixed commit: [dc62c90930512f4b571f68c9110022b234cbd411] Bug 697186: Tweak to previous JPEG fix. # possible first fixed commit: [8dcec8cc076a0cf8350ca7a6ec1d3136812e2a24] Bug 697186: Workaround JPEG lib bug. # possible first fixed commit: [1eebbfa373d295bdd2bad88aaef1edc368450568] Bug 697231: Introduce caching to use of clipping paths. # possible first fixed commit: [71629c04758788b238d6ff3537d9708f430a4db7] Tweak to clip device nesting. # possible first fixed commit: [0726780b28920045ee6f344a34bc5e8565bc4ed5] "cups" output device: When creating PWG Raster output, always output the bitmap of the full page, ignoring any unprintable margins suggested by the PPD file. # possible first fixed commit: [f0b49c3cf4e0602627c4dc5b6ff910074d298398] set GX_DOWNSCALER_PARAMS_DEFAULTS to remaining JPEG devices # possible first fixed commit: [45268652fcddf2031f5edb592bc61e53d9ac4f5b] Set GX_DOWNSCALER_PARAMS_DEFAULTS in jpeg # possible first fixed commit: [cb8022f3e15b761adf4bbc78621cf0699f69e21c] Fix SEGV caused by previous commit. # possible first fixed commit: [2f3679b53632c5b7b9e9a416311ae82f36645fc9] Bug 697220(2): Fix returning execstackoverflow # possible first fixed commit: [3f09e7022e39412af98602cdfe22adfb34a7fa63] Bug 697220(1): Push systemdict onto dict stack before we cleanup. # possible first fixed commit: [5d1ae930711d492d01110ef054c0add3c7615910] Fix BOBBIN undefined warnings. # possible first fixed commit: [3216c2b692fe5a4c87936819b2fe14d0963a347a] Bug 697144: Fix fix for previous radial shading fix. # possible first fixed commit: [5915f971fa47c8ad1561e403bc7aacd86325c428] Bug 697144: Fix radial shadings broken by previous fix. # possible first fixed commit: [898cdaedf52a37c84923d75aa2942e48b0fec91c] Bug 697144: Fix radialshade2.ps # possible first fixed commit: [c3c4bf022a631be939ebb4bf6f59e41514cb1e48] Bug 696508: improve configure cross compile support # possible first fixed commit: [0845a1c90f7a22a5b50fddbf7809d985b98290cd] Bug 697144: Fix radialshade1.ps # possible first fixed commit: [cca05810721874cabcc377615cac050bd775ed37] Add -dNoSeparationFiles to tiffsep device # possible first fixed commit: [6d1822faa68c17b945aea2713985b7095ca424aa] ASAN segfault: add missing pointer to pclxl_image_enum_t gc info # possible first fixed commit: [e6460567fcec3b4c96dd4912e556e3b846adaef2] Refine SAFER file access permissions One or more of those commits might be needed to adress the issue, but I have not yet understood which ones are. Maybe this is the wrong approach to the problem. Regards, Salvatore