xpdf crash
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://
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_
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/
: bgriffin; gdb core
GNU gdb (Ubuntu/Linaro 7.4-2012.
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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://
"/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
libXm.so.2 => /usr/lib/libXm.so.2 (0x00007f71aa35
libXt.so.6 => /usr/lib/
libX11.so.6 => /usr/lib/
libm.so.6 => /lib/x86_
libc.so.6 => /lib/x86_
libSM.so.6 => /usr/lib/
libICE.so.6 => /usr/lib/
libXp.so.6 => /usr/lib/
libz.so.1 => /lib/x86_
libxcb.so.1 => /usr/lib/
libdl.so.2 => /lib/x86_
libXau.so.6 => /usr/lib/
$
$ ldd ~/builds/
libXm.so.2 => /usr/lib/libXm.so.2 (0x00007f205d79
libXt.so.6 => /usr/lib/
libX11.so.6 => /usr/lib/
libm.so.6 => /lib/x86_
libc.so.6 => /lib/x86_
libz.so.1 => /lib/x86_
libSM.so.6 => /usr/lib/
libICE.so.6 => /usr/lib/
libXp.so.6 => /usr/lib/
libxcb.so.1 => /usr/lib/
libdl.so.2 => /lib/x86_
libXau.so.6 => /usr/lib/
$
affects: | ubuntu → xpdf (Ubuntu) |
Here's the pdf file I was testing with.