Here is a reproducer (with GS 9.26) consisting in a pure Ghostscript
command line:

cat appout.pdf | RIP_MAX_CACHE=128m gs -dQUIET -dPARANOIDSAFER -dNOPAUSE
-dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -dShowAcroForm -sstdout='%stderr'
-sOutputFile='%stdout' -sDEVICE=cups -sMediaClass=Cassette
-sMediaType=Plain -r600x600 -dDEVICEWIDTHPOINTS=288
-dDEVICEHEIGHTPOINTS=432 -dcupsBitsPerColor=8 -dcupsColorOrder=0
-dcupsColorSpace=6 -dcupsRowFeed=2 -scupsPageSizeName=w288h432
-I/usr/share/cups/fonts -c '<</.HWMargins[0.000000 0.000000 0.000000
0.000000] /Margins[0 0]>>setpagedevice' -f -_ > out.raster

Whether it crashes or not depends on the numeric value of the
RIP_MAX_CACHE environment variable. For me all values up to 32.986m
succeed and 32.987m and higher fails. Not supplying the RIP_MAX_CACHE
also succeeds which is the reason whether the first attempts to run
Ghostscript on the command line have succeeded.

Strange is that low values of RIP_MAX_CACHE succeed and high values
fail, so it does not seem to be a problem of too small memory.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1815339

Title:
  Printer stopped printing paper size 4"x6" after update ghostscript to
  9.26

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1815339/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to