Bug 282970 - Okular crashed after 3 open/close in short time.
Summary: Okular crashed after 3 open/close in short time.
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.12.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-28 13:27 UTC by Lucas Linard
Modified: 2014-05-08 14:24 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 Lucas Linard 2011-09-28 13:27:24 UTC
Application: okular (0.12.5)
KDE Platform Version: 4.6.5 (4.6.5) "release 4"
Qt Version: 4.7.4
Operating System: Linux 2.6.37.6-0.7-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: Closed okular, opened it again, closed, opened, closed, opened.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fcca263c760 (LWP 23387))]

Thread 2 (Thread 0x7fcc8c63a700 (LWP 23388)):
[KCrash Handler]
#6  0x0000000000893d90 in ?? ()
#7  0x00007fcc8c79611e in PopplerCache::lookup (this=0x9a4cf0, key=...) at PopplerCache.cc:52
#8  0x00007fcc8c7a1611 in XRef::fetch (this=0xa4c060, num=8221, gen=<value optimized out>, obj=0x7fcc8c6398f0) at XRef.cc:1052
#9  0x00007fcc8c768671 in GfxFontDict::GfxFontDict (this=0x7fcc84001d20, xref=0xa4c060, fontDictRef=0x0, fontDict=0xb3fbd0) at GfxFont.cc:2091
#10 0x00007fcc8c751a2b in GfxResources::GfxResources (this=0x7fcc84001c50, xref=0xa4c060, resDict=0xb3f7f0, nextA=0x0) at Gfx.cc:329
#11 0x00007fcc8c762a27 in Gfx::Gfx (this=0x7fcc84001af0, xrefA=<value optimized out>, outA=0x131caf0, pageNum=19, resDict=0xb3f7f0, catalogA=0xa35fd0, hDPI=18.941176470588236, vDPI=18.90909090909091, box=0x7fcc8c639a90, cropBox=0x0, rotate=0, abortCheckCbkA=0, abortCheckCbkDataA=0x0) at Gfx.cc:542
#12 0x00007fcc8c79219a in Page::createGfx (this=0xadc280, out=0x131caf0, hDPI=18.941176470588236, vDPI=18.90909090909091, rotate=0, useMediaBox=<value optimized out>, crop=0, sliceX=<value optimized out>, sliceY=-1, sliceW=-1, sliceH=-1, printing=0, catalog=0xa35fd0, abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at Page.cc:440
#13 0x00007fcc8c792453 in Page::displaySlice (this=0xadc280, out=0x131caf0, hDPI=<value optimized out>, vDPI=<value optimized out>, rotate=<value optimized out>, useMediaBox=<value optimized out>, crop=1, sliceX=-1, sliceY=-1, sliceW=-1, sliceH=-1, printing=0, catalog=0xa35fd0, abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at Page.cc:469
#14 0x00007fcc8cab47cd in Poppler::Page::renderToImage (this=0x12a9540, xres=18.941176470588236, yres=18.90909090909091, x=-1, y=-1, w=-1, h=-1, rotate=Poppler::Page::Rotate0) at poppler-page.cc:211
#15 0x00007fcc8cd0b978 in PDFPixmapGeneratorThread::run (this=0x9fadd0) at /usr/src/debug/kdegraphics-4.6.5/okular/generators/poppler/generator_pdf.cpp:1884
#16 0x00007fcca01e54d5 in QThreadPrivate::start (arg=0x9fadd0) at thread/qthread_unix.cpp:331
#17 0x00007fcc9d8aea3f in start_thread () from /lib64/libpthread.so.0
#18 0x00007fcc9f95167d in clone () from /lib64/libc.so.6
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fcca263c760 (LWP 23387)):
#0  0x00007fcc9f948509 in poll () from /lib64/libc.so.6
#1  0x00007fcc990b0c2a in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fcc990b11a3 in ?? () from /usr/lib64/libxcb.so.1
#3  0x00007fcc990b1234 in xcb_writev () from /usr/lib64/libxcb.so.1
#4  0x00007fcc9e61ecc6 in _XSend () from /usr/lib64/libX11.so.6
#5  0x00007fcc9e6130c7 in ?? () from /usr/lib64/libX11.so.6
#6  0x00007fcc9e6132ad in XPutImage () from /usr/lib64/libX11.so.6
#7  0x00007fcca0d5e33b in QX11PixmapData::fromImage(QImage const&, QFlags<Qt::ImageConversionFlag>) () from /usr/lib64/libQtGui.so.4
#8  0x00007fcca0d484cf in QPixmap::fromImage(QImage const&, QFlags<Qt::ImageConversionFlag>) () from /usr/lib64/libQtGui.so.4
#9  0x00007fcca0da4e75 in QPaintEngine::drawImage(QRectF const&, QImage const&, QRectF const&, QFlags<Qt::ImageConversionFlag>) () from /usr/lib64/libQtGui.so.4
#10 0x00007fcca0e6d792 in ?? () from /usr/lib64/libQtGui.so.4
#11 0x00007fcca0db87c5 in ?? () from /usr/lib64/libQtGui.so.4
#12 0x00007fcca0db9f0c in QPainter::drawRects(QRect const*, int) () from /usr/lib64/libQtGui.so.4
#13 0x00007fcca0dba08c in QPainter::fillRect(QRect const&, QBrush const&) () from /usr/lib64/libQtGui.so.4
#14 0x00007fcc97c84046 in Oxygen::Helper::radialGradient(QColor const&, int, int) () from /usr/lib64/liboxygenstyle.so.4
#15 0x00007fcc97c81963 in Oxygen::Helper::renderWindowBackground(QPainter*, QRect const&, QWidget const*, QWidget const*, QColor const&, int, int) () from /usr/lib64/liboxygenstyle.so.4
#16 0x00007fcc97f0993e in ?? () from /usr/lib64/kde4/plugins/styles/oxygen.so
#17 0x00007fcc97f0852b in ?? () from /usr/lib64/kde4/plugins/styles/oxygen.so
#18 0x00007fcca0cb9423 in QWidgetPrivate::paintBackground(QPainter*, QRegion const&, int) const () from /usr/lib64/libQtGui.so.4
#19 0x00007fcca0cbf107 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#20 0x00007fcca0e84131 in ?? () from /usr/lib64/libQtGui.so.4
#21 0x00007fcca0cb48c0 in QWidgetPrivate::syncBackingStore() () from /usr/lib64/libQtGui.so.4
#22 0x00007fcca0cc22d2 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#23 0x00007fcca108398b in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#24 0x00007fcca1981133 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#25 0x00007fcca0c70264 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#26 0x00007fcca0c7881a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#27 0x00007fcca18d8346 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#28 0x00007fcca02ce7cc in QCoreApplication::notifyInternal (this=0x7fffee475430, receiver=0x74d0d0, event=0x7fffee4732e0) at kernel/qcoreapplication.cpp:787
#29 0x00007fcca0e80a2d in ?? () from /usr/lib64/libQtGui.so.4
#30 0x00007fcca0cb4128 in QWidget::repaint(QRect const&) () from /usr/lib64/libQtGui.so.4
#31 0x00007fcc9206d28a in PageView::scrollContentsBy (this=0x7a9f10, dx=<value optimized out>, dy=<value optimized out>) at /usr/src/debug/kdegraphics-4.6.5/okular/ui/pageview.cpp:2331
#32 0x00007fcca10eb5b0 in QAbstractScrollArea::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQtGui.so.4
#33 0x00007fcc9206fc93 in PageView::qt_metacall (this=0x7a9f10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffee473680) at /usr/src/debug/kdegraphics-4.6.5/build/okular/pageview.moc:158
#34 0x00007fcca02e2e8f in QMetaObject::activate (sender=0x7f49d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffee473680) at kernel/qobject.cpp:3287
#35 0x00007fcca12e172e in QAbstractSlider::valueChanged(int) () from /usr/lib64/libQtGui.so.4
#36 0x00007fcc920724cd in PageView::notifyViewportChanged (this=0x7a9f10, smoothMove=false) at /usr/src/debug/kdegraphics-4.6.5/okular/ui/pageview.cpp:925
#37 0x00007fcc91d485e3 in Okular::Document::setViewport (this=0x789de0, viewport=..., excludeId=-1, smoothMove=false) at /usr/src/debug/kdegraphics-4.6.5/okular/core/document.cpp:2478
#38 0x00007fcc91d54eea in Okular::Document::openDocument (this=0x789de0, docFile=<value optimized out>, url=<value optimized out>, _mime=<value optimized out>) at /usr/src/debug/kdegraphics-4.6.5/okular/core/document.cpp:1679
#39 0x00007fcc9202386a in Okular::Part::openFile (this=0x767f00) at /usr/src/debug/kdegraphics-4.6.5/okular/part.cpp:955
#40 0x00007fcca2242a20 in ?? () from /usr/lib64/libkparts.so.4
#41 0x00007fcca2243076 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib64/libkparts.so.4
#42 0x00007fcc9201c420 in Okular::Part::openUrl (this=0x767f00, _url=<value optimized out>) at /usr/src/debug/kdegraphics-4.6.5/okular/part.cpp:1076
#43 0x00000000004094da in Shell::openUrl (this=0x74d0d0, url=...) at /usr/src/debug/kdegraphics-4.6.5/okular/shell/shell.cpp:134
#44 0x000000000040b08c in Shell::qt_metacall (this=0x74d0d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x9be6b0) at /usr/src/debug/kdegraphics-4.6.5/build/okular/shell/shell.moc:94
#45 0x00007fcca02e27aa in QObject::event (this=0x74d0d0, e=<value optimized out>) at kernel/qobject.cpp:1226
#46 0x00007fcca0cc17cd in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#47 0x00007fcca108398b in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#48 0x00007fcca1981133 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#49 0x00007fcca0c70264 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#50 0x00007fcca0c7881a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#51 0x00007fcca18d8346 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#52 0x00007fcca02ce7cc in QCoreApplication::notifyInternal (this=0x7fffee475430, receiver=0x74d0d0, event=0x9be9c0) at kernel/qcoreapplication.cpp:787
#53 0x00007fcca02d1fc5 in sendEvent (receiver=0x0, event_type=0, data=0x614050) at kernel/qcoreapplication.h:215
#54 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x614050) at kernel/qcoreapplication.cpp:1428
#55 0x00007fcca02f9443 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#56 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#57 0x00007fcc9c4a2bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#58 0x00007fcc9c4a33b0 in ?? () from /lib64/libglib-2.0.so.0
#59 0x00007fcc9c4a3650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#60 0x00007fcca02f95df in QEventDispatcherGlib::processEvents (this=0x619b00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#61 0x00007fcca0d161ae in ?? () from /usr/lib64/libQtGui.so.4
#62 0x00007fcca02cdc22 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#63 0x00007fcca02cde35 in QEventLoop::exec (this=0x7fffee475380, flags=...) at kernel/qeventloop.cpp:201
#64 0x00007fcca02d227b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#65 0x0000000000408909 in main (argc=6, argv=0x7fffee475b18) at /usr/src/debug/kdegraphics-4.6.5/okular/shell/main.cpp:85

Reported using DrKonqi
Comment 1 Albert Astals Cid 2011-09-28 13:39:45 UTC
Which poppler version are you running?
Comment 2 Lucas Linard 2011-09-28 14:26:23 UTC
0.12.5

2011/9/28 Albert Astals Cid <tsdgeos@terra.es>:
> https://bugs.kde.org/show_bug.cgi?id=282970
>
>
>
>
>
> --- Comment #1 from Albert Astals Cid <tsdgeos terra es>  2011-09-28 13:39:45 ---
> Which poppler version are you running?
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 3 Albert Astals Cid 2011-09-28 16:17:17 UTC
Poppler 0.12.5 does not exist. That might be your okular version, but that is not what i asked. Can you please tell me your poppler version?
Comment 4 Lucas Linard 2011-09-28 16:24:52 UTC
Is it libpopler7?
if so, it is 0.14.4-6.1-x86_64
Comment 5 Albert Astals Cid 2011-09-28 20:47:36 UTC
0.14.4 is pretty old, but it should not be crashing there. Can you reproduce the crash? I.e. does opening the same file over and over end up crashing sometime? Does that happen with only one file or with any file you use?
Comment 6 Fabio D'Urso 2014-05-08 14:24:16 UTC
Closing because it works here and libpoppler has changed a lot since 2011. Please reopen this bug if you can reproduce it with newer poppler versions.
Thanks for caring about Okular :)