Apparantly, the fix for bug #703013 may have broken some devices, in particular x11cmyk x11gray2 x11gray4 give a seg fault when doing (i= one of those, others work): gs -dBATCH -dNOPAUSE -sDEVICE=$i -sOutputFile=/dev/null dummy.pdf >/dev/null I bisected this to commit 270438bfda60. Maybe the comment (above the changed lines) was right after all, and the real fix should be in get_params wrapper or such?
Fixed in: https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=90072538c2fb
(In reply to Chris Liddell (chrisl) from comment #1) > Fixed in: > > https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=90072538c2fb Thanks a bunch for the fix! Confirmed to work as backport on 9.56.1 also (as expected).