Bug#624270: iceweasel creates temporary .part file for local files opened w/o removal

Sebastian Schmidt yath at yath.de
Wed Apr 27 00:18:54 UTC 2011


Package: iceweasel
Version: 4.0-3
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

when I open a random PDF file (I suspect this is also the case with any
other file types that are being displayed by an external program) stored
locally with iceweasel (4.0) a file /tmp/${randomstring}.pdf.part gets
crated and never deleted - though xpdf is being passed the local file
name.

Steps to reproduce:

$ mkdir footest

$ cd footest

$ echo '<a href="foo.pdf">foo</a>' > index.html

$ wget -O foo.pdf $somerandompdf

$ iceweasel index.html

[click on the PDF link in iceweasel, PDF viewer gets started]

# lsof | grep xpdf
[...]
xpdf      4321        yath    4r      REG      254,0  1071125     558179 /home/yath/footest/foo.pdf
                                                         Original file --^

$ ls -ltr /tmp | grep -F .pdf.part | tail -n 1
- -rw------- 1 yath yath  1071125 Apr 27 02:12 1NBshKOZ.pdf.part

[quit pdf viewer]

$ ls -ltr /tmp | grep -F .pdf.part | tail -n 1
- -rw------- 1 yath yath  1071125 Apr 27 02:12 1NBshKOZ.pdf.part


The .pdf.part file remains and it is unclear to me why it is created in
the first place. It appears to be a copy as it gets a different inode#
and is a real problem for me as I sometimes open PDF files from an
encfs-mounted directory via iceweasel - copying the file to /tmp makes
the encryption useless.

There is a bug in bugzilla related to that:
https://bugzilla.mozilla.org/show_bug.cgi?id=470138

Though it's from 2008 I hope to get this fixed.

Thanks,
 Sebastian

- -- Package-specific info:

- -- Plugins information
Name: DivX Browser Plug-In
Location: /usr/lib/mozilla/plugins/mplayerplug-in-dvx.so
Package: mozilla-mplayer
Status: enabled

Name: Helix DNA Plugin: RealPlayer G2 Plug-In Compatible
Location: /usr/lib/mozilla/plugins/nphelix.so
Package: realplayer
Status: enabled

Name: QuickTime Plug-in 7.4.5
Location: /usr/lib/mozilla/plugins/mplayerplug-in-qt.so
Package: mozilla-mplayer
Status: enabled

Name: RealPlayer 9
Location: /usr/lib/mozilla/plugins/mplayerplug-in-rm.so
Package: mozilla-mplayer
Status: enabled

Name: Shockwave Flash
Location: /usr/lib/flashplugin-nonfree/libflashplayer.so
Status: enabled

Name: Windows Media Player Plug-in
Location: /usr/lib/mozilla/plugins/mplayerplug-in-wmp.so
Package: mozilla-mplayer
Status: enabled

Name: mplayerplug-in 3.55
Location: /usr/lib/mozilla/plugins/mplayerplug-in.so
Package: mozilla-mplayer
Status: enabled


- -- Addons package information
ii  mozilla-mplaye 1:3.55-0.0     MPlayer-Plugin for Mozilla
ii  realplayer     1:11.0.0-0.2   RealPlayer 10 based on the open source Helix

- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages iceweasel depends on:
ii  debianutils                   3.4.4      Miscellaneous utilities specific t
ii  fontconfig                    2.8.0-2.2  generic font configuration library
ii  libc6                         2.11.2-11  Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.6.0-5  GCC support library
ii  libgdk-pixbuf2.0-0            2.23.3-3   GDK Pixbuf library
ii  libglib2.0-0                  2.28.6-1   The GLib library of C routines
ii  libgtk2.0-0                   2.24.4-3   The GTK+ graphical user interface 
ii  libnspr4-0d                   4.8.7-2    NetScape Portable Runtime Library
ii  libstdc++6                    4.6.0-5    The GNU Standard C++ Library v3
ii  procps                        1:3.2.8-10 /proc file system utilities
ii  xulrunner-2.0                 2.0-2      XUL + XPCOM application runner

iceweasel recommends no packages.

Versions of packages iceweasel suggests:
ii  libgssapi-krb5-2           1.9+dfsg-1+b1 MIT Kerberos runtime libraries - k
pn  mozplugger                 <none>        (no description available)
ii  ttf-lyx                    2.0.0~rc3-2   TrueType versions of some TeX font
pn  ttf-mathematica4.1         <none>        (no description available)
ii  xfonts-mathml              4             Type1 Symbol font for MathML
pn  xprint                     <none>        (no description available)

Versions of packages xulrunner-2.0 depends on:
ii  libasound2       1.0.23-3                shared library for ALSA applicatio
ii  libatk1.0-0      2.0.0-1                 The ATK accessibility toolkit
ii  libbz2-1.0       1.0.5-6                 high-quality block-sorting file co
ii  libc6            2.11.2-11               Embedded GNU C Library: Shared lib
ii  libcairo2        1.10.2-6                The Cairo 2D vector graphics libra
ii  libdbus-1-3      1.4.8-2                 simple interprocess messaging syst
ii  libevent-1.4-2   1.4.13-stable-1         An asynchronous event notification
ii  libfontconfig1   2.8.0-2.2               generic font configuration library
ii  libfreetype6     2.4.4-1                 FreeType 2 font engine, shared lib
ii  libgcc1          1:4.6.0-5               GCC support library
ii  libgdk-pixbuf2.0 2.23.3-3                GDK Pixbuf library
ii  libglib2.0-0     2.28.6-1                The GLib library of C routines
ii  libgtk2.0-0      2.24.4-3                The GTK+ graphical user interface 
ii  libhunspell-1.2- 1.2.14-4                spell checker and morphological an
ii  libjpeg62        6b1-1                   The Independent JPEG Group's JPEG 
ii  libmozjs4d       2.0-2                   The Mozilla SpiderMonkey JavaScrip
ii  libnspr4-0d      4.8.7-2                 NetScape Portable Runtime Library
ii  libnss3-1d       3.12.9.with.ckbi.1.82-1 Network Security Service libraries
ii  libpango1.0-0    1.28.3-6                Layout and rendering of internatio
ii  libpixman-1-0    0.21.6-2                pixel-manipulation library for X a
ii  libreadline6     6.2-1                   GNU readline and history libraries
ii  libsqlite3-0     3.7.6.2-1               SQLite 3 shared library
ii  libstartup-notif 0.10-1                  library for program launch feedbac
ii  libstdc++6       4.6.0-5                 The GNU Standard C++ Library v3
ii  libvpx0          0.9.6-1                 VP8 video codec (shared library)
ii  libx11-6         2:1.4.3-1               X11 client-side library
ii  libxext6         2:1.2.0-2               X11 miscellaneous extension librar
ii  libxrender1      1:0.9.6-1               X Rendering Extension client libra
ii  libxt6           1:1.1.1-1               X11 toolkit intrinsics library
ii  zlib1g           1:1.2.3.4.dfsg-3        compression library - runtime

Versions of packages xulrunner-2.0 suggests:
ii  libcanberra0                  0.24-1     a simple abstract interface for pl
ii  libdbus-glib-1-2              0.92-1     simple interprocess messaging syst
ii  libgconf2-4                   2.28.1-6   GNOME configuration database syste
ii  libgnomeui-0                  2.24.3-1   The GNOME libraries (User Interfac
ii  libgnomevfs2-0                1:2.24.4-1 GNOME Virtual File System (runtime
ii  libnotify1 [libnotify1-gtk2.1 0.5.0-2    sends desktop notifications to a n

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iD8DBQFNt2DqvBVic1oTsEgRAreWAJ9O6lW9VcCzxUSsLkuhSKZ4wkDIiwCeJHfs
NQC8XQZUg4kkSLSXhmuBfn4=
=Pm9l
-----END PGP SIGNATURE-----





More information about the pkg-mozilla-maintainers mailing list