On a 32- bit Intel system, the 12.04 (LTS) version of xpdf crashes.
Imho, there should be a fix for the LTS-version, but I would be
interested in workarounds (beside using evince or something) too.
Opening xpdf without any file works, but opening a file - any pdf-File -
and Segfault (isn't this a serious security issue? Shouldn't every
program be sanitized against segfaulting?).
Here is my strace-output:
<pre>
execve("/usr/bin/xpdf", ["xpdf", "Downloads/GFP-ENAU.pdf"], [/* 45 vars */]) = 0
brk(0) = 0x8377000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7739000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=62852, ...}) = 0
mmap2(NULL, 62852, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7729000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\226\1\0004\0\0\0"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1730024, ...}) = 0
mmap2(NULL, 1743580, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x22e000
mprotect(0x3d1000, 4096, PROT_NONE) = 0
mmap2(0x3d2000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a3) = 0x3d2000
mmap2(0x3d5000, 10972, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3d5000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7728000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7728900, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0,
useable:1}) = 0
mprotect(0x3d2000, 8192, PROT_READ) = 0
mprotect(0x8060000, 4096, PROT_READ) = 0
mprotect(0x5da000, 4096, PROT_READ) = 0
munmap(0xb7729000, 62852) = 0
getpid() = 14899
rt_sigaction(SIGCHLD, {0x8056220, ~[RTMIN RT_1], 0}, NULL, 8) = 0
geteuid32() = 1000
brk(0) = 0x8377000
brk(0x8398000) = 0x8398000
getppid() = 14898
stat64("/home/stefan", {st_mode=S_IFDIR|0700, st_size=8152, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0700, st_size=8152, ...}) = 0
open("/usr/bin/xpdf", O_RDONLY) = 3
fcntl64(3, F_DUPFD, 10) = 10
close(3) = 0
fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x8056220, ~[RTMIN RT_1], 0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, ~[RTMIN RT_1], 0}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL, ~[RTMIN RT_1], 0}, NULL, 8) = 0
read(10, "#!/bin/sh\n# Copyright (c) 2001 A"..., 8192) = 2138
stat64("Downloads/GFP-ENAU.pdf", {st_mode=S_IFREG|0664, st_size=875189, ...}) = 0
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7728968) = 14900
close(4) = 0
read(3, "/tmp/file9qVP0X.pdf\n", 128) = 20
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 14900
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn() = ? (mask now [])
rt_sigaction(SIGHUP, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGHUP, {0x8056220, ~[RTMIN RT_1], 0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {0x8056220, ~[RTMIN RT_1], 0}, NULL, 8) = 0
rt_sigaction(SIGTERM, {0x8056220, ~[RTMIN RT_1], 0}, NULL, 8) = 0
stat64("/usr/lib/lightdm/lightdm/xpdf.real", 0xbff1a130) = -1 ENOENT (No such
file or directory)
stat64("/usr/local/sbin/xpdf.real", 0xbff1a130) = -1 ENOENT (No such file or
directory)
stat64("/usr/local/bin/xpdf.real", 0xbff1a130) = -1 ENOENT (No such file or
directory)
stat64("/usr/sbin/xpdf.real", 0xbff1a130) = -1 ENOENT (No such file or
directory)
stat64("/usr/bin/xpdf.real", {st_mode=S_IFREG|0755, st_size=237632, ...}) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7728968) = 14901
wait4(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)}], 0,
NULL) = 14901
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn() = ? (mask now [])
write(2, "Segmentation fault (core dumped)"..., 33Segmentation fault (core
dumped)
) = 33
read(10, "", 8192) = 0
stat64("/usr/lib/lightdm/lightdm/rm", 0xbff1a110) = -1 ENOENT (No such file or
directory)
stat64("/usr/local/sbin/rm", 0xbff1a110) = -1 ENOENT (No such file or directory)
stat64("/usr/local/bin/rm", 0xbff1a110) = -1 ENOENT (No such file or directory)
stat64("/usr/sbin/rm", 0xbff1a110) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/rm", 0xbff1a110) = -1 ENOENT (No such file or directory)
stat64("/sbin/rm", 0xbff1a110) = -1 ENOENT (No such file or directory)
stat64("/bin/rm", {st_mode=S_IFREG|0755, st_size=54912, ...}) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7728968) = 14905
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 14905
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn() = ? (mask now [])
exit_group(0) = ?
</pre>
I tried the hint, to deactivate some Chinese fonts. That didn't help.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/943195
Title:
xpdf.real crashed with SIGSEGV in GooHash::hash()
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xpdf/+bug/943195/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs