Bug 282822 - Okular crashed
Summary: Okular crashed
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.12.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-26 16:18 UTC by Piotr L
Modified: 2011-09-27 00:22 UTC (History)
0 users

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


Attachments
poppler (175.19 KB, image/png)
2011-09-26 22:13 UTC, Piotr L
Details
pdf (220.55 KB, application/pdf)
2011-09-26 22:13 UTC, Piotr L
Details
valgrind (15.67 KB, text/plain)
2011-09-26 22:46 UTC, Piotr L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr L 2011-09-26 16:18:22 UTC
Application: okular (0.12.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
Okular crashed (Segmentation fault) when I opened pdf file

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#7  __libc_free (mem=0xfab255e8) at malloc.c:3709
#8  0x02998c81 in gfree (p=0xfab255e8) at gmem.cc:290
#9  0x02996c74 in GooString::~GooString (this=0x29549da, __in_chrg=<value optimized out>) at GooString.cc:241
#10 0x0295b007 in Object::free (this=0x9539520) at Object.cc:126
#11 0x02955d84 in Linearization::Linearization (this=0x9514990, str=0x9539808) at Linearization.cc:29
#12 0x02960d6e in PDFDoc::getLinearization (this=0x9551cc8) at PDFDoc.cc:491
#13 0x02960dc8 in PDFDoc::isLinearized (this=0x9551cc8) at PDFDoc.cc:498
#14 0x02961e60 in PDFDoc::getStartXRef (this=0x9551cc8) at PDFDoc.cc:1075
#15 0x02962f44 in PDFDoc::setup (this=0x9551cc8, ownerPassword=0x953af38, userPassword=0x913f438) at PDFDoc.cc:245
#16 0x029632a7 in PDFDoc::PDFDoc (this=0x9551cc8, fileNameA=0x953b7e0, ownerPassword=0x953af38, userPassword=0x913f438, guiDataA=0x0) at PDFDoc.cc:153
#17 0x03342280 in DocumentData (filePath=..., ownerPassword=..., userPassword=...) at poppler-private.h:78
#18 Poppler::Document::load (filePath=..., ownerPassword=..., userPassword=...) at poppler-document.cc:55
#19 0x03c2ec6c in PDFGenerator::loadDocument (this=0x9550fa0, filePath=..., pagesVector=...) at ../../../../okular/generators/poppler/generator_pdf.cpp:332
#20 0x01c6561a in Okular::DocumentPrivate::openDocumentInternal (this=0x922bdb8, offer=..., isstdin=false, docFile=..., filedata=...) at ../../okular/core/document.cpp:674
#21 0x01c6d576 in Okular::Document::openDocument (this=0x92223e0, docFile=..., url=..., _mime=...) at ../../okular/core/document.cpp:1632
#22 0x01b84e0b in Okular::Part::openFile (this=0x91c31f8) at ../../okular/part.cpp:955
#23 0x008147f4 in KParts::ReadOnlyPartPrivate::openLocalFile (this=0x91ce520) at ../../kparts/part.cpp:592
#24 0x00814ec2 in KParts::ReadOnlyPart::openUrl (this=0x91c31f8, url=...) at ../../kparts/part.cpp:556
#25 0x01b7d2d8 in Okular::Part::openUrl (this=0x91c31f8, _url=...) at ../../okular/part.cpp:1076
#26 0x0804f3f2 in Shell::openUrl (this=0x9132d98, url=...) at ../../../okular/shell/shell.cpp:133
#27 0x0804f508 in Shell::delayedOpen (this=0x9132d98) at ../../../okular/shell/shell.cpp:116
#28 0x08051003 in Shell::qt_metacall (this=0x9132d98, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x94ecfe8) at ./shell.moc:94
#29 0x01fea6ba in QMetaObject::metacall (object=0x9132d98, cl=QMetaObject::InvokeMetaMethod, idx=57, argv=0x94ecfe8) at kernel/qmetaobject.cpp:237
#30 0x01ff4e16 in QMetaCallEvent::placeMetaCall (this=0x94ca718, object=0x9132d98) at kernel/qobject.cpp:535
#31 0x01ff93b7 in QObject::event (this=0x9132d98, e=0x94ca718) at kernel/qobject.cpp:1226
#32 0x00e69b62 in QWidget::event (this=0x9132d98, event=0x94ca718) at kernel/qwidget.cpp:8718
#33 0x0127b527 in QMainWindow::event (this=0x9132d98, event=0x94ca718) at widgets/qmainwindow.cpp:1480
#34 0x00af72bc in KMainWindow::event (this=0x9132d98, ev=0x94ca718) at ../../kdeui/widgets/kmainwindow.cpp:1100
#35 0x00b37b5f in KXmlGuiWindow::event (this=0x9132d98, ev=0x94ca718) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#36 0x00e11d24 in QApplicationPrivate::notify_helper (this=0x90cdd48, receiver=0x9132d98, e=0x94ca718) at kernel/qapplication.cpp:4462
#37 0x00e1697b in QApplication::notify (this=0xbf8c2afc, receiver=0x9132d98, e=0x94ca718) at kernel/qapplication.cpp:4427
#38 0x00a1c3ca in KApplication::notify (this=0xbf8c2afc, receiver=0x9132d98, event=0x94ca718) at ../../kdeui/kernel/kapplication.cpp:311
#39 0x01fe40bb in QCoreApplication::notifyInternal (this=0xbf8c2afc, receiver=0x9132d98, event=0x94ca718) at kernel/qcoreapplication.cpp:731
#40 0x01fe7c79 in sendEvent (receiver=0x0, event_type=0, data=0x9096f38) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9096f38) at kernel/qcoreapplication.cpp:1372
#42 0x01fe7e0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#43 0x020113c4 in sendPostedEvents (s=0x90d0900) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#44 postEventSourceDispatch (s=0x90d0900) at kernel/qeventdispatcher_glib.cpp:277
#45 0x067bcaa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#46 0x067bd270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#47 0x067bd524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#48 0x0201153c in QEventDispatcherGlib::processEvents (this=0x9096a90, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#49 0x00ec81e5 in QGuiEventDispatcherGlib::processEvents (this=0x9096a90, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x01fe3289 in QEventLoop::processEvents (this=0xbf8c2994, flags=...) at kernel/qeventloop.cpp:149
#51 0x01fe3522 in QEventLoop::exec (this=0xbf8c2994, flags=...) at kernel/qeventloop.cpp:201
#52 0x01fe7ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#53 0x00e0f8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#54 0x0804e6d8 in main (argc=0, argv=0x0) at ../../../okular/shell/main.cpp:85

Reported using DrKonqi
Comment 1 Albert Astals Cid 2011-09-26 17:29:26 UTC
Which poppler version are you using?

Can you attach the pdf file that produces the crash?
Comment 2 Piotr L 2011-09-26 22:13:03 UTC
Created attachment 63994 [details]
poppler
Comment 3 Piotr L 2011-09-26 22:13:35 UTC
Created attachment 63995 [details]
pdf
Comment 4 Albert Astals Cid 2011-09-26 22:33:35 UTC
I can not reproduce the crash using poppler 0.16.4, can you please run this in a shell
valgrind okular yourfile.pdf
and attach the resulting output?
Comment 5 Piotr L 2011-09-26 22:46:24 UTC
Created attachment 63996 [details]
valgrind
Comment 6 Albert Astals Cid 2011-09-26 23:55:01 UTC
I got someone running Ubuntu 11.04 to test that pdf and they can not reproduce the crash at all with the very same versions you have, are you sure you did not mess in any way installing a poppler yourself or some other strange thing?
Comment 7 Piotr L 2011-09-27 00:22:55 UTC
I'm not sure why but after "apt-get install --reinstall libpoppler13" this pdf is working, so poppler was maybe wrong installed or damaged.