#38338: Pdftk @1.44 +gcc45 crashes by default ------------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: crash, core dump | Port: pdftk ------------------------------+-------------------------------- Maybe it needs to be compiled in 32 bit… The "normal" usage I encounter is this: {{{ pete 730 /\ pdftk SierpIe.pdf output SierpIeU.pdf uncompress Abort (core dumped) Exit 134 }}} So I fetched from http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit the pdftk_server-1.45-mac_osx-10.6-setup.pkg package which installs in /opt/pdflabs/pdftk. Running this version of pdftk I get: {{{ pete 750 /\ /opt/pdflabs/pdftk/bin/pdftk SierpIe.pdf output SierpIeu.pdf uncompress pete 751 /\ gv SierpIeu.pdf & pete 752 /\ l SierpIeu.pdf -rw-r--r-- 1 pete admin 128595 9. Mär 13:28 SierpIeu.pdf pete 753 /\ pdfinfo SierpIeu.pdf Producer: GPL Ghostscript 9.06 CreationDate: Sat Mar 9 13:27:45 2013 ModDate: Sat Mar 9 13:27:45 2013 Tagged: no Form: none Pages: 1 Encrypted: no Page size: 64 x 64 pts Page rot: 0 File size: 128595 bytes Optimized: no PDF version: 1.4 }}} {{{ pete 287 /\ otool -L /opt/pdflabs/pdftk/bin/pdftk /opt/pdflabs/pdftk/bin/pdftk: @executable_path/../lib/libgcj.11.dylib (compatibility version 12.0.0, current version 12.0.0) @executable_path/../lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.14.0) @executable_path/../lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) <==== /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 697.0.0) <==== /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11) pete 288 /\ file /opt/pdflabs/pdftk/bin/pdftk /opt/pdflabs/pdftk/bin/pdftk: Mach-O executable i386 }}} {{{ pete 289 /\ otool -L /opt/local/bin/pdftk /opt/local/bin/pdftk: /opt/local/lib/gcc45/libgcj.11.dylib (compatibility version 12.0.0, current version 12.0.0) /opt/local/lib/gcc45/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.14.0) /opt/local/lib/gcc45/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.0.0) <==== /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 830.0.0) <==== /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11) pete 290 /\ file /opt/local/bin/pdftk /opt/local/bin/pdftk: Mach-O 64-bit executable x86_64 }}} A core file (367 MB) is available… -- Ticket URL: <https://trac.macports.org/ticket/38338> MacPorts <http://www.macports.org/> Ports system for OS X