xpdf crash

Bug #1071425 reported by Benjamin Griffin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xpdf (Ubuntu)
New
Undecided
Unassigned

Bug Description

$ apt-get install xpdf
[...]
The following NEW packages will be installed:
  xpdf
0 upgraded, 1 newly installed, 0 to remove and 28 not upgraded.
Need to get 133 kB of archives.
After this operation, 397 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ precise/universe xpdf amd64 3.02-21build1 [133 kB]
Fetched 133 kB in 0s (137 kB/s)
Selecting previously unselected package xpdf.
(Reading database ... 147072 files and directories currently installed.)
Unpacking xpdf (from .../xpdf_3.02-21build1_amd64.deb) ...
Processing triggers for menu ...
Processing triggers for man-db ...
Setting up xpdf (3.02-21build1) ...
Processing triggers for menu ...

xpdf runs, draws a window, dumps a lot of stuff to my xterm and then core dumps. Installed gdb does not recognize the core:

$ file core
core: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from 'xpdf.real -title Xpdf: /home/archive/MailSpool/attachments/20121025-1/Recycling'
: bgriffin; gdb core
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
"/tmp/core": not in executable format: File format not recognized
(gdb) ^D
$

When I compile xpdf version 3.02 from source ("./configure && make" -- no options) and open the same pdf file, things work properly, so this is an issue not with xpdf itself, but with the packaged version. Your xpdf uses a lot more libraries than mine:

$ ldd /usr/bin/xpdf.real
        linux-vdso.so.1 => (0x00007fff26256000)
        libXm.so.2 => /usr/lib/libXm.so.2 (0x00007f71aa354000)
        libpoppler.so.19 => /usr/lib/x86_64-linux-gnu/libpoppler.so.19 (0x00007f71a9f57000)
        libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6 (0x00007f71a9cf0000)
        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f71a99bc000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f71a96bc000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f71a93bf000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f71a91a9000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f71a8dea000)
        libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f71a8be1000)
        libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f71a89c7000)
        libXp.so.6 => /usr/lib/x86_64-linux-gnu/libXp.so.6 (0x00007f71a87be000)
        libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f71a85ac000)
        libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f71a8310000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f71a80f9000)
        liblcms2.so.2 => /usr/lib/x86_64-linux-gnu/liblcms2.so.2 (0x00007f71a7ead000)
        libtiff.so.4 => /usr/lib/x86_64-linux-gnu/libtiff.so.4 (0x00007f71a7c4a000)
        libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f71a79fa000)
        libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f71a77d1000)
        libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f71a759b000)
        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f71a737d000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f71a7178000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f71aa6ec000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f71a6f73000)
        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f71a6d6f000)
        libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f71a6b45000)
        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f71a693f000)
$
$ ldd ~/builds/xpdf/xpdf-3.02/xpdf/xpdf
        linux-vdso.so.1 => (0x00007fffaf55c000)
        libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f205db1f000)
        libXm.so.2 => /usr/lib/libXm.so.2 (0x00007f205d79c000)
        libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6 (0x00007f205d535000)
        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f205d201000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f205cf01000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f205cc04000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f205c9ee000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f205c62f000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f205c417000)
        libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f205c20f000)
        libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f205bff5000)
        libXp.so.6 => /usr/lib/x86_64-linux-gnu/libXp.so.6 (0x00007f205bdeb000)
        libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f205bbda000)
        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f205b9bc000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f205b7b7000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f205ddd0000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f205b5b2000)
        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f205b3ae000)
        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f205b1a8000)
$

Revision history for this message
Benjamin Griffin (bgriffin) wrote :

Here's the pdf file I was testing with.

Logan Rosen (logan)
affects: ubuntu → xpdf (Ubuntu)
Revision history for this message
Benjamin Griffin (bgriffin) wrote :

My previous search missed it, but I'm pretty sure this is a dupe of Bug #995829

https://bugs.launchpad.net/ubuntu/+source/xpdf/+bug/995829

Revision history for this message
Logan Rosen (logan) 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. Feel free to continue to report any other bugs you may find.

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.