Segmentation fault with xpdf on 12.04

Asked by ClairGarman

I have recently upgraded to Ubuntu 12.04. When running xpdf to view PDF files from the command line:

$ xpdf MVA.pdf
***** CropBox = ll:0,0 ur:612,792
***** Rotate = 0
q
re 18 72 576 648
W
n
rg 0 0 1
re 558 297 9 414
f
q
re 47 623 491 14
W
n
BT
Tf /F3 12
  font: tag=F3 name='Helvetica-Bold' 12
rg 0 0 0
TL 543.261
Td 255.456 626.112
Tj (Your Receipt)
T*
ET
Q
q
re 56 596 140 14
W
n
BT
Tf /F4 10
  font: tag=F4 name='Helvetica' 10
rg 0 0 0
TL 452.718
Td 87.912 600.912
Tj (Transaction Date)
T*
ET
Q
q
re 56 578 140 14
W
n
... many similar lines

Segmentation fault (core dumped)

I have the same result on a half dozen other PDF files. I could not find any PDF files that did not fault.

I tried zxpdf and got the same result. gs and pdfedit do not fault, but do not allow me to view the entire file.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xpdf Edit question
Assignee:
No assignee Edit question
Solved by:
ClairGarman
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Does it happen with all PDFs? Can you open the same PDF in other apps. Do you just want a slim PDF viewer?

Revision history for this message
ClairGarman (cgar) said :
#2

As I said at the bottom of my posting:

I have the same result on a half dozen other PDF files. I could not find any PDF files that did not fault.

I tried zxpdf and got the same result. gs and pdfedit do not fault, but do not allow me to view the entire file.

-----

Are there other PDF viewers I should try?

Yes, a slim PDF viewer would suffice, although I am disturbed that xpdf is broken in 12.05.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

sudo add-apt-repository ppa:guilhem-fr/mupdf
sudo apt-get update
sudo apt-get install mupdf

Fast as lightning :)

Revision history for this message
ClairGarman (cgar) said :
#4

mupdf works fine, but it lacks most of the features of xpdf, e.g. Save As. It will suffice for most of my usage, but why is xpdf broken in 12.04?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Could report a bug

Revision history for this message
ClairGarman (cgar) said :
#6

A bug was apparently reported http://askubuntu.com/questions/159608/xpdf-segmentation-fault-on-ubuntu-12-04-lts

I have found another wonderful PDF reader that provides the features of xpdf and does not seg fault - gnome-open.