Bug 267522 - Crash when opening Okular with the following file
Summary: Crash when opening Okular with the following file
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: ODT backend (show other bugs)
Version: 0.12
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-03 01:38 UTC by Aleix Pol
Modified: 2011-03-17 20:29 UTC (History)
0 users

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


Attachments
Crashy file (14.07 KB, application/vnd.oasis.opendocument.text)
2011-03-03 21:28 UTC, Aleix Pol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aleix Pol 2011-03-03 01:38:07 UTC
Version:           0.12 (using KDE 4.6.0) 
OS:                Linux

I just ran it using Chromium

Reproducible: Always

Steps to Reproduce:
okular errors_java.odt

Actual Results:  
Crash

Expected Results:  
-.- not to crash...

Happens both with archlinux and trunk versions: here there's the backtrace for trunk.


Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#7  0xb65d9f9f in QTextLayout::boundingRect (this=0x0) at text/qtextlayout.cpp:858
#8  0xb662c0c2 in QTextDocumentLayout::blockBoundingRect (this=0x973e8a0, block=...) at text/qtextdocumentlayout.cpp:3157
#9  0xb3a4b571 in Okular::TextDocumentUtils::calculateBoundingRect (document=0x971e3b0, startPosition=651, endPosition=654, rect=..., page=@0xbfd10e80) at /home/kde-devel/kdegraphics/okular/core/textdocumentgenerator_p.h:35
#10 0xb3a4c172 in Okular::TextDocumentGeneratorPrivate::generateAnnotationInfos (this=0x9757e78) at /home/kde-devel/kdegraphics/okular/core/textdocumentgenerator.cpp:173
#11 0xb3a4c9c9 in Okular::TextDocumentGenerator::loadDocument (this=0x971bcd0, fileName=..., pagesVector=...) at /home/kde-devel/kdegraphics/okular/core/textdocumentgenerator.cpp:277
#12 0xb3a1f9c8 in Okular::DocumentPrivate::openDocumentInternal (this=0x95a9f78, offer=..., isstdin=false, docFile=..., filedata=...) at /home/kde-devel/kdegraphics/okular/core/document.cpp:674
#13 0xb3a253c7 in Okular::Document::openDocument (this=0x95a8510, docFile=..., url=..., _mime=...) at /home/kde-devel/kdegraphics/okular/core/document.cpp:1632
#14 0xb3ab9862 in Okular::Part::openFile (this=0x9586cf8) at /home/kde-devel/kdegraphics/okular/part.cpp:955
#15 0xb76f7f03 in KParts::ReadOnlyPartPrivate::openLocalFile (this=0x9576ce8) at /home/kde-devel/src/kdelibs/kparts/part.cpp:592
#16 0xb76f7b8a in KParts::ReadOnlyPart::openUrl (this=0x9586cf8, url=...) at /home/kde-devel/src/kdelibs/kparts/part.cpp:556
#17 0xb3aba70d in Okular::Part::openUrl (this=0x9586cf8, _url=...) at /home/kde-devel/kdegraphics/okular/part.cpp:1076
#18 0x0805058a in Shell::openUrl (this=0x95717a0, url=...) at /home/kde-devel/kdegraphics/okular/shell/shell.cpp:133
#19 0x080501f9 in Shell::delayedOpen (this=0x95717a0) at /home/kde-devel/kdegraphics/okular/shell/shell.cpp:116
#20 0x080515d0 in Shell::qt_metacall (this=0x95717a0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x95dead8) at /home/kde-devel/build-kdegraphics/okular/shell/shell.moc:94
#21 0xb5d2d12a in QMetaObject::metacall (object=0x95717a0, cl=QMetaObject::InvokeMetaMethod, idx=57, argv=0x95dead8) at kernel/qmetaobject.cpp:237
#22 0xb5d3b169 in QMetaCallEvent::placeMetaCall (this=0x96f6880, object=0x95717a0) at kernel/qobject.cpp:534
#23 0xb5d3c205 in QObject::event (this=0x95717a0, e=0x96f6880) at kernel/qobject.cpp:1219
#24 0xb6388087 in QWidget::event (this=0x95717a0, event=0x96f6880) at kernel/qwidget.cpp:8646
#25 0xb6807859 in QMainWindow::event (this=0x95717a0, event=0x96f6880) at widgets/qmainwindow.cpp:1417
#26 0xb70c9c5c in KMainWindow::event (this=0x95717a0, ev=0x96f6880) at /home/kde-devel/src/kdelibs/kdeui/widgets/kmainwindow.cpp:1100
#27 0xb710b2f9 in KXmlGuiWindow::event (this=0x95717a0, ev=0x96f6880) at /home/kde-devel/src/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:126
#28 0xb6326e82 in QApplicationPrivate::notify_helper (this=0x946fbc0, receiver=0x95717a0, e=0x96f6880) at kernel/qapplication.cpp:4397
#29 0xb6326bb8 in QApplication::notify (this=0xbfd122a4, receiver=0x95717a0, e=0x96f6880) at kernel/qapplication.cpp:4362
#30 0xb6ff484a in KApplication::notify (this=0xbfd122a4, receiver=0x95717a0, event=0x96f6880) at /home/kde-devel/src/kdelibs/kdeui/kernel/kapplication.cpp:311
#31 0xb5d25a97 in QCoreApplication::notifyInternal (this=0xbfd122a4, receiver=0x95717a0, event=0x96f6880) at kernel/qcoreapplication.cpp:732
#32 0xb6318bc1 in QCoreApplication::sendEvent (receiver=0x95717a0, event=0x96f6880) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 0xb5d26b30 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x94428b8) at kernel/qcoreapplication.cpp:1373
#34 0xb5d267ed in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#35 0xb63e2742 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#36 0xb5d59882 in postEventSourceDispatch (s=0x9471f78) at kernel/qeventdispatcher_glib.cpp:277
#37 0xb50c4b72 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#38 0xb50c5350 in ?? () from /usr/lib/libglib-2.0.so.0
#39 0xb50c5604 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#40 0xb5d5a02c in QEventDispatcherGlib::processEvents (this=0x9442368, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#41 0xb63ed8d8 in QGuiEventDispatcherGlib::processEvents (this=0x9442368, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0xb5d237f5 in QEventLoop::processEvents (this=0xbfd1224c, flags=...) at kernel/qeventloop.cpp:149
#43 0xb5d23939 in QEventLoop::exec (this=0xbfd1224c, flags=...) at kernel/qeventloop.cpp:201
#44 0xb5d26182 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#45 0xb6324360 in QApplication::exec () at kernel/qapplication.cpp:3673
#46 0x0804f2f8 in main (argc=2, argv=0xbfd123e4) at /home/kde-devel/kdegraphics/okular/shell/main.cpp:85
Comment 1 Albert Astals Cid 2011-03-03 21:21:45 UTC
Forgot to attach the file ;-)
Comment 2 Aleix Pol 2011-03-03 21:28:06 UTC
Created attachment 57656 [details]
Crashy file
Comment 3 Albert Astals Cid 2011-03-17 20:29:14 UTC
Not an Okular bug http://bugreports.qt.nokia.com/browse/QTBUG-18192