Summary: | printing PDF crashes konqueror | ||
---|---|---|---|
Product: | [Applications] kpdf | Reporter: | S. Burmeister <sven.burmeister> |
Component: | general | Assignee: | Albert Astals Cid <aacid> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
S. Burmeister
2007-08-31 13:05:25 UTC
Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 47574283305872 (LWP 10197)] [KCrash handler] #5 0x00002b44c0e118f8 in GfxCIDFont::getCodeToGIDMap (this=0xc07240, ff=0xc09d90, mapsizep=0x7ffff0ce87fc) at /build/buildd/kdegraphics-3.5.7/./kpdf/xpdf/xpdf/GfxFont.cc:1533 #6 0x00002b44c0e3b683 in PSOutputDev::setupExternalCIDTrueTypeFont ( this=0xc07ca0, font=0xc07240, fileName=0xc069e0, faceIndex=0) at /build/buildd/kdegraphics-3.5.7/./kpdf/xpdf/xpdf/PSOutputDev.cc:2250 #7 0x00002b44c0e641f6 in PSOutputDev::setupFont (this=0xc07ca0, font=0xc07240, parentResDict=0x0) at /build/buildd/kdegraphics-3.5.7/./kpdf/xpdf/xpdf/PSOutputDev.cc:1751 #8 0x00002b44c0e64418 in PSOutputDev::setupFonts (this=0xc07ca0, resDict=0x998c70) at /build/buildd/kdegraphics-3.5.7/./kpdf/xpdf/xpdf/PSOutputDev.cc:1536 #9 0x00002b44c0e644f4 in PSOutputDev::setupResources (this=0x0, resDict=0x3c0) at /build/buildd/kdegraphics-3.5.7/./kpdf/xpdf/xpdf/PSOutputDev.cc:1421 #10 0x00002b44c0e648b0 in PSOutputDev::writeDocSetup (this=0xc07ca0, catalog=0x962ea0, firstPage=<value optimized out>, lastPage=65) at /build/buildd/kdegraphics-3.5.7/./kpdf/xpdf/xpdf/PSOutputDev.cc:1340 #11 0x00002b44c0e64db7 in PSOutputDev::init (this=0xc07ca0, outputFuncA=<value optimized out>, outputStreamA=0xc07f10, fileTypeA=psFile, pstitle=0xaa3a30 "Aufgabe1", xrefA=<value optimized out>, catalog=0x962ea0, firstPage=1, lastPage=65, modeA=psModePS, imgLLXA=0, imgLLYA=0, imgURXA=595, imgURYA=842, manualCtrlA=0) at /build/buildd/kdegraphics-3.5.7/./kpdf/xpdf/xpdf/PSOutputDev.cc:1117 #12 0x00002b44c0e6507d in PSOutputDev (this=0xc07ca0, fileName=0xaa7fb0 "/tmp/kde-pino/kpdfdlxoUa.ps", pstitle=0xaa3a30 "Aufgabe1", xrefA=0x9253c0, catalog=0x962ea0, firstPage=1, lastPage=65, modeA=psModePS, imgLLXA=0, imgLLYA=0, imgURXA=595, imgURYA=842, forceRasterizeA=0, manualCtrlA=0) at /build/buildd/kdegraphics-3.5.7/./kpdf/xpdf/xpdf/PSOutputDev.cc:1005 #13 0x00002b44c0eb99df in PDFGenerator::print (this=0x9df110, printer=@0x7ffff0ce9030) at /build/buildd/kdegraphics-3.5.7/./kpdf/core/generator_pdf/generator_pdf.cpp:469 #14 0x00002b44c0ea9478 in KPDFDocument::print (this=<value optimized out>, printer=@0x3c0) at /build/buildd/kdegraphics-3.5.7/./kpdf/core/document.cpp:1097 #15 0x00002b44c0ddd1df in KPDF::Part::doPrint (this=0x70b470, printer=@0x7ffff0ce9030) at /build/buildd/kdegraphics-3.5.7/./kpdf/part.cpp:1035 #16 0x00002b44c0dde916 in KPDF::Part::slotPrintPreview (this=0x70b470) at /build/buildd/kdegraphics-3.5.7/./kpdf/part.cpp:892 #17 0x00002b44c0ddf5c0 in KPDF::Part::qt_invoke (this=0x70b470, _id=18, _o=0x7ffff0ce91f0) at ./part.moc:202 #18 0x00002b44bc1d84ee in QObject::activate_signal (this=0x829c70, clist=0x82a030, o=0x7ffff0ce91f0) at kernel/qobject.cpp:2356 #19 0x00002b44bc1d9088 in QObject::activate_signal (this=0x829c70, signal=2) at kernel/qobject.cpp:2325 #20 0x00002b44bb5e8bfd in KAction::slotPopupActivated (this=0x829c70) at /build/buildd/kdelibs-3.5.7.dfsg.1/./kdeui/kaction.cpp:1137 #21 0x00002b44bb5e8ea3 in KAction::qt_invoke (this=0x829c70, _id=16, _o=0x7ffff0ce9350) at ./kaction.moc:219 #22 0x00002b44bc1d84ee in QObject::activate_signal (this=0x886720, clist=0x87aee0, o=0x7ffff0ce9350) at kernel/qobject.cpp:2356 #23 0x00002b44bc546591 in QSignal::signal (this=0x886720, t0=@0x886770) at .moc/debug-shared-mt/moc_qsignal.cpp:100 #24 0x00002b44bc1f7697 in QSignal::activate (this=0x886720) at kernel/qsignal.cpp:212 #25 0x00002b44bc2f7244 in QPopupMenu::mouseReleaseEvent (this=0x867b70, e=0x7ffff0ce9a80) at widgets/qpopupmenu.cpp:1697 #26 0x00002b44bc20cb9c in QWidget::event (this=0x867b70, e=0x7ffff0ce9a80) at kernel/qwidget.cpp:4702 #27 0x00002b44bc173842 in QApplication::internalNotify (this=0x7ffff0cea370, receiver=0x867b70, e=0x7ffff0ce9a80) at kernel/qapplication.cpp:2635 #28 0x00002b44bc1759c5 in QApplication::notify (this=0x7ffff0cea370, receiver=0x867b70, e=0x7ffff0ce9a80) at kernel/qapplication.cpp:2421 #29 0x00002b44bbad43f8 in KApplication::notify (this=0x7ffff0cea370, receiver=0x867b70, event=0x7ffff0ce9a80) at /build/buildd/kdelibs-3.5.7.dfsg.1/./kdecore/kapplication.cpp:550 #30 0x00002b44bc106864 in QApplication::sendSpontaneousEvent ( receiver=0x867b70, event=0x7ffff0ce9a80) at kernel/qapplication.h:523 #31 0x00002b44bc105204 in QETWidget::translateMouseEvent (this=0x867b70, event=0x7ffff0cea020) at kernel/qapplication_x11.cpp:4243 #32 0x00002b44bc1037e7 in QApplication::x11ProcessEvent (this=0x7ffff0cea370, event=0x7ffff0cea020) at kernel/qapplication_x11.cpp:3478 #33 0x00002b44bc11993f in QEventLoop::processEvents (this=0x650550, flags=4) at kernel/qeventloop_x11.cpp:192 #34 0x00002b44bc18ce27 in QEventLoop::enterLoop (this=0x650550) at kernel/qeventloop.cpp:198 #35 0x00002b44bc18cc2f in QEventLoop::exec (this=0x650550) at kernel/qeventloop.cpp:145 #36 0x00002b44bc175324 in QApplication::exec (this=0x7ffff0cea370) at kernel/qapplication.cpp:2758 #37 0x000000000040a153 in main (argc=7316768, argv=<value optimized out>) at /build/buildd/kdegraphics-3.5.7/./kpdf/shell/main.cpp:79 #38 0x00002b44ba9ecb44 in __libc_start_main () from /lib/libc.so.6 #39 0x0000000000408f59 in _start () SVN commit 707656 by aacid: Don't crash when we don't have a ctu. Fix imported from poppler BUGS: 149416 M +1 -0 GfxFont.cc --- branches/KDE/3.5/kdegraphics/kpdf/xpdf/xpdf/GfxFont.cc #707655:707656 @@ -1514,6 +1514,7 @@ int cidlen; *mapsizep = 0; + if (!ctu) return NULL; /* we use only unicode cmap */ cmap = -1; |