Johann Felix Soden, thank you for the patch. I have tried it, but after patching pdftopdf pdftopdf dumps core:
cat ~/ghostscript/gpl/testfiles/CityMap-evince.pdf | PPD=/etc/cups/ppd/pxl.ppd /usr/lib/cups/filter/pdftopdf 1 1 1 1 "" > ~/ghostscript/gpl/testfiles/CityMap-evince-pdftopdf2.pdf*** glibc detected *** /usr/lib/cups/filter/pdftopdf: free(): invalid pointer: 0x00007fefeed46b88 *** It always dumps core, independent of the input file and the PPD file. The backtrace in gdb is: #0 0x00007f3aa7c20a85 in raise () from /lib/libc.so.6 #1 0x00007f3aa7c24520 in abort () from /lib/libc.so.6 #2 0x00007f3aa7c5a3e7 in ?? () from /lib/libc.so.6 #3 0x00007f3aa7c64406 in ?? () from /lib/libc.so.6 #4 0x00007f3aa7c6ac93 in free () from /lib/libc.so.6 #5 0x00007f3aa89b3ad9 in Dict::~Dict() () from /usr/lib/libpoppler.so.5 #6 0x00007f3aa8f29690 in P2PDoc::output (this=<value optimized out>, str=0x7f3aaa484ba0, deviceCopies=<value optimized out>, deviceCollate=<value optimized out>) at P2PDoc.cxx:124 #7 0x00007f3aa8f285cb in main (argc=<value optimized out>, argv=<value optimized out>) at pdftopdf.cxx:716 I am on Lucid 64-bit. -- pdftopdf produces non-standard-conform pdf files. https://bugs.launchpad.net/bugs/544636 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs