Bug 275445 - Opening a particular PDF crashes Okular
Summary: Opening a particular PDF crashes Okular
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.12.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-12 07:35 UTC by Fayaz Yusuf Khan
Modified: 2011-07-10 20:35 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (5.23 KB, text/plain)
2011-06-28 21:33 UTC, Chris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fayaz Yusuf Khan 2011-06-12 07:35:44 UTC
Application: okular (0.12.1)
KDE Platform Version: 4.6.4 (4.6.4)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic-pae i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I was trying to open this file: http://rapidshare.com/files/192299816/Laurene_Fausett_-_Fundamentals_of_neural_networks.rar

- Custom settings of the application:
This has been happening ever since I upgraded my KDE to 4.6.4 from the ppa-kubuntu

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#7  0xb0639356 in Poppler::Page::orientation (this=0x0) at poppler-page.cc:524
#8  0xb06393b8 in Poppler::Page::pageSizeF (this=0x0) at poppler-page.cc:509
#9  0xb069796d in PDFGenerator::loadPages (this=0x9b9ca48, pagesVector=..., rotation=0, clear=false) at ../../../../okular/generators/poppler/generator_pdf.cpp:477
#10 0xb0698326 in PDFGenerator::init (this=0x9b9ca48, pagesVector=..., walletKey=...) at ../../../../okular/generators/poppler/generator_pdf.cpp:435
#11 0xb06999c4 in PDFGenerator::loadDocument (this=0x9b9ca48, filePath=..., pagesVector=...) at ../../../../okular/generators/poppler/generator_pdf.cpp:331
#12 0xb2c8861a in Okular::DocumentPrivate::openDocumentInternal (this=0x9948640, offer=..., isstdin=false, docFile=..., filedata=...) at ../../okular/core/document.cpp:674
#13 0xb2c90576 in Okular::Document::openDocument (this=0x9942d98, docFile=..., url=..., _mime=...) at ../../okular/core/document.cpp:1632
#14 0xb2d26e0b in Okular::Part::openFile (this=0x98e7878) at ../../okular/part.cpp:955
#15 0xb774e7f4 in KParts::ReadOnlyPartPrivate::openLocalFile (this=0x98e79d0) at ../../kparts/part.cpp:592
#16 0xb774eec2 in KParts::ReadOnlyPart::openUrl (this=0x98e7878, url=...) at ../../kparts/part.cpp:556
#17 0xb2d1f2d8 in Okular::Part::openUrl (this=0x98e7878, _url=...) at ../../okular/part.cpp:1076
#18 0x0804f3f2 in Shell::openUrl (this=0x988c428, url=...) at ../../../okular/shell/shell.cpp:133
#19 0x0804f508 in Shell::delayedOpen (this=0x988c428) at ../../../okular/shell/shell.cpp:116
#20 0x08051003 in Shell::qt_metacall (this=0x988c428, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x9c62e50) at ./shell.moc:94
#21 0xb630d6ba in QMetaObject::metacall (object=0x988c428, cl=QMetaObject::InvokeMetaMethod, idx=57, argv=0x9c62e50) at kernel/qmetaobject.cpp:237
#22 0xb6317e16 in QMetaCallEvent::placeMetaCall (this=0x9c64d08, object=0x988c428) at kernel/qobject.cpp:535
#23 0xb631c3b7 in QObject::event (this=0x988c428, e=0x9c64d08) at kernel/qobject.cpp:1226
#24 0xb683bb62 in QWidget::event (this=0x988c428, event=0x9c64d08) at kernel/qwidget.cpp:8718
#25 0xb6c4aa97 in QMainWindow::event (this=0x988c428, event=0x9c64d08) at widgets/qmainwindow.cpp:1480
#26 0xb73f13ec in KMainWindow::event (this=0x988c428, ev=0x9c64d08) at ../../kdeui/widgets/kmainwindow.cpp:1100
#27 0xb7431c8f in KXmlGuiWindow::event (this=0x988c428, ev=0x9c64d08) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#28 0xb67e3d24 in QApplicationPrivate::notify_helper (this=0x9817918, receiver=0x988c428, e=0x9c64d08) at kernel/qapplication.cpp:4462
#29 0xb67e897b in QApplication::notify (this=0xbfef6c8c, receiver=0x988c428, e=0x9c64d08) at kernel/qapplication.cpp:4427
#30 0xb731636a in KApplication::notify (this=0xbfef6c8c, receiver=0x988c428, event=0x9c64d08) at ../../kdeui/kernel/kapplication.cpp:311
#31 0xb63070bb in QCoreApplication::notifyInternal (this=0xbfef6c8c, receiver=0x988c428, event=0x9c64d08) at kernel/qcoreapplication.cpp:731
#32 0xb630ac79 in sendEvent (receiver=0x0, event_type=0, data=0x97dff50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x97dff50) at kernel/qcoreapplication.cpp:1372
#34 0xb630ae0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#35 0xb63343c4 in sendPostedEvents (s=0x9819ed0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#36 postEventSourceDispatch (s=0x9819ed0) at kernel/qeventdispatcher_glib.cpp:277
#37 0xb57abaa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0xb57ac270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0xb57ac524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#40 0xb633453c in QEventDispatcherGlib::processEvents (this=0x97dfaa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#41 0xb6897775 in QGuiEventDispatcherGlib::processEvents (this=0x97dfaa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0xb6306289 in QEventLoop::processEvents (this=0xbfef6b24, flags=...) at kernel/qeventloop.cpp:149
#43 0xb6306522 in QEventLoop::exec (this=0xbfef6b24, flags=...) at kernel/qeventloop.cpp:201
#44 0xb630aecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#45 0xb67e18e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#46 0x0804e6d8 in main (argc=-515396076, argv=0x407c147a) at ../../../okular/shell/main.cpp:85

Possible duplicates by query: bug 221896, bug 211381, bug 207601, bug 198610.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2011-06-12 12:53:52 UTC
Are you sure you are running full KDE 4.6.4? Okular 0.12.1 is older than that.
Comment 2 Fayaz Yusuf Khan 2011-06-13 18:28:42 UTC
I've checked and double-checked. I am using http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu/pool/main/k/kdegraphics/okular_4.6.4-0ubuntu1~ppa2_i386.deb this thing. And it's version 0.12.1 only. What version was I supposed to get?
Comment 3 Albert Astals Cid 2011-06-13 20:20:58 UTC
0.12.4
Comment 4 Fayaz Yusuf Khan 2011-06-14 16:12:01 UTC
So, it seems that the tag had simply been misplaced.
Comment 5 Albert Astals Cid 2011-06-14 19:54:27 UTC
Wops, you are right, seems the 4.6.4 kdegraphics tarballs contain the wrong okular code, i'll investigate how that happened.
Comment 6 Chris 2011-06-28 21:33:05 UTC
Created attachment 61430 [details]
New crash information added by DrKonqi

okular (0.12.1) on KDE Platform 4.6.4 (4.6.4) using Qt 4.7.2

- What I was doing when the application crashed:

Used pdflatex on document which was opened in okular, normally okular reloads the
document without problems, sometimes okular crashes.

-- Backtrace (Reduced):
#5  0xb0310f96 in Poppler::Page::orientation (this=0x0) at /mnt/data/tmp/paludis/app-text-poppler-0.16.5/work/poppler-0.16.5/qt4/src/poppler-page.cc:525
#6  0xb0310ff9 in Poppler::Page::pageSizeF (this=0x0) at /mnt/data/tmp/paludis/app-text-poppler-0.16.5/work/poppler-0.16.5/qt4/src/poppler-page.cc:509
#7  0xb0686f90 in PDFGenerator::loadPages (this=0x8e1c228, pagesVector=..., rotation=0, clear=false) at /mnt/data/tmp/paludis/kde-base-okular-4.6.4/work/okular-4.6.4/okular/generators/poppler/generator_pdf.cpp:477
#8  0xb06895a5 in PDFGenerator::init (this=0x8e1c228, pagesVector=..., walletKey=...) at /mnt/data/tmp/paludis/kde-base-okular-4.6.4/work/okular-4.6.4/okular/generators/poppler/generator_pdf.cpp:435
#9  0xb0689825 in PDFGenerator::loadDocument (this=0x8e1c228, filePath=..., pagesVector=...) at /mnt/data/tmp/paludis/kde-base-okular-4.6.4/work/okular-4.6.4/okular/generators/poppler/generator_pdf.cpp:331
Comment 7 Albert Astals Cid 2011-07-10 20:35:40 UTC
Please try with KDE 4.6.5 that should contain a proper Okular again. Reopen the bug if it still happens.