Bug 33948 - Crash when trying to open pdf
Summary: Crash when trying to open pdf
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: splash backend (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-05 14:00 UTC by Artur Souza
Modified: 2011-11-23 21:37 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Maltese Arriva route map (804.46 KB, application/octet-stream)
2011-07-11 03:34 UTC, Robajz
Details

Description Artur Souza 2011-02-05 14:00:12 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 and the problem is in libpoppler.
Thanks!


-- 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 ()
Comment 1 Albert Astals Cid 2011-02-07 11:47:23 UTC
Will be fixed in next release.
Comment 2 Robajz 2011-07-11 03:34:22 UTC
Created attachment 48960 [details]
Maltese Arriva route map

This file caused my crash.

libpoppler7 0.14.3-0ubuntu1.2
okular 0.11.2 (4.5.5-0ubuntu2)
Comment 3 auxsvr 2011-11-23 06:14:50 UTC
This is still valid with libpoppler7-0.14.4. Are you sure it's fixed?
Comment 4 Albert Astals Cid 2011-11-23 14:53:15 UTC
Yes, i said "Will be fixed in next release." in 2011-02-07, according to http://poppler.freedesktop.org/releases.html the next release after that was poppler-0.16.3 so you are using a previous version.

Next time, before saying we are wrong, it'd be good if you check your facts.
Comment 5 auxsvr 2011-11-23 21:37:51 UTC
I never said you were wrong, I just thought that 0.14.4 was the next release you meant. Thanks for the clarification.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.