Bug 223359 - Crash on PDF (possibly corrupt) generated by Prince containing SVG
Summary: Crash on PDF (possibly corrupt) generated by Prince containing SVG
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-19 01:23 UTC by joel.hoffman
Modified: 2010-01-21 22:38 UTC (History)
0 users

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


Attachments
PDF causing Okular to crash (121.73 KB, application/pdf)
2010-01-19 01:25 UTC, joel.hoffman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description joel.hoffman 2010-01-19 01:23:35 UTC
Application that crashed: okular
Version of the application: 0.9.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-16-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Okular 0.9.2 distributed with Kubuntu 9.10 loads this PDF and briefly displays part of it, but crashes instantly or very quickly, not always at the same time.

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

Thread 2 (Thread 0x7fe7cd953910 (LWP 6540)):
[KCrash Handler]
#5  0x00007fe7ce4d1206 in SampledFunction::transform(double*, double*) () from /usr/lib/libpoppler.so.5
#6  0x00007fe7ce4f7869 in GfxRadialShading::getColor(double, GfxColor*) () from /usr/lib/libpoppler.so.5
#7  0x00007fe7ce4e0313 in Gfx::doRadialShFill(GfxRadialShading*) () from /usr/lib/libpoppler.so.5
#8  0x00007fe7ce4e0b3b in Gfx::doShadingPatternFill(GfxShadingPattern*, int, int) () from /usr/lib/libpoppler.so.5
#9  0x00007fe7ce4e33fa in Gfx::opFill(Object*, int) () from /usr/lib/libpoppler.so.5
#10 0x00007fe7ce4d9d7f in Gfx::go(int) () from /usr/lib/libpoppler.so.5
#11 0x00007fe7ce4ddf04 in Gfx::display(Object*, int) () from /usr/lib/libpoppler.so.5
#12 0x00007fe7ce525660 in Page::displaySlice(OutputDev*, double, double, int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*, int (*)(Annot*, void*), void*) ()
   from /usr/lib/libpoppler.so.5
#13 0x00007fe7ce83c89b in Poppler::Page::renderToImage(double, double, int, int, int, int, Poppler::Page::Rotation) const () from /usr/lib/libpoppler-qt4.so.3
#14 0x00007fe7cea9f858 in ?? () from /usr/lib/kde4/okularGenerator_poppler.so
#15 0x00007fe7dabff445 in ?? () from /usr/lib/libQtCore.so.4
#16 0x00007fe7d6359a04 in start_thread () from /lib/libpthread.so.0
#17 0x00007fe7d9a4d7bd in clone () from /lib/libc.so.6
#18 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe7dc5e9750 (LWP 6537)):
#0  0x00007fe7d9a41373 in poll () from /lib/libc.so.6
#1  0x00007fe7d4e6729a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fe7d4e68c2c in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#3  0x00007fe7d8a07f23 in _XReply () from /usr/lib/libX11.so.6
#4  0x00007fe7d89e47f5 in XGetImage () from /usr/lib/libX11.so.6
#5  0x00007fe7da25d5ee in QX11PixmapData::toImage() const () from /usr/lib/libQtGui.so.4
#6  0x00007fe7da24d38d in QPixmap::toImage() const () from /usr/lib/libQtGui.so.4
#7  0x00007fe7d1eb7dcb in ?? () from /usr/lib/kde4/okularpart.so
#8  0x00007fe7d1ebc5fb in ?? () from /usr/lib/kde4/okularpart.so
#9  0x00007fe7d1ec9ee3 in ?? () from /usr/lib/kde4/okularpart.so
#10 0x00007fe7d1ecad42 in ?? () from /usr/lib/kde4/okularpart.so
#11 0x00007fe7da1dc7a0 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007fe7d1ed8c8d in ?? () from /usr/lib/kde4/okularpart.so
#13 0x00007fe7da18defc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x00007fe7da1951ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#15 0x00007fe7db8f9ab6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#16 0x00007fe7dace5c2c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#17 0x00007fe7da1e3b93 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#18 0x00007fe7da1e42f0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#19 0x00007fe7da1e3803 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#20 0x00007fe7da1e42f0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#21 0x00007fe7da1e4204 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#22 0x00007fe7da1e4204 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#23 0x00007fe7da1e3803 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#24 0x00007fe7da1e42f0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#25 0x00007fe7da1e3803 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#26 0x00007fe7da1e42f0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#27 0x00007fe7da1e3803 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#28 0x00007fe7da1e42f0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#29 0x00007fe7da1e3803 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#30 0x00007fe7da1e42f0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#31 0x00007fe7da1e3803 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#32 0x00007fe7da355e1e in ?? () from /usr/lib/libQtGui.so.4
#33 0x00007fe7da1d5fa0 in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4
#34 0x00007fe7da1dc5b8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#35 0x00007fe7da5529db in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#36 0x00007fe7dba05773 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#37 0x00007fe7da18defc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#38 0x00007fe7da1951ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#39 0x00007fe7db8f9ab6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#40 0x00007fe7dace5c2c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#41 0x00007fe7dace680a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#42 0x00007fe7dad0e533 in ?? () from /usr/lib/libQtCore.so.4
#43 0x00007fe7d65aabbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#44 0x00007fe7d65ae588 in ?? () from /lib/libglib-2.0.so.0
#45 0x00007fe7d65ae6b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#46 0x00007fe7dad0e1a6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#47 0x00007fe7da2224be in ?? () from /usr/lib/libQtGui.so.4
#48 0x00007fe7dace4532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#49 0x00007fe7dace4904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#50 0x00007fe7dace6ab9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#51 0x000000000040881c in _start ()

Reported using DrKonqi
Comment 1 joel.hoffman 2010-01-19 01:25:13 UTC
Created attachment 40022 [details]
PDF causing Okular to crash
Comment 2 Pino Toscano 2010-01-19 01:32:23 UTC
Do you get the same crash everytime?
Which version of the poppler library do you have?
Comment 3 joel.hoffman 2010-01-19 01:37:11 UTC
Yes, the crash always seems to be in the same function.  I have libpoppler version 0.12.0-0ubuntu2.1 as distributed with ubuntu 9.10.
Comment 4 Pino Toscano 2010-01-19 01:54:06 UTC
Works fine here with poppler 0.12.2.
Please ask to yous distro for updated poppler packages.
Comment 5 Albert Astals Cid 2010-01-21 22:38:56 UTC
Actually Pino was wrong and it was an actual bug in poppler, will be fixed in poppler 0.12.4