Bug 188109 - Crash on specific file (optional content)
Summary: Crash on specific file (optional content)
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-25 22:23 UTC by Kenneth Ingham
Modified: 2009-03-26 21:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace of okular crash (6.65 KB, text/plain)
2009-03-26 20:33 UTC, Kenneth Ingham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Ingham 2009-03-25 22:23:44 UTC
Version:           kde4-okular-4.1.3-4.6 (using KDE 4.1.3)
OS:                Linux
Installed from:    SuSE RPMs

When loading the file obtained from:
http://www.sans.org/reading_room/whitepapers/pda/security_policy_for_the_use_of_handheld_devices_in_corporate_environments_32823
okular displays the first page for a moment and then crashes with a signal 11
The expected behavior is to display the file without crashing :-)

acroread shows the file without problems.  Other PDF files display fine.
The SuSE RPM does not generate a backtrace.

This is okular version 0.7.3, "release 4.9"
Comment 1 Pino Toscano 2009-03-25 22:32:14 UTC
Hi,

can you please provide a backtrace for the crash?
You can find more information about that in the following page:
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

Thanks.
Comment 2 Kenneth Ingham 2009-03-26 20:33:10 UTC
Created attachment 32417 [details]
backtrace of okular crash
Comment 3 Kenneth Ingham 2009-03-26 20:34:52 UTC
I turned off background generation in the preferences and it crashes when
changing to the second page.  

I also have ltrace and strace runs of the crash, if they would be
helpful.

If you need an additional library with debuginfo, please let me know which to
add.  Looking at the SuSE KDE packages, there are too many for me to know which
ones would be useful.
Comment 4 Pino Toscano 2009-03-26 20:55:06 UTC
Pasting the backtrace:

[KCrash handler]
#5  0x00007fd8931aedc6 in OCGs::optContentIsVisible(Object*) ()
   from /usr/lib64/libpoppler.so.4
#6  0x00007fd8931797cb in Gfx::opXObject(Object*, int) ()
   from /usr/lib64/libpoppler.so.4
#7  0x00007fd89316aa5d in Gfx::go(int) () from /usr/lib64/libpoppler.so.4
#8  0x00007fd89316f016 in Gfx::display(Object*, int) ()
   from /usr/lib64/libpoppler.so.4
#9  0x00007fd893171614 in Gfx::doForm1(Object*, Dict*, double*, double*, int, int, GfxColorSpace*, int, int, int, Function*, GfxColor*) ()
   from /usr/lib64/libpoppler.so.4
#10 0x00007fd89317928d in Gfx::doForm(Object*) ()
   from /usr/lib64/libpoppler.so.4
#11 0x00007fd89317974f in Gfx::opXObject(Object*, int) ()
   from /usr/lib64/libpoppler.so.4
#12 0x00007fd89316aa5d in Gfx::go(int) () from /usr/lib64/libpoppler.so.4
#13 0x00007fd89316f016 in Gfx::display(Object*, int) ()
   from /usr/lib64/libpoppler.so.4
#14 0x00007fd8931b1b70 in Page::displaySlice(OutputDev*, double, double, int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*, int (*)(Annot*, void*), void*) () from /usr/lib64/libpoppler.so.4
#15 0x00007fd8934c700d in Poppler::Page::renderToImage(double, double, int, int, int, int, Poppler::Page::Rotation) const ()
   from /usr/lib64/libpoppler-qt4.so.3
#16 0x00007fd893729914 in ?? () from /usr/lib64/kde4/okularGenerator_poppler.so
#17 0x00007fd896403b03 in ?? () from /usr/lib64/libokularcore.so.1
#18 0x00007fd89640483a in Okular::Document::requestPixmaps(QLinkedList<Okular::PixmapRequest*> const&, QFlags<Okular::Document::PixmapRequestFlag>) ()
   from /usr/lib64/libokularcore.so.1
#19 0x00007fd896404a63 in Okular::Document::requestPixmaps(QLinkedList<Okular::PixmapRequest*> const&) () from /usr/lib64/libokularcore.so.1
#20 0x00007fd89671263a in ?? () from /usr/lib64/kde4/okularpart.so
#21 0x00007fd89671a5ae in ?? () from /usr/lib64/kde4/okularpart.so
#22 0x00007fd8963f62ae in Okular::Document::setViewport(Okular::DocumentViewport const&, int, bool) () from /usr/lib64/libokularcore.so.1
#23 0x00007fd8963f66c4 in Okular::Document::setViewportPage(int, int, bool) ()
   from /usr/lib64/libokularcore.so.1
#24 0x00007fd8966d296d in ?? () from /usr/lib64/kde4/okularpart.so
#25 0x00007fd8a04ef454 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib64/libQtCore.so.4
#26 0x00007fd89b837527 in QAction::triggered(bool) ()
   from /usr/lib64/libQtGui.so.4
#27 0x00007fd89b837cf0 in QAction::activate(QAction::ActionEvent) ()
   from /usr/lib64/libQtGui.so.4
#28 0x00007fd89b83b2a7 in QAction::event(QEvent*) ()
   from /usr/lib64/libQtGui.so.4
#29 0x00007fd89b893fc3 in QWidgetAction::event(QEvent*) ()
   from /usr/lib64/libQtGui.so.4
#30 0x00007fd89b83d1bd in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib64/libQtGui.so.4
#31 0x00007fd89b844f8a in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib64/libQtGui.so.4
#32 0x00007fd89f98cbab in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib64/libkdeui.so.5
#33 0x00007fd8a04db091 in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib64/libQtCore.so.4
#34 0x00007fd89b8726ad in ?? () from /usr/lib64/libQtGui.so.4
#35 0x00007fd89b87400c in ?? () from /usr/lib64/libQtGui.so.4
#36 0x00007fd89b845fb2 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib64/libQtGui.so.4
#37 0x00007fd89f98cbab in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib64/libkdeui.so.5
#38 0x00007fd8a04db091 in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib64/libQtCore.so.4
#39 0x00007fd89b8ca4f4 in ?? () from /usr/lib64/libQtGui.so.4
#40 0x00007fd89b8cc7e7 in ?? () from /usr/lib64/libQtGui.so.4
#41 0x00007fd89b8a7800 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib64/libQtGui.so.4
#42 0x00007fd89b8ce214 in ?? () from /usr/lib64/libQtGui.so.4
#43 0x00007fd89a1270db in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
#44 0x00007fd89a12a8ad in ?? () from /usr/lib64/libglib-2.0.so.0
#45 0x00007fd89a12aa6b in g_main_context_iteration ()
   from /usr/lib64/libglib-2.0.so.0
#46 0x00007fd8a05034ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#47 0x00007fd89b8cd9bf in ?? () from /usr/lib64/libQtGui.so.4
#48 0x00007fd8a04d99a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#49 0x00007fd8a04d9b2d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#50 0x00007fd8a04dbffd in QCoreApplication::exec() ()
   from /usr/lib64/libQtCore.so.4
#51 0x00000000004078d4 in _start ()
Comment 5 Pino Toscano 2009-03-26 21:06:18 UTC
From the backtrace, this is a known crash in the poppler library.
This should have been fixed in a recently released version, so the suggestion is to ask to your distribution (openSUSE) for updated packages.

Thanks for your report.