[cups-devel] [UNKN] STR #4711: texttopdf crashes while processing a special document using the prettyprint option

Rainer Suhm noreply at cups.org
Sun Sep 6 01:50:06 PDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

texttopdf crashes when printing with prettyprint option

To reproduce:
lp -d PDF -o "page-bottom=50 page-left=50 page-right=50 page-top=50
prettyprint" -t Sicherung.sh Sicherung.sh

Without the prettyprint option everything works fine.
The error triggers also without the page-... options.
Other documents are correctly processed with option prettyprint set.

System information:
Linux lenny 4.1.6-1-ARCH #1 SMP PREEMPT Mon Aug 17 08:52:28 CEST 2015
x86_64 GNU/Linux
cups 2.0.4-1 
cups-pdf 2.6.1-2 
cups-filters 1.0.74-1
default options for printer cups-pdf: page size A4, output resolution 1200
DPI

/var/log/cups/error.log:
D [06/Sep/2015:09:55:10 +0200] [Job 50] Started filter
/usr/lib/cups/filter/texttopdf (PID 4244)
D [06/Sep/2015:09:55:10 +0200] [Job 50] Started filter
/usr/lib/cups/filter/pdftopdf (PID 4245)
D [06/Sep/2015:09:55:10 +0200] [Job 50] Started filter
/usr/lib/cups/filter/pdftops (PID 4246)
D [06/Sep/2015:09:55:10 +0200] [Job 50] Started backend
/usr/lib/cups/backend/cups-pdf (PID 4247)
D [06/Sep/2015:09:55:10 +0200] [Job 50] pdftops - copying to temp print
file "/var/spool/cups/tmp/0109655edf50f"
D [06/Sep/2015:09:55:10 +0200] [Job 50] Page = 595x842; 0,0 to 595,842
D [06/Sep/2015:09:55:10 +0200] [Job 50] PID 4244
(/usr/lib/cups/filter/texttopdf) crashed on signal 11.
D [06/Sep/2015:09:55:10 +0200] [Job 50] Hint: Try setting the LogLevel to
"debug" to find out more.
D [06/Sep/2015:09:55:10 +0200] [Job 50] PID 4245
(/usr/lib/cups/filter/pdftopdf) stopped with status 1.

journalctl:
Sep 06 09:55:10 lenny kernel: traps: texttopdf[4244] general protection
ip:7fbface6362e sp:7ffc6a38ce30 error:0 in
libc-2.22.so[7fbface1b000+19b000]
Sep 06 09:55:10 lenny systemd-coredump[4249]: Process 4244 (texttopdf) of
user 2 dumped core.


Confirmed on another system:
Linux windhund2 3.19.0-26-generic #28~14.04.1-Ubuntu SMP Wed Aug 12
14:09:17 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
cups 1.7.2
default options for printer cups-pdf: page size A4, output resolution 300
DPI
/var/log/syslog:
Sep  6 09:35:41 windhund2 kernel: [211110.773602] traps: texttopdf[32635]
general protection ip:7fe46002fa03 sp:7ffcb18f9eb0 error:0 in
libc-2.19.so[7fe45ffe4000+1bb000]

Link: https://www.cups.org/str.php?L4711
Version: 2.0.4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJV6/4+AAoJENujp6sI12IjZ2EQAKAt4ViuBB7hamrtc9Ms+Hxg
TISVCt5cty30m1mBbP/Rz9IpPZsKKb2Cd+sxc0KMcQDNr3CVSwq6bqTh1XpxaPbr
Cf+FcFJW6uKcjM3+RtwUpxBGF2xnQlmUL9ttR8Dqj8f0Sq+qLvWcmBMh2waftDf/
bcCKdFyaBKPM5S01rxhvxOLjUriX3leeq3Xz3LQJOG+9FA5eGJu6GFdKC9RVeRCg
sKdqGVSkBnC036NTaWw4CcrGufMx3zZLt9ZQQ2ibx6lBkm6qCXuEJnGnwghxERnf
UHBMunyq0HL9ngeMp3hCjrvDx12XhAF0wnngdF3WW8ZVDJ1Y53AMJbyv8cnY9vZy
Rs19PC7Oeh+RKtvQCN6TeP75dsAW0Rai0kOPxJKqhqn0MI+nqRFSefEmGgfZ5KmY
KjWBJPOFKkO7xw9kzHTDnLtC5RfY7P1sQ9n6AQo4cgRDePFrmzbKxB0RPcxrHymv
ZgvAk5pWuL17Od/Lpnk94F5IKomwth+NlyA8TU8thNYKQrI8DgVEmnknBnlmhvS0
9Z5ECBLXjRiQNSC5ySLIOUoL35T0CzBnc4I6Exf8VO4Oud7qRNgsIOCmLL2tMToR
m/o667VPGS5GF4KfZrEUK4UY6TLBu0dt5GPZeHd8zXNf2UZCQsrlewCn/hX2EFNM
hd+yWa7DRMc7iRAjH9FE
=0AGx
-----END PGP SIGNATURE-----




More information about the cups-devel mailing list