Created attachment 6628 [details] File that exhibits the problem... This is a pdf I manipulated myself, and I haven't analyzed why the segfault occurs yet. sebras@hostname:~/src/mupdf2$ pdfclean -gggd crash-pdfclean-gggd.pdf + mupdf/pdf_xref.c:63: pdf_readstartxref(): cannot find startxref | mupdf/pdf_xref.c:518: pdf_loadxref(): cannot read startxref \ mupdf/pdf_xref.c:591: pdf_openxrefwithstream(): trying to repair Segmentation fault (core dumped)