segfaults with any pdf file after upgrading to 12.04

Bug #971897 reported by Ramses Rodriguez Martinez
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
xpdf (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After upgrading to Ubuntu 12.04 xpdf fails opening any pdf file (it gives a segmentation fault):

[...]
[{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)}], 0, NULL) = 30062
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11) = 30062
write(2, "Segmentation fault (core dumped)"..., 33Segmentation fault (core dumped)
) = 33

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xpdf 3.02-21build1
ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
Uname: Linux 3.2.0-21-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.0-0ubuntu2
Architecture: amd64
Date: Mon Apr 2 22:55:39 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
SourcePackage: xpdf
UpgradeStatus: Upgraded to precise on 2012-04-02 (0 days ago)

Revision history for this message
Ramses Rodriguez Martinez (ramses-harpago) wrote :
Revision history for this message
Michael Gilbert (michael-s-gilbert) wrote :

This was already reported in https://bugs.launchpad.net/ubuntu/+source/xpdf/+bug/669211 which is a different issue and already close, so that discussion doesn't belong there.

Unfortunately given past ubuntu development interest in xpdf, I doubt anyone will spend the time to figure out a fix for this, so here is your workaround for this cycle...

$ wget http://us.archive.ubuntu.com/ubuntu/pool/universe/x/xpdf/xpdf_3.02-21_i386.deb
$ wget http://us.archive.ubuntu.com/ubuntu/pool/main/p/poppler/libpoppler13_0.16.7-2ubuntu2_i386.deb
$ sudo dpkg -i xpdf_*.deb libpoppler13_*.deb

That installs the known working oneiric xpdf packages.

Revision history for this message
Marcel Stimberg (marcelstimberg) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 943195, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

Changed in xpdf (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Friendly (friendly) wrote :

I tried the solution posted in # 2, but it fails on attempt to install with dpkg. What can I do to get a
working xpdf?

sudo dpkg -i xpdf_*.deb libpoppler13_*.deb
Selecting previously unselected package xpdf:i386.
dpkg: error processing xpdf_3.02-21_i386.deb (--install):
 xpdf:i386 3.02-21 (Multi-Arch: no) is not co-installable with xpdf:amd64 3.02-21build1 (Multi-Arch: no) which is currently installed
Selecting previously unselected package libpoppler13:i386.
(Reading database ... 470174 files and directories currently installed.)
Unpacking libpoppler13:i386 (from libpoppler13_0.16.7-2ubuntu2_i386.deb) ...
dpkg: dependency problems prevent configuration of libpoppler13:i386:
 libpoppler13:i386 depends on libc6 (>= 2.11).
 libpoppler13:i386 depends on libfontconfig1 (>= 2.8.0).
 libpoppler13:i386 depends on libfreetype6 (>= 2.2.1).
 libpoppler13:i386 depends on libjpeg62 (>= 6b1).
 libpoppler13:i386 depends on liblcms1 (>= 1.15-1).
 libpoppler13:i386 depends on libpng12-0 (>= 1.2.13-4).
 libpoppler13:i386 depends on libstdc++6 (>= 4.1.1).
dpkg: error processing libpoppler13:i386 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 xpdf_3.02-21_i386.deb
 libpoppler13:i386

Revision history for this message
Michael Friendly (friendly) wrote :

OK, I fixed this by installing the amd64.deb versions (after removing the i386 ones)

libpoppler13_0.16.7-2ubuntu2_amd64.deb
xpdf_3.02-21_amd64.deb

Revision history for this message
Michael Friendly (friendly) wrote :

A gotcha here is that after I ran an apt-get upgrade, the segfault version reappeared.
I reinstalled xpdf_3.02-21_amd64.deb to make it go back to that version.

Is the suggested remedy to put xpdf on hold status with

echo 'xpdf hold' | sudo dkpg --set-selection

or something similar?

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.