Summary: | KWord crash when opening a .doc file | ||
---|---|---|---|
Product: | [Applications] calligrawords | Reporter: | Emmanuel Lepage Vallée <emmanuel.lepage> |
Component: | doc | Assignee: | Matus Uzak <matus.uzak> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | inge, matus.uzak, swathi.vegesna999 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | A file crashing KWord2.3-svn, I don't own the file, so do not share it in non-debugging senario. |
Yes, the crash does exist. This is a filter problem. Re-assigned. Revision: 1201086 But the document looks very very bad in trunk. Crash is not there in the koffice trunk revision 1202323. |
Created attachment 49372 [details] A file crashing KWord2.3-svn, I don't own the file, so do not share it in non-debugging senario. Version: svn (using Devel) OS: Linux The attached file crash KWord on load. Reproducible: Always Steps to Reproduce: Open the attached file Actual Results: Segfault Expected Results: No segfault Application: KWord (kword), signal: Aborted Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2400.1-gdb.py", line 9, in <module> from gobject import register File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module> import gdb.backtrace ImportError: No module named backtrace [KCrash Handler] #6 0x00007f73524e8045 in raise () from /lib/libc.so.6 #7 0x00007f73524e92df in abort () from /lib/libc.so.6 #8 0x00007f735344fb94 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/qt4/libQtCore.so.4 #9 0x00007f735344fd49 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #10 0x00007f735344fef6 in qFatal(char const*, ...) () from /usr/lib64/qt4/libQtCore.so.4 #11 0x00007f7336c45f3f in QList<unsigned int>::operator[] (this=0x2945bc8, i=26) at /usr/include/qt4/QtCore/qlist.h:443 #12 0x00007f7336c45fee in wvWare::Headers97::findHeader (this=<value optimized out>, sectionNumber=4, mask=<value optimized out>) at /home/kde-devel/kde/src/koffice/filters/kword/msword-odf/wv2/src/headers97.cpp:41 #13 0x00007f7336c28a4f in wvWare::Parser9x::parseHeader (this=0x2932ac0, data=<value optimized out>, mask=2 '\002') at /home/kde-devel/kde/src/koffice/filters/kword/msword-odf/wv2/src/parser9x.cpp:1114 #14 0x00007f7336c28b48 in wvWare::Parser9x::parseHeaders (this=0x2932ac0, data=...) at /home/kde-devel/kde/src/koffice/filters/kword/msword-odf/wv2/src/parser9x.cpp:224 #15 0x00007f7336eef270 in Document::slotHeadersFound (this=<value optimized out>, functor=0x2967d30, data=0) at /home/kde-devel/kde/src/koffice/filters/kword/msword-odf/document.cpp:831 #16 0x00007f7336ef152d in Document::qt_metacall (this=0x2917e70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff27243600) at /home/kde-devel/kde/build/koffice/filters/kword/msword-odf/document.moc:101 #17 0x00007f735355dcb6 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #18 0x00007f7336efb740 in KWordTextHandler::headersFound (this=0x1162, _t1=0x2967d30, _t2=0) at /home/kde-devel/kde/build/koffice/filters/kword/msword-odf/texthandler.moc:151 #19 0x00007f7336efc0bf in KWordTextHandler::headersFound (this=0x2945d40, parseHeaders=...) at /home/kde-devel/kde/src/koffice/filters/kword/msword-odf/texthandler.cpp:274 #20 0x00007f7336c272de in wvWare::Parser9x::emitHeaderData (this=0x2932ac0, sep=) at /home/kde-devel/kde/src/koffice/filters/kword/msword-odf/wv2/src/parser9x.cpp:1024 #21 0x00007f7336c2db28 in wvWare::Parser9x::processPiece<unsigned short> (this=0x2932ac0, string=<value optimized out>, fc=2788, limit=5970, position=<value optimized out>) at /home/kde-devel/kde/src/koffice/filters/kword/msword-odf/wv2/src/parser9x.cpp:561 #22 0x00007f7336c2899d in wvWare::Parser9x::parseHelper (this=0x2932ac0, startPos=...) at /home/kde-devel/kde/src/koffice/filters/kword/msword-odf/wv2/src/parser9x.cpp:521 #23 0x00007f7336c2904d in wvWare::Parser9x::parseBody (this=0x2932ac0) at /home/kde-devel/kde/src/koffice/filters/kword/msword-odf/wv2/src/parser9x.cpp:476 #24 0x00007f7336c29675 in wvWare::Parser9x::parse (this=0x2932ac0) at /home/kde-devel/kde/src/koffice/filters/kword/msword-odf/wv2/src/parser9x.cpp:176 #25 0x00007f7336eef6fb in Document::parse (this=<value optimized out>) at /home/kde-devel/kde/src/koffice/filters/kword/msword-odf/document.cpp:364 #26 0x00007f7336eecbca in MSWordOdfImport::convert (this=0x28c5710, from=<value optimized out>, to=<value optimized out>) at /home/kde-devel/kde/src/koffice/filters/kword/msword-odf/mswordodfimport.cpp:204 #27 0x00007f73580a9adb in KOfficeFilter::ChainLink::invokeFilter (this=0x290a6b0, parentChainLink=0x0) at /home/kde-devel/kde/src/koffice/libs/main/KoFilterChainLink.cpp:73 #28 0x00007f73580a2d7b in KoFilterChain::invokeChain (this=0x28a1780) at /home/kde-devel/kde/src/koffice/libs/main/KoFilterChain.cpp:94 #29 0x00007f73580a0071 in KoFilterManager::importDocument (this=0x28a8da0, url=<value optimized out>, status=<value optimized out>) at /home/kde-devel/kde/src/koffice/libs/main/KoFilterManager.cpp:163 #30 0x00007f735805c4e6 in KoDocument::openFile (this=0x20a5bf0) at /home/kde-devel/kde/src/koffice/libs/main/KoDocument.cpp:1253 #31 0x00007f7355f781bd in KParts::ReadOnlyPart::openUrl (this=0x20a5bf0, url=<value optimized out>) at /home/kde-devel/kde/src/kdelibs/kparts/part.cpp:557 #32 0x00007f735805d8fb in KoDocument::openUrl (this=0x20a5bf0, _url=...) at /home/kde-devel/kde/src/koffice/libs/main/KoDocument.cpp:1181 #33 0x00007f735805725d in KoDocument::openExistingFile (this=0x1162, url=...) at /home/kde-devel/kde/src/koffice/libs/main/KoDocument.cpp:2316 #34 0x00007f73580605c2 in KoDocument::qt_metacall (this=0x20a5bf0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff27244c90) at /home/kde-devel/kde/build/koffice/libs/main/KoDocument.moc:125 #35 0x00007f7342bd1c65 in KWDocument::qt_metacall (this=0x1162, _c=4450, _id=6, _a=0xffffffffffffffff) at /home/kde-devel/kde/build/koffice/kword/part/moc_KWDocument.cpp:92 #36 0x00007f735355dcb6 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #37 0x00007f73580b8b42 in KoOpenPane::openExistingFile (this=0x1162, _t1=<value optimized out>) at /home/kde-devel/kde/build/koffice/libs/main/KoOpenPane.moc:104 #38 0x00007f73580b8e80 in KoOpenPane::qt_metacall (this=0x2208050, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff27244dc0) at /home/kde-devel/kde/build/koffice/libs/main/KoOpenPane.moc:86 #39 0x00007f735355dcb6 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #40 0x00007f73580b8452 in KoExistingDocumentPane::openExistingUrl (this=0x1162, _t1=<value optimized out>) at /home/kde-devel/kde/build/koffice/libs/main/KoExistingDocumentPane.moc:89 #41 0x00007f73580b8509 in KoExistingDocumentPane::onAccepted (this=0x2206e50) at /home/kde-devel/kde/src/koffice/libs/main/KoExistingDocumentPane.cpp:56 #42 0x00007f73580b8591 in KoExistingDocumentPane::qt_metacall (this=0x2206e50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff27244ed0) at /home/kde-devel/kde/build/koffice/libs/main/KoExistingDocumentPane.moc:77 #43 0x00007f735355dcb6 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #44 0x00007f7351fb770b in KFileWidget::slotOk (this=0x2228120) at /home/kde-devel/kde/src/kdelibs/kfile/kfilewidget.cpp:997 #45 0x00007f7351fb6368 in KFileWidgetPrivate::_k_fileSelected (this=0x2265f50, i=...) at /home/kde-devel/kde/src/kdelibs/kfile/kfilewidget.cpp:1106 #46 0x00007f7351fb922c in KFileWidget::qt_metacall (this=0x2228120, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff27245610) at /home/kde-devel/kde/build/kdelibs/kfile/kfilewidget.moc:145 #47 0x00007f735355dcb6 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #48 0x00007f7351f97e75 in KDirOperator::fileSelected (this=0x1162, _t1=<value optimized out>) at /home/kde-devel/kde/build/kdelibs/kfile/kdiroperator.moc:327 #49 0x00007f7351f9c8e4 in KDirOperator::Private::_k_slotActivated (this=0x24852b0, index=<value optimized out>) at /home/kde-devel/kde/src/kdelibs/kfile/kdiroperator.cpp:2382 #50 0x00007f7351fa197d in KDirOperator::qt_metacall (this=0x24873c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff272457e0) at /home/kde-devel/kde/build/kdelibs/kfile/kdiroperator.moc:255 #51 0x00007f735355dcb6 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #52 0x00007f7354be92f5 in QAbstractItemView::activated(QModelIndex const&) () from /usr/lib64/qt4/libQtGui.so.4 #53 0x00007f7354bf888a in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #54 0x00007f7354c0c45e in QListView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #55 0x00007f7354723b42 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #56 0x00007f7354ac9336 in QFrame::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #57 0x00007f7354bf940b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #58 0x00007f7353549be9 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #59 0x00007f73546cd84c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #60 0x00007f73546d452b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #61 0x00007f73556447a1 in KApplication::notify (this=0x7fff27247290, receiver=0x2568a50, event=0x7fff272467d0) at /home/kde-devel/kde/src/kdelibs/kdeui/kernel/kapplication.cpp:309 #62 0x00007f735354a7bb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #63 0x00007f73546d36fe in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/qt4/libQtGui.so.4 #64 0x00007f73547536fb in ?? () from /usr/lib64/qt4/libQtGui.so.4 #65 0x00007f735475206c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #66 0x00007f735477c422 in ?? () from /usr/lib64/qt4/libQtGui.so.4 #67 0x00007f734cff2db1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #68 0x00007f734cff4f11 in ?? () from /usr/lib/libglib-2.0.so.0 #69 0x00007f734cff500a in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #70 0x00007f7353574793 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #71 0x00007f735477c01e in ?? () from /usr/lib64/qt4/libQtGui.so.4 #72 0x00007f73535490e2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #73 0x00007f73535494b7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #74 0x00007f735354e1cb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4 #75 0x00007f735834dd65 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /home/kde-devel/kde/src/koffice/kword/part/main.cpp:38 #76 0x00007f73524d4bbd in __libc_start_main () from /lib/libc.so.6 #77 0x0000000000400899 in _start ()