Bug 156299 - Okular crashes when trying to open a PDF file
Summary: Okular crashes when trying to open a PDF file
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.6
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 158186 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-21 10:55 UTC by 81joe81
Modified: 2008-02-26 23:21 UTC (History)
2 users (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 81joe81 2008-01-21 10:55:54 UTC
Version:           0.6 (using KDE 4.0.0)
Installed from:    Ubuntu Packages
OS:                Linux

Every time I try to open the following pdf file okular crashes.
www.mentor.com/products/dft/upload/ITC06_11_2_Improving_Transition_Fault_Test_Patterns.pdf

Okular version: 0.6 (ubuntu package version: 4:4.0.0-0ubuntu3~gutsy1~ppa1)
libpoppler-qt4 version: 0.6.2 (ubuntu package version: libpoppler-qt4-2 0.6.2-1~gutsy1)

This is the backtrace I can get:

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1235965552 (LWP 15740)]
[KCrash handler]
#6  0xb35b68e5 in Page::getDefaultCTM () from /usr/lib/libpoppler.so.2
#7  0xb36ef3e4 in ?? () from /usr/lib/libpoppler-qt4.so.2
#8  0xb36f035d in Poppler::LinkDestination::LinkDestination ()
   from /usr/lib/libpoppler-qt4.so.2
#9  0xb36e02bc in Poppler::DocumentData::addTocChildren ()
   from /usr/lib/libpoppler-qt4.so.2
#10 0xb36e0130 in Poppler::DocumentData::addTocChildren ()
   from /usr/lib/libpoppler-qt4.so.2
#11 0xb36de28b in Poppler::Document::toc () from /usr/lib/libpoppler-qt4.so.2
#12 0xb37385d9 in ?? () from /usr/lib/kde4/lib/kde4/okularGenerator_poppler.so
#13 0x084f79f0 in ?? ()
#14 0x0000049c in ?? ()
#15 0xb4f03000 in ?? ()
#16 0x000c541c in ?? ()
#17 0xb4e82dfc in ?? () from /usr/lib/kde4/lib/libokularcore.so.1
#18 0xb4fc771c in ?? () from /usr/lib/kde4/lib/kde4/okularpart.so
#19 0x0813bcf8 in ?? ()
#20 0xb4fc771c in ?? () from /usr/lib/kde4/lib/kde4/okularpart.so
#21 0x0813bcf8 in ?? ()
#22 0x0813eb30 in ?? ()
#23 0xbf984578 in ?? ()
#24 0xb4eb86a0 in Okular::Document::documentSynopsis ()
   from /usr/lib/kde4/lib/libokularcore.so.1
Backtrace stopped: frame did not save the PC
#0  0xffffe410 in __kernel_vsyscall ()
Comment 1 Oliver Putz 2008-01-21 13:59:03 UTC
I can confirm this crash with this somewhat more verbose backtrace:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb64de990 (LWP 29000)]
[KCrash handler]
#6  0xb386c703 in Page::getDefaultCTM () from /usr/lib/libpoppler.so.2
#7  0xb394a436 in ?? () from /usr/lib/libpoppler-qt4.so.2
#8  0xb394b7c1 in Poppler::LinkDestination::LinkDestination ()
   from /usr/lib/libpoppler-qt4.so.2
#9  0xb39405f9 in Poppler::DocumentData::addTocChildren ()
   from /usr/lib/libpoppler-qt4.so.2
#10 0xb393f31a in Poppler::Document::toc () from /usr/lib/libpoppler-qt4.so.2
#11 0xb39a47d8 in PDFGenerator::generateDocumentSynopsis (this=0x8234530)
    at /var/tmp/portage/kde-base/kdegraphics-9999.4/work/kdegraphics-9999.4/okular/generators/poppler/generator_pdf.cpp:605
#12 0xb4fb16e0 in Okular::Document::documentSynopsis (this=0x810b6b8)
    at /var/tmp/portage/kde-base/kdegraphics-9999.4/work/kdegraphics-9999.4/okular/core/document.cpp:1543
#13 0xb50af0ad in TOC::notifySetup (this=0x8123fc8, 
    setupFlags=<value optimized out>)
    at /var/tmp/portage/kde-base/kdegraphics-9999.4/work/kdegraphics-9999.4/okular/ui/toc.cpp:71
#14 0xb4fbe786 in Okular::Document::openDocument (this=0x810b6b8, 
    docFile=@0xbfe491b0, url=@0xbfe4913c, _mime=@0xbfe491b4)
    at /var/tmp/portage/kde-base/kdegraphics-9999.4/work/kdegraphics-9999.4/okular/core/document.cpp:1256
#15 0xb503260e in Part::openFile (this=0x80fcd60)
    at /var/tmp/portage/kde-base/kdegraphics-9999.4/work/kdegraphics-9999.4/okular/part.cpp:753
#16 0xb75f99af in KParts::ReadOnlyPart::openUrl (this=0x80fcd60, 
    url=@0x80f76d0)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kparts/part.cpp:552
#17 0xb5033a39 in Part::openUrl (this=0x80fcd60, url=@0x80f76d0)
    at /var/tmp/portage/kde-base/kdegraphics-9999.4/work/kdegraphics-9999.4/okular/part.cpp:825
#18 0x0804f752 in Shell::openUrl (this=0x80f7680, url=@0x80f76d0, page=0)
    at /var/tmp/portage/kde-base/kdegraphics-9999.4/work/kdegraphics-9999.4/okular/shell/shell.cpp:133
#19 0x0804fced in Shell::delayedOpen (this=0x80f7680)
    at /var/tmp/portage/kde-base/kdegraphics-9999.4/work/kdegraphics-9999.4/okular/shell/shell.cpp:116
#20 0x0804fe12 in Shell::qt_metacall (this=0x80f7680, 
    _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbfe49804)
    at /var/tmp/portage/kde-base/kdegraphics-9999.4/work/kdegraphics_build/okular/shell/shell.moc:94
#21 0xb7e781f4 in QMetaObject::activate (sender=0x81e3e40, 
    from_signal_index=4, to_signal_index=4, argv=<value optimized out>)
    at kernel/qobject.cpp:3081
#22 0xb7e78d94 in QMetaObject::activate (sender=0x81e3e40, m=0xb7f16c64, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3140
#23 0xb7e813c3 in QSingleShotTimer::timeout (this=0x81e3e40)
    at .moc/debug-shared/qtimer.moc:73
#24 0xb7e8140c in QSingleShotTimer::timerEvent (this=0x81e3e40)
    at kernel/qtimer.cpp:296
#25 0xb7e76269 in QObject::event (this=0x81e3e40, e=0xbfe48d20)
    at kernel/qobject.cpp:1086
#26 0xb6a3ae8a in QApplicationPrivate::notify_helper (this=0x8060488, 
    receiver=0x81e3e40, e=0xbfe49d38) at kernel/qapplication.cpp:3556
#27 0xb6a3c77a in QApplication::notify (this=0xbfe49f98, receiver=0x81e3e40, 
    e=0xbfe49d38) at kernel/qapplication.cpp:3115
#28 0xb79eafb3 in KApplication::notify (this=0xbfe49f98, receiver=0x81e3e40, 
    event=0xbfe49d38)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kdeui/kernel/kapplication.cpp:314
#29 0xb7e64d7b in QCoreApplication::notifyInternal (this=0xbfe49f98, 
    receiver=0x81e3e40, event=0xbfe49d38) at kernel/qcoreapplication.cpp:530
#30 0xb7e8defb in QTimerInfoList::activateTimers (this=0x8060c2c)
    at kernel/qcoreapplication.h:200
#31 0xb7e8dfd1 in QEventDispatcherUNIX::activateTimers (this=0x805fdc8)
    at kernel/qeventdispatcher_unix.cpp:828
#32 0xb7e8e9ab in QEventDispatcherUNIX::processEvents (this=0x805fdc8, 
    flags=@0xbfe49eb8) at kernel/qeventdispatcher_unix.cpp:890
#33 0xb6ac4cce in QEventDispatcherX11::processEvents (this=0x805fdc8, 
    flags=@0xbfe49ee4) at kernel/qeventdispatcher_x11.cpp:145
#34 0xb7e64191 in QEventLoop::processEvents (this=0xbfe49f50, 
    flags=@0xbfe49f18) at kernel/qeventloop.cpp:140
#35 0xb7e6429a in QEventLoop::exec (this=0xbfe49f50, flags=@0xbfe49f58)
    at kernel/qeventloop.cpp:186
#36 0xb7e66626 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:759
#37 0xb6a3a487 in QApplication::exec () at kernel/qapplication.cpp:3053
#38 0x0804e6e5 in main (argc=0, argv=0x0)
    at /var/tmp/portage/kde-base/kdegraphics-9999.4/work/kdegraphics-9999.4/okular/shell/main.cpp:60
#39 0xb66ecfdc in __libc_start_main (main=0x804e2e0 <main>, argc=6, 
    ubp_av=0xbfe4a0c4, init=0x80515d0 <__libc_csu_init>, 
    fini=0x80515c0 <__libc_csu_fini>, rtld_fini=0xb7f28100 <_dl_fini>, 
    stack_end=0xbfe4a0bc) at libc-start.c:229
#40 0x0804e251 in _start ()
#0  0xffffe410 in __kernel_vsyscall ()
Comment 2 Albert Astals Cid 2008-01-21 20:58:18 UTC
Problem is on poppler-qt4, will be fixed in poppler 0.6.4 i'm tentatively releasing Saturday 26th January
Comment 3 Pino Toscano 2008-02-26 23:21:43 UTC
*** Bug 158186 has been marked as a duplicate of this bug. ***