Package: poppler-utils
Version: 0.38.0-2
pdftoppm produces a 1x1 image and exits with status 0 when it runs out
of memory:
$ ulimit -v 500000
$ pdftoppm -r 2000 -l 1 /usr/share/doc/quilt/quilt.pdf tmp
Out of memory
$ echo $?
0
$ head -n2 tmp-01.ppm
P6
1 1
I don't mind the 1x1 output image (although it's weird...), but the exit
status certainly shouldn't be 0.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 4.3.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages poppler-utils depends on:
ii libc6 2.22-0experimental1
ii libcairo2 1.14.6-1
ii libfreetype6 2.6.1-0.1
ii libgcc1 1:6-20160117-1
ii liblcms2-2 2.6-3+b3
ii libpoppler57 0.38.0-2
ii libstdc++6 6-20160117-1
ii zlib1g 1:1.2.8.dfsg-2+b1
--
Jakub Wilk