Bug 181275 - Okular crashes when browsing certain PDFs
Summary: Okular crashes when browsing certain PDFs
Status: RESOLVED DUPLICATE of bug 176320
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-19 10:18 UTC by Nick de Graeve
Modified: 2009-01-19 10:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick de Graeve 2009-01-19 10:18:24 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    Mandriva RPMs

Okular frequently crashes when browsing PDFs. It happens when clicking on items in the Contents side-pane but also when navigating through the document with Page Up end Down.

[nick@LT-NDG ~]$ okular Documents/Simbios/forum550_installation_nl.pdf
QSocketNotifier: Invalid socket 21 and type 'Read', disabling...
QSocketNotifier: Invalid socket 24 and type 'Read', disabling...
okular: Fatal IO error: client killed
Comment 1 Pino Toscano 2009-01-19 10:25:55 UTC
Can you please provide a backtrace of the crash?
You can find more information about it at
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

Thanks.
Comment 2 Nick de Graeve 2009-01-19 10:31:40 UTC
I can't get a useful backtrace from GDB but this PDF always crashes Okular: http://users.telenet.be/nicks_auditorium/tmp/forum550_installation_nl.pdf 

Perhaps somebody else can generate a decent backtrace.

In the Content pane:

- expand "Montage en in gebruik nemen"
- expand "Inhoudsopgave"
- expand "Voice over IP (VOIP)
- click on "SIP-telefonie"

-> crash

Comment 3 Pino Toscano 2009-01-19 10:37:44 UTC
This looks familiar...

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0x7fe6166e16f0 (LWP 7181)]
0x00007fe60ec830ef in ?? () from /usr/lib/libfreetype.so.6
(gdb) bt
#0  0x00007fe60ec830ef in ?? () from /usr/lib/libfreetype.so.6
#1  0x00007fe60ec83240 in ?? () from /usr/lib/libfreetype.so.6
#2  0x00007fe60ec834bb in ?? () from /usr/lib/libfreetype.so.6
#3  0x00007fe60ec8759d in ?? () from /usr/lib/libfreetype.so.6
#4  0x00007fe60ec87a4e in ?? () from /usr/lib/libfreetype.so.6
#5  0x00007fe60ec68150 in ?? () from /usr/lib/libfreetype.so.6
#6  0x00007fe60ec6a5b6 in FT_Open_Face () from /usr/lib/libfreetype.so.6
#7  0x00007fe60ec6b350 in FT_New_Memory_Face () from /usr/lib/libfreetype.so.6
#8  0x00007fe60869303b in SplashFTFontFile::loadType1Font (engineA=0x2677d70, idA=0x7fe60000ce30, src=0x7fe60001b470, encA=0x7fe600018390)
    at poppler/splash/SplashFTFontFile.cc:52
#9  0x00007fe6086927d9 in SplashFTFontEngine::loadType1CFont (this=0x2677d70, idA=0x7fe60000ce30, src=0x7fe60001b470, enc=0x7fe600018390)
    at poppler/splash/SplashFTFontEngine.cc:93
#10 0x00007fe608694567 in SplashFontEngine::loadType1CFont (this=0x2638ad0, idA=0x7fe60000ce30, src=0x7fe60001b470, enc=0x7fe600018390)
    at poppler/splash/SplashFontEngine.cc:170
#11 0x00007fe60867dc66 in SplashOutputDev::doUpdateFont (this=0x263cea0, state=0x7fe600050260) at poppler/poppler/SplashOutputDev.cc:1081
#12 0x00007fe60867e673 in SplashOutputDev::drawChar (this=0x263cea0, state=0x7fe600050260, x=371.27999999999997, y=308.12040000000002, dx=10.875, dy=0, originX=0,
    originY=0, code=35, nBytes=1, u=0x7fe6000507bc, uLen=1) at poppler/poppler/SplashOutputDev.cc:1359
#13 0x00007fe6085e5f05 in Gfx::doShowText (this=0x7fe60004b750, s=0x7fe60001b5c0) at poppler/poppler/Gfx.cc:3432
#14 0x00007fe6085e6a78 in Gfx::opShowText (this=0x7fe60004b750, args=0x7fff1e828bd0, numArgs=1) at poppler/poppler/Gfx.cc:3218
#15 0x00007fe6085de3d2 in Gfx::execOp (this=0x7fe60004b750, cmd=0x7fff1e828e10, args=0x7fff1e828bd0, numArgs=1) at poppler/poppler/Gfx.cc:772
#16 0x00007fe6085de54a in Gfx::go (this=0x7fe60004b750, topLevel=1) at poppler/poppler/Gfx.cc:643
#17 0x00007fe6085deb2b in Gfx::display (this=0x7fe60004b750, obj=0x7fff1e828fb0, topLevel=1) at poppler/poppler/Gfx.cc:612
#18 0x00007fe60862d5c3 in Page::displaySlice (this=0x2557470, out=0x263cea0, hDPI=181.85365853658536, vDPI=181.81208053691276, rotate=0, useMediaBox=0, crop=1, sliceX=-1,
    sliceY=-1, sliceW=-1, sliceH=-1, printing=0, catalog=0x250c300, abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0)
    at poppler/poppler/Page.cc:442
#19 0x00007fe608632b93 in PDFDoc::displayPageSlice (this=0x24ad900, out=0x263cea0, page=136, hDPI=181.85365853658536, vDPI=181.81208053691276, 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 poppler/poppler/PDFDoc.cc:423
#20 0x00007fe6089bca11 in Poppler::Page::renderToImage (this=0x7fe600066320, xres=181.85365853658536, yres=181.81208053691276, x=-1, y=-1, w=-1, h=-1,
    rotate=Poppler::Page::Rotate0) at poppler/qt4/src/poppler-page.cc:208
#21 0x00007fe608c052e7 in PDFGenerator::generatePixmap (this=0x250f570, request=0x7fe6000fb6d0)
    at kdegraphics/okular/generators/poppler/generator_pdf.cpp:765
#22 0x00007fe60b98f0d0 in Okular::DocumentPrivate::sendGeneratorRequest (this=0x2119480) at kdegraphics/okular/core/document.cpp:869
#23 0x00007fe60b98f62b in Okular::DocumentPrivate::requestDone (this=0x2119480, req=0x2647fe0) at kdegraphics/okular/core/document.cpp:3376
#24 0x00007fe60b9a01eb in Okular::Generator::signalPixmapRequestDone (this=0x250f570, request=0x2647fe0)
    at kdegraphics/okular/core/generator.cpp:349
#25 0x00007fe608c054f2 in PDFGenerator::generatePixmap (this=0x250f570, request=0x2647fe0)
    at kdegraphics/okular/generators/poppler/generator_pdf.cpp:803
#26 0x00007fe60b98f0d0 in Okular::DocumentPrivate::sendGeneratorRequest (this=0x2119480) at kdegraphics/okular/core/document.cpp:869
#27 0x00007fe60b98fd10 in Okular::Document::requestPixmaps (this=0x20e4f30, requests=@0x7fff1e829c90, reqOptions={i = 511875984})
    at kdegraphics/okular/core/document.cpp:2247
#28 0x00007fe60b98fd5b in Okular::Document::requestPixmaps (this=0x20e4f30, requests=@0x7fff1e829c90)
    at kdegraphics/okular/core/document.cpp:2161
#29 0x00007fe60bca2063 in PageView::slotRequestVisiblePixmaps (this=0x23eb460, newValue=-1) at kdegraphics/okular/ui/pageview.cpp:3108
#30 0x00007fe60bcaa3b0 in PageView::notifyViewportChanged (this=0x23eb460, smoothMove=false) at kdegraphics/okular/ui/pageview.cpp:955
#31 0x00007fe60b980add in Okular::Document::setViewport (this=0x20e4f30, viewport=@0x7fff1e82a000, excludeId=-1, smoothMove=false)
    at kdegraphics/okular/core/document.cpp:2412
#32 0x00007fe60bcd9361 in TOC::slotExecuted (this=0x211a0d0, index=@0x2667050) at kdegraphics/okular/ui/toc.cpp:125
#33 0x00007fe60bcd940d in TOC::qt_metacall (this=0x211a0d0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff1e82a210) at /mnt/devel/build/4/kdegraphics/okular/toc.moc:71
#34 0x00007fe61466bdee in QMetaObject::activate (sender=0x211c250, from_signal_index=32, to_signal_index=32, argv=0x7fff1e82a210) at kernel/qobject.cpp:3028
#35 0x00007fe61466c3c1 in QMetaObject::activate (sender=0x211c250, m=0x7fe614283160, local_signal_index=1, argv=0x7fff1e82a210) at kernel/qobject.cpp:3098
#36 0x00007fe613cc5f17 in QAbstractItemView::clicked (this=0x211c250, _t1=@0x2667050) at .moc/debug-shared/moc_qabstractitemview.cpp:316
#37 0x00007fe613ccbf8a in QAbstractItemView::mouseReleaseEvent (this=0x211c250, event=0x7fff1e82b430) at itemviews/qabstractitemview.cpp:1618
#38 0x00007fe613d0f0fd in QTreeView::mouseReleaseEvent (this=0x211c250, event=0x7fff1e82b430) at itemviews/qtreeview.cpp:1765
#39 0x00007fe61376acab in QWidget::event (this=0x211c250, event=0x7fff1e82b430) at kernel/qwidget.cpp:7169
#40 0x00007fe613b5dfb3 in QFrame::event (this=0x211c250, e=0x7fff1e82b430) at widgets/qframe.cpp:657
#41 0x00007fe613c0840c in QAbstractScrollArea::viewportEvent (this=0x211c250, e=0x7fff1e82b430) at widgets/qabstractscrollarea.cpp:949
#42 0x00007fe613cd0f97 in QAbstractItemView::viewportEvent (this=0x211c250, event=0x7fff1e82b430) at itemviews/qabstractitemview.cpp:1435
#43 0x00007fe613d12b90 in QTreeView::viewportEvent (this=0x211c250, event=0x7fff1e82b430) at itemviews/qtreeview.cpp:1258
#44 0x00007fe613c0b450 in QAbstractScrollAreaPrivate::viewportEvent (this=0x224b510, event=0x7fff1e82b430) at widgets/qabstractscrollarea_p.h:102
#45 0x00007fe613c0b48c in QAbstractScrollAreaFilter::eventFilter (this=0x2174700, o=0x211a460, e=0x7fff1e82b430) at widgets/qabstractscrollarea_p.h:113
#46 0x00007fe614650301 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x2005690, receiver=0x211a460, event=0x7fff1e82b430)
    at kernel/qcoreapplication.cpp:700
#47 0x00007fe613700051 in QApplicationPrivate::notify_helper (this=0x2005690, receiver=0x211a460, e=0x7fff1e82b430) at kernel/qapplication.cpp:3805
#48 0x00007fe613700c9d in QApplication::notify (this=0x7fff1e82c200, receiver=0x211a460, e=0x7fff1e82b430) at kernel/qapplication.cpp:3534
#49 0x00007fe61551e5fa in KApplication::notify (this=0x7fff1e82c200, receiver=0x211a460, event=0x7fff1e82b430)
    at kdelibs/kdeui/kernel/kapplication.cpp:307
#50 0x00007fe614652850 in QCoreApplication::notifyInternal (this=0x7fff1e82c200, receiver=0x211a460, event=0x7fff1e82b430) at kernel/qcoreapplication.cpp:593
#51 0x00007fe61370f0a3 in QCoreApplication::sendSpontaneousEvent (receiver=0x211a460, event=0x7fff1e82b430)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#52 0x00007fe61370565b in QApplicationPrivate::sendMouseEvent (receiver=0x211a460, event=0x7fff1e82b430, alienWidget=0x211a460, nativeWidget=0x206b550,
    buttonDown=0x7fe6142a7a28, lastMouseReceiver=@0x7fe6142a7a30) at kernel/qapplication.cpp:2799
#53 0x00007fe613791d59 in QETWidget::translateMouseEvent (this=0x206b550, event=0x7fff1e82bf60) at kernel/qapplication_x11.cpp:4048
#54 0x00007fe613792cf5 in QApplication::x11ProcessEvent (this=0x7fff1e82c200, event=0x7fff1e82bf60) at kernel/qapplication_x11.cpp:3044
#55 0x00007fe6137c425d in QEventDispatcherX11::processEvents (this=0x2005440, flags={i = 511885504}) at kernel/qeventdispatcher_x11.cpp:134
#56 0x00007fe61464eee3 in QEventLoop::processEvents (this=0x7fff1e82c180, flags={i = 511885616}) at kernel/qeventloop.cpp:149
#57 0x00007fe61464f0e0 in QEventLoop::exec (this=0x7fff1e82c180, flags={i = 511885712}) at kernel/qeventloop.cpp:200
#58 0x00007fe6146532d1 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:851
#59 0x00007fe6136ffdd0 in QApplication::exec () at kernel/qapplication.cpp:3337
#60 0x0000000000408555 in main (argc=2, argv=0x7fff1e82c4d8) at kdegraphics/okular/shell/main.cpp:81
Comment 4 Pino Toscano 2009-01-19 10:38:40 UTC

*** This bug has been marked as a duplicate of bug 176320 ***