Package: xpdf Version: 3.02-12 Severity: normal *** Please type your report below this line ***
This is how I cause this bug to appear: * For this case, I am using sample pdf that you can get from http://samplepdf.com/sample.pdf . Any other PDF files will do, but let's use that for uniformity. * On a subdirectory whose total path length (of the absolute path) is more than 22 characters, I open a pdf file. For this example, I am making subdirectory "/tmp/012345678901234567" -- 23 characters in length including all the slashes -- and download the sample PDF there. So, it's roughly like this: $ mkdir /tmp/012345678901234567 $ cd /tmp/012345678901234567 $ wget http://samplepdf.com/sample.pdf $ xpdf sample.pdf * Now press "o" which will bring the open dialog. I found that in my case, the path in the Filter box becomes: /tmp/012345678901234567/&NG/*.[Pp][Dd][Ff] and the Selection becomes /tmp/012345678901234567/&NG/ The random characters ("&NG" in this case) always differ from invocation to invocation. Apparently 22 characters in the directory name length is the boundary where things are still sane; beyond that this crazy thing happens. This is what I observe: * If I invoke "xpdf" without argument and then press "o", this bug does not appear. * If I invoke "xpdf /tmp/012345678901234567/sample.pdf" then this bug does not appear. Something is screwy in one corner case described above only. Can somebody else reproduce this bug with their xpdf? I never observed this in xpdf in, e.g. Ubuntu 10.04 or earlier edition of Ubuntu. My experience with Debian is rather limited as far as versions go. Wirawan -- System Information: Debian Release: 6.0.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.38-bpo.2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages xpdf depends on: ii lesstif2 1:0.95.2-1 OSF/Motif 2.1 implementation relea ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.5-8 GCC support library ii libpoppler5 0.12.4-1.2 PDF rendering library ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3 ii libx11-6 2:1.3.3-4 X11 client-side library ii libxt6 1:1.0.7-1 X11 toolkit intrinsics library Versions of packages xpdf recommends: pn gsfonts-x11 <none> (no description available) pn poppler-data <none> (no description available) ii poppler-utils 0.12.4-1.2 PDF utilitites (based on libpopple xpdf suggests no packages. -- no debconf information -- Wirawan Purwanto Research Scientist College of William and Mary Physics Department Williamsburg, VA 23187 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

