[Poppler-bugs] [Bug 19669] New: okular/poppler crash in Poppler:: convertAnnotColor when opening large PDF (Qt book)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 21 01:38:39 PST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=19669

           Summary: okular/poppler crash in Poppler::convertAnnotColor when
                    opening large PDF (Qt book)
           Product: poppler
           Version: unspecified
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Keywords: regression
          Severity: major
          Priority: medium
         Component: qt4 frontend
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: lure at ubuntu.com


OS: Ubuntu Jaunty (up-to-date)
- KDE 4.2 RC packages (okular)
- Poppler 0.10.3 (Ubuntu package 0.10.3-0ubuntu1)

When I try to open "C++ GUI Programming with Qt" book in PDF with okular from
KDE 4.2, it crashes reports the following error on console:

okular(21461): Attempt to use QAction "bookmark_action_0" with KXMLGUIFactory!
Error: Illegal annotation destination
Segmentation fault (core dumped)

I have installed dependand -dbg packages and reproduced the problem in "gdb" to
get proper backtrace:

#0  Poppler::convertAnnotColor (color=0x6e653e0100000001)
    at poppler-annotation.cc:2043
#1  0x00007f784d8f00b5 in Poppler::Page::annotations (this=0x15474e0)
    at poppler-page.cc:1041
#2  0x00007f784db696eb in PDFGenerator::addAnnotations (
    this=<value optimized out>, popplerPage=0x6e653e0100000001, page=0x0)
    at
/build/buildd/kdegraphics-4.1.96/okular/generators/poppler/generator_pdf.cpp:1261
#3  0x00007f784db6b8d9 in PDFGenerator::loadPages (this=0x1269fa0,
    pagesVector=@0xeb7d28, rotation=<value optimized out>, clear=false)
    at
/build/buildd/kdegraphics-4.1.96/okular/generators/poppler/generator_pdf.cpp:462
#4  0x00007f784db6d36d in PDFGenerator::init (this=0x1269fa0,
    pagesVector=@0xeb7d28, walletKey=@0x7fff63966140)
    at
/build/buildd/kdegraphics-4.1.96/okular/generators/poppler/generator_pdf.cpp:410
#5  0x00007f784db70845 in PDFGenerator::loadDocument (this=0x1269fa0,
    filePath=@0x7fff63966b00, pagesVector=@0xeb7d28)
    at
/build/buildd/kdegraphics-4.1.96/okular/generators/poppler/generator_pdf.cpp:312
#6  0x00007f7850e639f0 in Okular::DocumentPrivate::openDocumentInternal (
    this=0xeb7bf0, offer=<value optimized out>, isstdin=false,
    docFile=@0x7fff63966b00, filedata=@0x7fff63966670)
    at /build/buildd/kdegraphics-4.1.96/okular/core/document.cpp:643
#7  0x00007f7850e711e5 in Okular::Document::openDocument (this=0xec2930,
    docFile=@0x7fff63966b00, url=@0x7fff639665d0, _mime=<value optimized out>)
    at /build/buildd/kdegraphics-4.1.96/okular/core/document.cpp:1593
#8  0x00007f785111e930 in Part::openFile (this=0xed3f80)
    at /build/buildd/kdegraphics-4.1.96/okular/part.cpp:874
#9  0x00007f785b51fb14 in KParts::ReadOnlyPart::openUrl (this=0xed3f80,
    url=<value optimized out>)
    at /build/buildd/kde4libs-4.1.96/kparts/part.cpp:558
#10 0x00007f7851119ce6 in Part::openUrl (this=0x7fff639650d0,
    url=@0x6e653e0100000001)
    at /build/buildd/kdegraphics-4.1.96/okular/part.cpp:970
#11 0x0000000000409830 in Shell::openUrl (this=0xe648f0, url=@0xe64990, page=0)
    at /build/buildd/kdegraphics-4.1.96/okular/shell/shell.cpp:136
#12 0x000000000040992c in Shell::delayedOpen (this=0xe648f0)
    at /build/buildd/kdegraphics-4.1.96/okular/shell/shell.cpp:119
#13 0x000000000040a738 in Shell::qt_metacall (this=0xe648f0,
    _c=QMetaObject::InvokeMetaMethod, _id=22333904, _a=0x7fff63966f40)
    at
/build/buildd/kdegraphics-4.1.96/obj-x86_64-linux-gnu/okular/shell/shell.moc:90
#14 0x00007f78598e1154 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0x00007f78598e73bf in ?? () from /usr/lib/libQtCore.so.4
#16 0x00007f78598dba63 in QObject::event () from /usr/lib/libQtCore.so.4
#17 0x00007f7858deebfd in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#18 0x00007f7858df69ba in QApplication::notify () from /usr/lib/libQtGui.so.4
#19 0x00007f785a6f833b in KApplication::notify (this=0x7fff63967930,
    receiver=0x126ef00, event=0x7fff63967600)
    at /build/buildd/kde4libs-4.1.96/kdeui/kernel/kapplication.cpp:307
#20 0x00007f78598ccd81 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#21 0x00007f78598f8ac6 in ?? () from /usr/lib/libQtCore.so.4
#22 0x00007f78598f522d in ?? () from /usr/lib/libQtCore.so.4
#23 0x00007f7854f5b30b in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#24 0x00007f7854f5eacd in ?? () from /usr/lib/libglib-2.0.so.0
#25 0x00007f7854f5ec8b in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#26 0x00007f78598f518f in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#27 0x00007f7858e80adf in ?? () from /usr/lib/libQtGui.so.4
#28 0x00007f78598cb6a2 in QEventLoop::processEvents ()
   from /usr/lib/libQtCore.so.4
#29 0x00007f78598cb82d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#30 0x00007f78598cdcdd in QCoreApplication::exec () from
/usr/lib/libQtCore.so.4
#31 0x0000000000407de4 in main (argc=<value optimized out>,
    argv=<value optimized out>)
    at /build/buildd/kdegraphics-4.1.96/okular/shell/main.cpp:81

Note: this PDF can be opened on Ubuntu/Intrepid with KDE 4.1 and poppler 0.8.7


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list