from: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=331327 gs -sDEVICE=nullpage GPL Ghostscript 9.05 (2012-02-08) Copyright (C) 2010 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. GS>errordict /undefinedresult get exec Unrecoverable error: stackunderflow in exch Operand stack: --nostringval-- bastien@bastien-debian:/tmp$ echo $? 255 It will be nicer to not crash and report the underflow. User suggest: 1) Handle an error raised from inside the error-raising procedures better. 2) Make the error-raising procedures check for stack underflow. Thanks Bastien
This is not a crash. If gs exits with an unrecoverable error because the undefinedresult error handler has not been invoked correctly. Please refain from posting bugs that do not result from real world PS or PDF files.