An example of "uncolored Postscript pattern" from the Adobe Postscript Language Manual crashes the interpreter, when the device has alpha bits: $ gs -dGraphicsAlphaBits=4 pattern-bug.ps GPL Ghostscript 8.54 (2006-05-17) Copyright (C) 2006 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. GPL Ghostscript 8.54: Unrecoverable error, exit code 255 The error is triggered in gxpcmap.c:pattern_accum_get_bits_rectangle(). Uncolored pattern has padev->bits == NULL (but padev->mask != NULL). This is evolution of bugs 688580 and 688588.
I've verified the problem occurs as per the users comments (using gs854 and gshead and - sDEVICE=pngalpha). I'm assigning this to Ray since it may be a duplicate of 688580.
Created attachment 2583 [details] pattern-bug.ps
Bumping the priority for crashes.
It is a failure, not crash. I reproduced it with 8.54 but current HEAD works fine. Closing as worksforme.
Fix in rev.8106 (file src/gxpcmap.c) "shuts down the messenger", but the interpreter does not work correctly. Uncolored patterns are rendered wrongly, such as the same attached example. Reopening with "minor" severity.
Dear Konstantin, it would be better if you open a separate bug for wrong pattern rendering. Normally we don't like to change bug title except for fixing a typoe.
The problem is confirmed iv vv. 9.01 and 9.02 but it is fixed in the current development version.