If you call .sethalftone5 with an empty operand stack, ghostscript crashes. $ gs GPL Ghostscript 9.07 (2013-02-14) Copyright (C) 2012 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. GS>clear .sethalftone5 Segmentation fault (core dumped)
Fixed in: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f5c7555c303