xpdf also crashes for me on every single pdf file, so I tried re-building xpdf from source, but it won't compile. Here is what I get (on natty as of today):
$ dpkg-buildpackage -rfakeroot -j8 -b dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions dpkg-buildpackage: source package xpdf dpkg-buildpackage: source version 3.02-12ubuntu1 dpkg-buildpackage: source changed by Bhavani Shankar <bh...@ubuntu.com> dpkg-buildpackage: host architecture i386 dpkg-source --before-build xpdf-3.02 fakeroot debian/rules clean dh clean dh_testdir dh_auto_clean debian/rules override_dh_clean make[1]: Entering directory `/home/nfs/david/ubuntu-sources/xpdf-3.02' dh_clean rm -rf build make[1]: Leaving directory `/home/nfs/david/ubuntu-sources/xpdf-3.02' debian/rules build dh build dh_testdir # Skipping dh_auto_configure - empty override debian/rules override_dh_auto_build make[1]: Entering directory `/home/nfs/david/ubuntu-sources/xpdf-3.02' mkdir -p build cp goo/parseargs.* xpdf/CoreOutputDev.* xpdf/GlobalParams.* build cp xpdf/PDFCore.* xpdf/XPDFApp.* xpdf/XPDFCore.* xpdf/XPDFTree.* build cp xpdf/XPDFTreeP.h xpdf/XPDFViewer.* xpdf/xpdf.cc build # perform extensive goo rename (as required by poppler) sed -i s/GString/GooString/g build/* sed -i s/GMutex/GooMutex/g build/* sed -i s/GHash/GooHash/g build/* sed -i s/GList/GooList/g build/* sed -i s/\<aconf\.h\>/\<poppler-config\.h\>/g build/* cp xpdf/config.h xpdf/about-text.h xpdf/*.xbm xpdf/xpdfIcon.xpm build g++ -g -O2 -I/usr/include/poppler -I/usr/include/poppler/goo -I/usr/include/poppler/splash -Wno-write-strings -DHAVE_DIRENT_H -I/usr/include/poppler -I/usr/include/poppler/goo -I/usr/include/poppler/splash -Wno-write-strings -DHAVE_DIRENT_H -c -o build/CoreOutputDev.o build/CoreOutputDev.cc g++ -g -O2 -I/usr/include/poppler -I/usr/include/poppler/goo -I/usr/include/poppler/splash -Wno-write-strings -DHAVE_DIRENT_H -I/usr/include/poppler -I/usr/include/poppler/goo -I/usr/include/poppler/splash -Wno-write-strings -DHAVE_DIRENT_H -c -o build/GlobalParams.o build/GlobalParams.cc build/GlobalParams.cc: In member function ‘void GlobalParams::parseNameToUnicode(GooList*, GooString*, int)’: build/GlobalParams.cc:1147:72: warning: format ‘%s’ expects type ‘char*’, but argument 3 has type ‘GooString*’ g++ -g -O2 -I/usr/include/poppler -I/usr/include/poppler/goo -I/usr/include/poppler/splash -Wno-write-strings -DHAVE_DIRENT_H -I/usr/include/poppler -I/usr/include/poppler/goo -I/usr/include/poppler/splash -Wno-write-strings -DHAVE_DIRENT_H -c -o build/PDFCore.o build/PDFCore.cc g++ -g -O2 -I/usr/include/poppler -I/usr/include/poppler/goo -I/usr/include/poppler/splash -Wno-write-strings -DHAVE_DIRENT_H -I/usr/include/poppler -I/usr/include/poppler/goo -I/usr/include/poppler/splash -Wno-write-strings -DHAVE_DIRENT_H -c -o build/XPDFApp.o build/XPDFApp.cc g++ -g -O2 -I/usr/include/poppler -I/usr/include/poppler/goo -I/usr/include/poppler/splash -Wno-write-strings -DHAVE_DIRENT_H -I/usr/include/poppler -I/usr/include/poppler/goo -I/usr/include/poppler/splash -Wno-write-strings -DHAVE_DIRENT_H -c -o build/XPDFCore.o build/XPDFCore.cc build/XPDFCore.cc: In member function ‘void XPDFCore::runCommand(GooString*, GooString*)’: build/XPDFCore.cc:695:28: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result build/XPDFCore.cc: In member function ‘void XPDFCore::doAction(LinkAction*)’: build/XPDFCore.cc:571:32: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result g++ -g -O2 -I/usr/include/poppler -I/usr/include/poppler/goo -I/usr/include/poppler/splash -Wno-write-strings -DHAVE_DIRENT_H -I/usr/include/poppler -I/usr/include/poppler/goo -I/usr/include/poppler/splash -Wno-write-strings -DHAVE_DIRENT_H -c -o build/XPDFTree.o build/XPDFTree.cc g++ -g -O2 -I/usr/include/poppler -I/usr/include/poppler/goo -I/usr/include/poppler/splash -Wno-write-strings -DHAVE_DIRENT_H -I/usr/include/poppler -I/usr/include/poppler/goo -I/usr/include/poppler/splash -Wno-write-strings -DHAVE_DIRENT_H -c -o build/XPDFViewer.o build/XPDFViewer.cc build/XPDFViewer.cc: In static member function ‘static void XPDFViewer::printPrintCbk(_WidgetRec*, void*, void*)’: build/XPDFViewer.cc:3630:19: error: no matching function for call to ‘PSOutputDev::PSOutputDev(char*, XRef*, Catalog*, NULL, int&, int&, PSOutMode)’ /usr/include/poppler/PSOutputDev.h:91:3: note: candidates are: PSOutputDev::PSOutputDev(void (*)(void*, char*, int), void*, char*, PDFDoc*, XRef*, Catalog*, int, int, PSOutMode, int, int, GBool, int, int, int, int, GBool, GBool) /usr/include/poppler/PSOutputDev.h:80:3: note: PSOutputDev::PSOutputDev(const char*, PDFDoc*, XRef*, Catalog*, char*, int, int, PSOutMode, int, int, GBool, int, int, int, int, GBool, GBool) /usr/include/poppler/PSOutputDev.h:76:37: note: PSOutputDev::PSOutputDev(const PSOutputDev&) build/XPDFViewer.cc:3675:54: error: no matching function for call to ‘PSOutputDev::PSOutputDev(char*, XRef*, Catalog*, NULL, int&, int&, PSOutMode)’ /usr/include/poppler/PSOutputDev.h:91:3: note: candidates are: PSOutputDev::PSOutputDev(void (*)(void*, char*, int), void*, char*, PDFDoc*, XRef*, Catalog*, int, int, PSOutMode, int, int, GBool, int, int, int, int, GBool, GBool) /usr/include/poppler/PSOutputDev.h:80:3: note: PSOutputDev::PSOutputDev(const char*, PDFDoc*, XRef*, Catalog*, char*, int, int, PSOutMode, int, int, GBool, int, int, int, int, GBool, GBool) /usr/include/poppler/PSOutputDev.h:76:37: note: PSOutputDev::PSOutputDev(const PSOutputDev&) build/XPDFViewer.cc: In member function ‘void XPDFViewer::cmdRun(GooString**, int, XEvent*)’: build/XPDFViewer.cc:1165:28: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result make[1]: *** [build/XPDFViewer.o] Error 1 make[1]: Leaving directory `/home/nfs/david/ubuntu-sources/xpdf-3.02' make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 As it seems xpdf needs header files from an older version of libpoppler-dev (libpoppler7-dev??), but the build-depends mention libpoppler-dev (>= 0.12.4) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/669211 Title: Xpdf segfaults on start in libpoppler.so.7 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs