Package: zathura
Version: 0.3.1-2
Severity: normal

Dear Maintainers,

There is a memory leak in zathura. Steps to reproduce:

    1. Open a PDF file (e.g. output generated by LaTeX)

    2. Scroll

    3. Refresh the PDF (e.g. by recompiling the LaTeX document)

(You might have to do a forward / inverse search in between to trigger
it.) I'm not "cool enough" to valgrind. But I monitored memory usage
using

    ps -o pid,vsz,pmem,pcpu,tty,cmd --sort -pmem,-pcpu -C zathura

After about an hour of work (on a 2 / 3 page paper without any figures)
the memory usage of zathura rises from a footprint of about 1.5% (about
50MB) initially to 20% (about 750MB) by the end of the hour.

This is possibly fixed upstream here:

    
https://git.pwmt.org/pwmt/zathura/commit/876d35de943b16de7b8a218065a0a7409b383634

Thanks and best,

GI

PS: I marked severity as normal since I didn't know if the correct
    section for higher severities. It does make Zathura unusable on my
    system though.


-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (900, 'stable'), (500, 'stable-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages zathura depends on:
ii  libc6             2.19-18+deb8u1
ii  libcairo2         1.14.0-2.1
ii  libgirara-gtk3-1  0.2.3-1
ii  libglib2.0-0      2.42.1-1
ii  libgtk-3-0        3.14.5-1+deb8u1
ii  libmagic1         1:5.22+15-2
ii  libpoppler-glib8  0.26.5-2
ii  libsqlite3-0      3.8.7.1-1+deb8u1
ii  libsynctex1       2014.20140926.35254-6

zathura recommends no packages.

Versions of packages zathura suggests:
ii  chromium [www-browser]            47.0.2526.80-1~deb8u1
ii  google-chrome-beta [www-browser]  48.0.2564.48-1
ii  iceweasel [www-browser]           38.5.0esr-1~deb8u2
ii  konqueror [www-browser]           4:4.14.2-1
ii  poppler-data                      0.4.7-1
ii  w3m [www-browser]                 0.5.3-19
pn  zathura-cb                        <none>
ii  zathura-djvu                      0.2.4-6
ii  zathura-ps                        0.2.2-6

-- no debconf information

-- 
A program is a device used to convert data into error messages.

Reply via email to