Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128171 - XPDF crash with encrypted pdf
Summary: XPDF crash with encrypted pdf
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
: 128168 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-30 13:49 UTC by boozo
Modified: 2006-04-05 13:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
strace (strace.log.gz,9.57 KB, text/plain)
2006-03-30 14:03 UTC, boozo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description boozo 2006-03-30 13:49:58 UTC
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.14
distcc[21706] (dcc_set_trace_from_env) ERROR: failed to open logfile /var/log/distccd.log: Permission denied [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mtune=pentium4 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mtune=pentium4 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildsyspkg ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo http://gentoo.math.bme.hu  http://distro.ibiblio.org/pub/linux/distributions/gentoo/  ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.tiscali.nl/gentoo ftp://ftp.tiscali.nl/pub/mirror/gentoo  ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.uninett.no/pub/linux/Gentoo  http://darkstar.ist.utl.pt/gentoo ftp://darkstar.ist.utl.pt/pub/gentoo http://ds.thn.htu.se/linux/gentoo  http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl acpi alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups curl dba doc dri dvd eds emboss exif expat f77 fam fastbuild firebird flac foomaticdb force-cgi-redirect fortran ftp gcj gd gdbm gif glut gmp gpm gtk2 gtkgl idn imlib ipv6 java jpeg kde lcms libg++ libwww mad memlimit mhash mikmod miknod mng motif mozilla mp3 mpeg mysql ncurses nls nptl nsplugin ogg oggvorbis opengl oss pam pam-mysql pcre pdflib perl png posix ppds python qt quicktime readline ruby scg sdl session simplexml slang soap sockets spell spl ssl svga tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev usb vorbis win32codecs xine xml xml2 xmms xpp xsl xv xvid zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 boozo 2006-03-30 14:01:05 UTC
Step to reproduce:

1: pdftk 1.pdf output 1.128.pdf owner_pw foo user_pw baz
2: xpdf 1.128.pdf

nb: nothing similar with kpdf or acroread

(I've made some test with the binary and a source compiled version of xpdf-3.01-r7 without probem)
Comment 2 boozo 2006-03-30 14:03:25 UTC
Created attachment 83460 [details]
strace
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-03-30 14:08:02 UTC
*** Bug 128168 has been marked as a duplicate of this bug. ***
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-04-04 04:07:54 UTC
so this bug is only in -r8 of xpdf?
Can you please test a bit more and maybe provide a patch if you see the reason? :)
Comment 5 boozo 2006-04-04 06:02:06 UTC
(In reply to comment #4)
> so this bug is only in -r8 of xpdf?
> Can you please test a bit more and maybe provide a patch if you see the reason?
> :)
> 
same problem with the xpdf-3.01-r8 version
and using the "nodrm" USEflag do not change anything for me

I'll do my best to provide a patch if I found an issue ;-)

ps: can you confirmed this bug ?
Comment 6 boozo 2006-04-04 06:19:03 UTC
>(I've made some test with the binary and a source compiled version of
xpdf-3.01-r7 without probem)

erf! I made a mistake...  the pb is on : xpdf-3.01-r7 and -r8 version form portage

in fact, what I wanted to says : if I use the binary (-3.01pl2) version or compile it from the tarball (xpdf-3.01) of project's homepage everything is right

Comment 7 Stefan Schweizer (RETIRED) gentoo-dev 2006-04-05 05:23:55 UTC
$ xpdf 1.128.pdf
Error: Incorrect password
$ xpdf -opw foo 1.128.pdf
(works)


looks perfectly good to me? Cany ouplease attach the failing pdf and give more info? Maybe it is a gcc-3.4 or a stable-x86 problem? Try upgrading poppler please
Comment 8 boozo 2006-04-05 13:45:16 UTC
(In reply to comment #7)
> $ xpdf -opw foo 1.128.pdf

thanks, it's good for me too...
but, dialog box isn't used to ask the password from now on with poppler ?
...maybe the difference with kpdf ?