Created attachment 16885 [details] pdf which causes the crash I just wanted to have a look at my old LinuxTag 2003 card. But okular crashed on me opening the document. Evince crashes too. But kpdf and acroread display the card just fine. I will attach the file. The backtrace is here: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb32feb90 (LWP 6530)] 0xb3399531 in AnnotWidget::initialize () from /usr/lib/libpoppler.so.3 (gdb) bt #0 0xb3399531 in AnnotWidget::initialize () from /usr/lib/libpoppler.so.3 #1 0xb339982d in AnnotWidget::AnnotWidget () from /usr/lib/libpoppler.so.3 #2 0xb339bc52 in Annots::createAnnot () from /usr/lib/libpoppler.so.3 #3 0xb339bf6a in Annots::Annots () from /usr/lib/libpoppler.so.3 #4 0xb3402196 in Page::displaySlice () from /usr/lib/libpoppler.so.3 #5 0xb3406000 in PDFDoc::displayPageSlice () from /usr/lib/libpoppler.so.3 #6 0xb34fa5e5 in Poppler::Page::renderToImage () from /usr/lib/libpoppler-qt4.so.3 #7 0xb3554ba3 in ?? () from /usr/lib/kde4/okularGenerator_poppler.so #8 0xb75559b7 in ?? () from /usr/lib/libQtCore.so.4 #9 0xb74f9175 in start_thread () from /lib/libpthread.so.0 #10 0xb68a6dce in clone () from /lib/libc.so.6
I am using openSUSE with the following versions: # rpm -qf `which kpdf` `which okular` kdegraphics3-pdf-3.5.9-50 kde4-okular-4.0.4-11 # rpm -qa *poppler* libpoppler2-0.6.4-2 poppler-data-0.2.0-11 libpoppler-qt4-3-0.8.1-4 libpoppler-glib3-0.8.1-4 libpoppler3-0.8.1-4 The patch from my last bug is allready applied: * Mo Mai 12 2008 sbrabec@suse.cz - Check for optional content before using it (bnc#389090, fdo#15899).
With debug packages installed, it looks like the following: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb3483b90 (LWP 3514)] AnnotWidget::initialize (this=0x82ee088, xrefA=0x80f8958, catalog=0x8251d10, dict=0x826b5e8) at Form.h:71 71 FormFieldType getType() { return type; } Current language: auto; currently c++ (gdb) bt #0 AnnotWidget::initialize (this=0x82ee088, xrefA=0x80f8958, catalog=0x8251d10, dict=0x826b5e8) at Form.h:71 #1 0xb351e7ed in AnnotWidget (this=0x82ee088, xrefA=0x80f8958, dict=0x826b5e8, catalog=0x8251d10, obj=0xb3483024) at Annot.cc:1709 #2 0xb3520c12 in Annots::createAnnot (this=0x826f438, xref=0x80f8958, dict=0x826b5e8, catalog=0x8251d10, obj=0xb3483024) at Annot.cc:3381 #3 0xb3520f2a in Annots (this=0x826f438, xref=0x80f8958, catalog=0x8251d10, annotsObj=0xb34830cc) at Annot.cc:3320 #4 0xb3587146 in Page::displaySlice (this=0x824e470, out=0x82a3328, hDPI=68.131731307974846, vDPI=68.118186978650527, rotate=0, useMediaBox=0, crop=1, sliceX=-1, sliceY=-1, sliceW=-1, sliceH=-1, printing=0, catalog=0x8251d10, abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at Page.cc:420 #5 0xb358afb0 in PDFDoc::displayPageSlice (this=0x80f3a30, out=0x82a3328, page=1, hDPI=68.131731307974846, vDPI=68.118186978650527, rotate=0, useMediaBox=0, crop=1, printing=0, sliceX=-1, sliceY=-1, sliceW=-1, sliceH=-1, abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at PDFDoc.cc:405 #6 0xb367f5e5 in Poppler::Page::renderToImage (this=0x827a3e0, xres=68.131731307974846, yres=68.118186978650527, x=-1, y=-1, w=-1, h=-1, rotate=Poppler::Page::Rotate0) at poppler-page.cc:188 #7 0xb36d9ba3 in ?? () from /usr/lib/kde4/okularGenerator_poppler.so #8 0xb76da9b7 in ?? () from /usr/lib/libQtCore.so.4 #9 0xb767e175 in start_thread () from /lib/libpthread.so.0 #10 0xb6a2bdce in clone () from /lib/libc.so.6
I can reproduce in version 0.8.2 and cannot reproduce in git head of branch poppler-0.8, so it seems to be fixed.
Yeah it's fixed
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.