This is probably a duplicate of Bug 692074 but the symptoms are somewhat different so I felt it warranted its bug. Portions of some pbmraw output files are black starting with r12232 (see the attached screenshot.png, the left portion is r12232, the middle is r12231, and the right is the difference). The command line I'm using: bin/gs -sDEVICE=pbmraw -o test.pbm ./Openhuis_pdf_zw.pdf
Created attachment 7590 [details] bug692083_simple OK. That commit was the turning on of the fast thresholding code. Likely there is some encoding going on incorrectly here. Attaching simplified file.
Fixed with http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=942ebdc7700baf85bac4ed76af2fd845f8b7edd3