xpdf segfaults when opening any pdf

Bug #798671 reported by Rob Sargant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux Mint
New
Undecided
Unassigned

Bug Description

OS: Version 11 (Katya), Gnome 64-bit

Problem: xpdf, as installed from the repos, segfaults when trying to open a PDF. This is on a brand new install with only the other following packages installed:
* chromium-browser
* keepassx
* texlive-full

Reproducability: always

Steps to reproduce:
$ sudo apt-get install xpdf
$ wget http://ftp.heanet.ie/pub/linuxmint.com/docs/user-guide/english_11.0.pdf
$ xpdf english_11.0.pdf

Expected output: xpdf graphical interface showing the opened PDF
Actual output: Segmentation Fault

If xpdf is opened without a filename argument, the program launches successfully. However, it segfaults when you try to open a file from within the program.

Revision history for this message
Rob Sargant (sargant) wrote :

A minimal amount of prodding with gdb produces the following:

$ gdb
(gdb) run

>> Open a file from the graphical interface

GDB Error message:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff71aeecb in GlobalParams::findFontFile(GooString*, char**) ()
   from /usr/lib/libpoppler.so.13

Revision history for this message
G.M. (sexxxenator) wrote :
Download full text (91.2 KiB)

Same problem here.

strace follows:

execve("/usr/bin/xpdf", ["xpdf", "ebooks.pdf"], [/* 61 vars */]) = 0
brk(0) = 0x1457000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb7f98bd000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=146267, ...}) = 0
mmap(NULL, 146267, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb7f9899000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXm.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\26\5\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1565288, ...}) = 0
mmap(NULL, 3680672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb7f931c000
mprotect(0x7fb7f947f000, 2093056, PROT_NONE) = 0
mmap(0x7fb7f967e000, 114688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x162000) = 0x7fb7f967e000
mmap(0x7fb7f969a000, 18848, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb7f969a000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libX11.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\211\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1285536, ...}) = 0
mmap(NULL, 3382568, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb7f8fe2000
mprotect(0x7fb7f9117000, 2097152, PROT_NONE) = 0
mmap(0x7fb7f9317000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x135000) = 0x7fb7f9317000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libXt.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260/\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=412904, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb7f9898000
mmap(NULL, 2511392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb7f8d7c000
mprotect(0x7fb7f8ddb000, 2097152, PROT_NONE) = 0
mmap(0x7fb7f8fdb000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5f000) = 0x7fb7f8fdb000
mmap(0x7fb7f8fe1000, 544, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb7f8fe1000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libpoppler.so.13", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300G\10\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=2055344, ...}) = 0
mmap(NULL, 4150576, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb7f8986000
mprotect(0x7fb7f8b48000, 2093056, PROT_NONE) = 0
mmap(0x7fb7f8d47000, 217088, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c1000)...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.