Bug 265535 - Okular Crash when trying to open pdf
Summary: Okular Crash when trying to open pdf
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 280330 283640 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-05 17:59 UTC by Artur Souza (MoRpHeUz)
Modified: 2011-10-09 22:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.82 KB, text/plain)
2011-05-09 22:51 UTC, lynx
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Artur Souza (MoRpHeUz) 2011-02-05 17:59:05 UTC
Application: okular (0.11.80)
KDE Platform Version: 4.6.41 (4.7 >= 20110106) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.36-custom i686

-- Information about the crash:
- What I was doing when the application crashed:

Tried to open the pdf http://www.saude.sp.gov.br/resources/profissional/documentos_tecnicos/informes_tecnicos/manual_de_controle_das_dsts-2006.pdf
and then okular just crashes. The PDF opens ok with acroread.

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb259eb70 (LWP 8266)):
[KCrash Handler]
#6  0xb26cb260 in Splash::blitTransparent(SplashBitmap*, int, int, int, int, int, int) () from /usr/lib/libpoppler.so.7
#7  0xb25f4aa1 in SplashOutputDev::beginTransparencyGroup(GfxState*, double*, GfxColorSpace*, int, int, int) () from /usr/lib/libpoppler.so.7
#8  0xb2639403 in Gfx::doForm1(Object*, Dict*, double*, double*, int, int, GfxColorSpace*, int, int, int, Function*, GfxColor*) () from /usr/lib/libpoppler.so.7
#9  0xb263a7c9 in Gfx::doForm(Object*) () from /usr/lib/libpoppler.so.7
#10 0xb263cde4 in Gfx::opXObject(Object*, int) () from /usr/lib/libpoppler.so.7
#11 0xb2632b95 in Gfx::execOp(Object*, Object*, int) () from /usr/lib/libpoppler.so.7
#12 0xb2638a9d in Gfx::go(int) () from /usr/lib/libpoppler.so.7
#13 0xb2638f95 in Gfx::display(Object*, int) () from /usr/lib/libpoppler.so.7
#14 0xb2672b8b 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.7
#15 0xb2674b29 in PDFDoc::displayPageSlice(OutputDev*, int, double, double, int, int, int, int, int, int, int, int, int (*)(void*), void*, int (*)(Annot*, void*), void*) () from /usr/lib/libpoppler.so.7
#16 0xb277dea2 in Poppler::Page::renderToImage(double, double, int, int, int, int, Poppler::Page::Rotation) const () from /usr/lib/libpoppler-qt4.so.3
#17 0xb27fde57 in PDFPixmapGeneratorThread::run() () from /usr/local/kde4/lib/kde4/okularGenerator_poppler.so
#18 0xb5cfc2c5 in QThreadPrivate::start (arg=0x958f688) at /work/projects/qt/src/corelib/thread/qthread_unix.cpp:320
#19 0xb5c41c04 in start_thread () from /lib/libpthread.so.0
#20 0xb58ab48e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4e53970 (LWP 8260)):
#0  0xb5c46732 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb5cfba4c in QMutexPrivate::wait (this=0x9611868, timeout=-1) at /work/projects/qt/src/corelib/thread/qmutex_unix.cpp:84
#2  0xb5cf6403 in QMutex::lock (this=0x96085d8) at /work/projects/qt/src/corelib/thread/qmutex.cpp:204
#3  0xb27fbcd9 in PDFGenerator::metaData(QString const&, QVariant const&) const () from /usr/local/kde4/lib/kde4/okularGenerator_poppler.so
#4  0xb3e668c2 in Okular::Document::openDocument(QString const&, KUrl const&, KSharedPtr<KMimeType> const&) () from /usr/local/kde4/lib/libokularcore.so.1
#5  0xb3edfda8 in Okular::Part::openFile() () from /usr/local/kde4/lib/kde4/okularpart.so
#6  0xb784ea14 in KParts::ReadOnlyPartPrivate::openLocalFile (this=0x93778e8) at /usr/local/kde4/src/KDE/kdelibs/kparts/part.cpp:592
#7  0xb784e68a in KParts::ReadOnlyPart::openUrl (this=0x93b0ab0, url=...) at /usr/local/kde4/src/KDE/kdelibs/kparts/part.cpp:556
#8  0xb3ed83d5 in Okular::Part::openUrl(KUrl const&) () from /usr/local/kde4/lib/kde4/okularpart.so
#9  0x0804f3ce in Shell::openUrl(KUrl const&) ()
#10 0x0804f503 in Shell::delayedOpen() ()
#11 0x08050f4c in Shell::qt_metacall(QMetaObject::Call, int, void**) ()
#12 0xb5e11b38 in QMetaObject::metacall (object=0x9315e40, cl=QMetaObject::InvokeMetaMethod, idx=57, argv=0x9529ed8) at /work/projects/qt/src/corelib/kernel/qmetaobject.cpp:237
#13 0xb5e20343 in QMetaCallEvent::placeMetaCall (this=0x952b488, object=0x9315e40) at /work/projects/qt/src/corelib/kernel/qobject.cpp:535
#14 0xb5e2152c in QObject::event (this=0x9315e40, e=0x952b488) at /work/projects/qt/src/corelib/kernel/qobject.cpp:1217
#15 0xb647fd25 in QWidget::event (this=0x9315e40, event=0x952b488) at /work/projects/qt/src/gui/kernel/qwidget.cpp:8714
#16 0xb690b7cd in QMainWindow::event (this=0x9315e40, event=0x952b488) at /work/projects/qt/src/gui/widgets/qmainwindow.cpp:1480
#17 0xb72124dd in KMainWindow::event (this=0x9315e40, ev=0x952b488) at /usr/local/kde4/src/KDE/kdelibs/kdeui/widgets/kmainwindow.cpp:1100
#18 0xb7253bab in KXmlGuiWindow::event (this=0x9315e40, ev=0x952b488) at /usr/local/kde4/src/KDE/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:126
#19 0xb641d799 in QApplicationPrivate::notify_helper (this=0x92d7dc0, receiver=0x9315e40, e=0x952b488) at /work/projects/qt/src/gui/kernel/qapplication.cpp:4462
#20 0xb641d4ab in QApplication::notify (this=0xbfcf5be0, receiver=0x9315e40, e=0x952b488) at /work/projects/qt/src/gui/kernel/qapplication.cpp:4427
#21 0xb713faaa in KApplication::notify (this=0xbfcf5be0, receiver=0x9315e40, event=0x952b488) at /usr/local/kde4/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#22 0xb5e0a177 in QCoreApplication::notifyInternal (this=0xbfcf5be0, receiver=0x9315e40, event=0x952b488) at /work/projects/qt/src/corelib/kernel/qcoreapplication.cpp:731
#23 0xb640ebec in QCoreApplication::sendEvent (receiver=0x9315e40, event=0x952b488) at ../../include/QtCore/../../../../qt/src/corelib/kernel/qcoreapplication.h:215
#24 0xb5e0b23c in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x92c3878) at /work/projects/qt/src/corelib/kernel/qcoreapplication.cpp:1372
#25 0xb5e0aee8 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /work/projects/qt/src/corelib/kernel/qcoreapplication.cpp:1265
#26 0xb64dcbd9 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../qt/src/corelib/kernel/qcoreapplication.h:220
#27 0xb5e3ec08 in postEventSourceDispatch (s=0x92da188) at /work/projects/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#28 0xb517a892 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0xb517b070 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0xb517b324 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0xb5e3f44a in QEventDispatcherGlib::processEvents (this=0x92d7d80, flags=...) at /work/projects/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:422
#32 0xb64e7ce1 in QGuiEventDispatcherGlib::processEvents (this=0x92d7d80, flags=...) at /work/projects/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#33 0xb5e07e06 in QEventLoop::processEvents (this=0xbfcf5b2c, flags=...) at /work/projects/qt/src/corelib/kernel/qeventloop.cpp:149
#34 0xb5e07f3a in QEventLoop::exec (this=0xbfcf5b2c, flags=...) at /work/projects/qt/src/corelib/kernel/qeventloop.cpp:201
#35 0xb5e0a872 in QCoreApplication::exec () at /work/projects/qt/src/corelib/kernel/qcoreapplication.cpp:1008
#36 0xb641accb in QApplication::exec () at /work/projects/qt/src/gui/kernel/qapplication.cpp:3736
#37 0x0804ea79 in main ()

Reported using DrKonqi
Comment 1 Pino Toscano 2011-02-05 18:20:26 UTC
Hi Arthur!

The crash happens in the Poppler library (crashes even master), so you should please report the issue to the Poppler's bug tracking system, i.e. https://bugs.freedesktop.org, "poppler" product.
Comment 2 Artur Souza (MoRpHeUz) 2011-02-05 23:02:23 UTC
Thanks a lot Pino!
Bug reported: https://bugs.freedesktop.org//show_bug.cgi?id=33948

Cheers!
Comment 3 lynx 2011-05-09 22:51:11 UTC
Created attachment 59817 [details]
New crash information added by DrKonqi

okular (0.12.2) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.0

- What I was doing when the application crashed: i just try to open pdf file. I had amarok open

-- Backtrace (Reduced):
#6  Splash::blitTransparent (this=0x7f5048000b90, src=0x2223a90, xSrc=<value optimized out>, ySrc=1301, xDest=<value optimized out>, yDest=0, w=1, h=1) at Splash.cc:3243
#7  0x00007f504e3ec84c in SplashOutputDev::beginTransparencyGroup (this=0x222c400, state=0x7f5048002800, bbox=<value optimized out>, blendingColorSpace=<value optimized out>, isolated=<value optimized out>) at SplashOutputDev.cc:2936
#8  0x00007f504e433aba in Gfx::doForm1 (this=0x22320c0, str=0x7f504e369760, resDict=<value optimized out>, matrix=<value optimized out>, bbox=0x7f504e369650, transpGroup=1, softMask=0, blendingColorSpace=0x7f5048002110, isolated=0, knockout=0, alpha=0, transferFunc=0x0, backdropColor=0x0) at Gfx.cc:4342
#9  0x00007f504e43f458 in Gfx::doForm (this=0x22320c0, str=0x7f504e369760) at Gfx.cc:4280
#10 0x00007f504e43f895 in Gfx::opXObject (this=0x22320c0, args=<value optimized out>, numArgs=<value optimized out>) at Gfx.cc:3789
Comment 4 Albert Astals Cid 2011-08-18 10:51:35 UTC
*** Bug 280330 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2011-10-09 22:34:23 UTC
*** Bug 283640 has been marked as a duplicate of this bug. ***