Bug 207601 - okular 0.9.1 (gentoo + qt 4.5.2) segfaults when opening a pdf file
Summary: okular 0.9.1 (gentoo + qt 4.5.2) segfaults when opening a pdf file
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-16 19:05 UTC by Cedric Godin
Modified: 2009-09-16 23:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cedric Godin 2009-09-16 19:05:13 UTC
Application that crashed: okular
Version of the application: 0.9.1
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-gentoo-r6 x86_64

What I was doing when the application crashed:
I downloaded a pdf (300kB) from the arm.com site and when clicking on it from dolphin, okular started and crashed.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#5  0x00007ff4bc15686b in Poppler::Page::orientation (this=0xac4c80) at poppler-page.cc:486
#6  0x00007ff4bc1568ad in Poppler::Page::pageSizeF (this=0xac4c80) at poppler-page.cc:470
#7  0x00007ff4bc3bae42 in PDFGenerator::loadPages (this=0xaa5bf0, pagesVector=@0x761a10, rotation=<value optimized out>, clear=<value optimized out>)
    at /var/tmp/portage/kde-base/okular-4.3.1/work/okular-4.3.1/okular/generators/poppler/generator_pdf.cpp:465
#8  0x00007ff4bc3bbdba in PDFGenerator::init (this=0xaa5bf0, pagesVector=<value optimized out>, walletKey=<value optimized out>)
    at /var/tmp/portage/kde-base/okular-4.3.1/work/okular-4.3.1/okular/generators/poppler/generator_pdf.cpp:428
#9  0x00007ff4bc3be4d5 in PDFGenerator::loadDocument (this=0xaa5bf0, filePath=@0x7fffcc68b850, pagesVector=@0x761a10)
    at /var/tmp/portage/kde-base/okular-4.3.1/work/okular-4.3.1/okular/generators/poppler/generator_pdf.cpp:330
#10 0x00007ff4bf86b307 in Okular::DocumentPrivate::openDocumentInternal (this=0x7618d0, offer=<value optimized out>, isstdin=false, docFile=@0x7fffcc68b850, filedata=@0x7fffcc68b3e0)
    at /var/tmp/portage/kde-base/okular-4.3.1/work/okular-4.3.1/okular/core/document.cpp:644
#11 0x00007ff4bf877420 in Okular::Document::openDocument (this=0x7502d0, docFile=@0x7fffcc68b850, url=<value optimized out>, _mime=<value optimized out>)
    at /var/tmp/portage/kde-base/okular-4.3.1/work/okular-4.3.1/okular/core/document.cpp:1634
#12 0x00007ff4bfb2cd08 in Part::openFile (this=0x78b0b0) at /var/tmp/portage/kde-base/okular-4.3.1/work/okular-4.3.1/okular/part.cpp:921
#13 0x00007ff4ccc63127 in KParts::ReadOnlyPart::openUrl (this=0x78b0b0, url=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kparts/part.cpp:557
#14 0x00007ff4bfb2082a in Part::openUrl (this=0x78b0b0, _url=<value optimized out>) at /var/tmp/portage/kde-base/okular-4.3.1/work/okular-4.3.1/okular/part.cpp:1040
#15 0x00000000004099ea in Shell::openUrl (this=0x6d8880, url=@0x6d8918) at /var/tmp/portage/kde-base/okular-4.3.1/work/okular-4.3.1/okular/shell/shell.cpp:151
#16 0x000000000040a31c in Shell::qt_metacall (this=0x6d8880, _c=QMetaObject::InvokeMetaMethod, _id=11170256, _a=0x7fffcc68bce0)
    at /var/tmp/portage/kde-base/okular-4.3.1/work/okular-4.3.1_build/okular/shell/shell.moc:88
#17 0x00007ff4cafc7714 in QMetaObject::activate (sender=<value optimized out>, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7ff4c9a19a20)
    at kernel/qobject.cpp:3101
#18 0x00007ff4cafcdf0f in QSingleShotTimer::timerEvent (this=0xa77420) at kernel/qtimer.cpp:298
#19 0x00007ff4cafc40e3 in QObject::event (this=0xa77420, e=0x20) at kernel/qobject.cpp:1066
#20 0x00007ff4ca3662ac in QApplicationPrivate::notify_helper (this=0x61b530, receiver=0xa77420, e=0x7fffcc68c300) at kernel/qapplication.cpp:4056
#21 0x00007ff4ca36ba68 in QApplication::notify (this=0x7fffcc68c880, receiver=0xa77420, e=0x7fffcc68c300) at kernel/qapplication.cpp:4021
#22 0x00007ff4cbe4a9f6 in KApplication::notify (this=0x7fffcc68c880, receiver=0xa77420, event=0x7fffcc68c300)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#23 0x00007ff4cafb6523 in QCoreApplication::notifyInternal (this=0x7fffcc68c880, receiver=0xa77420, event=0x7fffcc68c300) at kernel/qcoreapplication.cpp:606
#24 0x00007ff4cafdb442 in QTimerInfoList::activateTimers (this=0x61bf50) at kernel/qcoreapplication.h:213
#25 0x00007ff4cafdc0ac in QEventDispatcherUNIX::processEvents (this=0x612790, flags=) at kernel/qeventdispatcher_unix.cpp:908
#26 0x00007ff4ca3ea57d in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_x11.cpp:152
#27 0x00007ff4cafb4f62 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#28 0x00007ff4cafb50fd in QEventLoop::exec (this=0x7fffcc68c7d0, flags=) at kernel/qeventloop.cpp:197
#29 0x00007ff4cafb6e8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#30 0x00000000004088ab in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/okular-4.3.1/work/okular-4.3.1/okular/shell/main.cpp:81

This bug may be a duplicate of or related to bug 198610

Reported using DrKonqi
Comment 1 Cedric Godin 2009-09-16 20:09:17 UTC
OK, PEBCAK. I forgot to rebuild okular after an update of poppler :-S
you may close this bug