Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm attempting to use the new --fix-pdf option of simple scan to fix the errors in pdf files created by earlier versions of simple scan.

The command:

simple-scan --fix-pdf test.pdf 

results in a segmentation fault.
Has anyone successfully used the --fix-pdf option?

share|improve this question
Could be that it can't handle that broken PDF (regardless previous version). I had similar errors with bad PDFs using GhostScript – zetah Oct 16 '11 at 17:14

Broken PDFs in Simple Scan

Since version 2.32 Simple Scan has had a bug where it generates PDF files with invalid cross-reference tables.

The good news is this bug is now fixed, and will work correctly in simple-scan 3.2; thanks to Rafał Mużyło who diagnosed this.

You may not have noticed this bug as a number of PDF readers handle these types of failures and rebuild the table (e.g. Evince). It was noticed that some versions of Adobe Reader do not handle these failures.

this is the fix

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.