Version: 2.0 beta-5 (using 4.1.96 (KDE 4.1.96 (KDE 4.2 RC1)) "release 76.2", KDE:KDE4:Factory:Desktop / openSUSE_11.1) Compiler: gcc OS: Linux (x86_64) release 2.6.27.7-9-default Anwendung: KWord (kword), Signal SIGSEGV 0x00007f867d170cb0 in nanosleep () from /lib64/libc.so.6 [Current thread is 1 (Thread 0x7f8680967750 (LWP 11873))] Thread 1 (Thread 0x7f8680967750 (LWP 11873)): [KCrash Handler] #5 0x00007f86636756b0 in vtable for Document () from /usr/lib64/kde4/libmswordodf_import.so #6 0x00007f8663460f0c in Document::~Document() () from /usr/lib64/kde4/libmswordodf_import.so #7 0x00007f866345eb46 in MSWordOdfImport::convert(QByteArray const&, QByteArray const&) () from /usr/lib64/kde4/libmswordodf_import.so #8 0x00007f867fae6e9f in KoFilterChain::ChainLink::invokeFilter(KoFilterChain::ChainLink const*) () from /usr/lib64/libkomain.so.5 #9 0x00007f867fae7249 in KoFilterChain::invokeChain() () from /usr/lib64/libkomain.so.5 #10 0x00007f867facc431 in KoFilterManager::importDocument(QString const&, KoFilter::ConversionStatus&) () from /usr/lib64/libkomain.so.5 #11 0x00007f867faba7cc in KoDocument::openFile() () from /usr/lib64/libkomain.so.5 #12 0x00007f8679d025c4 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib64/libkparts.so.4 #13 0x00007f867fab872b in KoDocument::openUrl(KUrl const&) () from /usr/lib64/libkomain.so.5 #14 0x00007f867fad0f20 in KoMainWindow::openDocumentInternal(KUrl const&, KoDocument*) () from /usr/lib64/libkomain.so.5 #15 0x00007f867fad0577 in KoMainWindow::openDocument(KUrl const&) () from /usr/lib64/libkomain.so.5 #16 0x00007f867fad855c in KoMainWindow::slotFileOpen() () from /usr/lib64/libkomain.so.5 #17 0x00007f867fad925a in KoMainWindow::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkomain.so.5 #18 0x00007f867df19454 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4 #19 0x00007f867f0de527 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4 #20 0x00007f867f0decf0 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4 #21 0x00007f867f3ef5aa in ?? () from /usr/lib64/libQtGui.so.4 #22 0x00007f867f3ef845 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4 #23 0x00007f867f4b708a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4 #24 0x00007f867f136799 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4 #25 0x00007f867f0e41bd in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #26 0x00007f867f0ec7fa in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #27 0x00007f86801abafb in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #28 0x00007f867df05091 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4 #29 0x00007f867f0ebb98 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib64/libQtGui.so.4 #30 0x00007f867f150049 in ?? () from /usr/lib64/libQtGui.so.4 #31 0x00007f867f14ea67 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4 #32 0x00007f867f175204 in ?? () from /usr/lib64/libQtGui.so.4 #33 0x00007f867a1630db in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #34 0x00007f867a1668ad in ?? () from /usr/lib64/libglib-2.0.so.0 #35 0x00007f867a166a6b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #36 0x00007f867df2d4ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #37 0x00007f867f1749af in ?? () from /usr/lib64/libQtGui.so.4 #38 0x00007f867df039a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #39 0x00007f867df03b2d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #40 0x00007f867df05ffd in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4 #41 0x00007f868058e1b5 in kdemain () from /usr/lib64/libkdeinit4_kword.so #42 0x00007f867d0ed586 in __libc_start_main () from /lib64/libc.so.6 #43 0x0000000000400759 in _start ()
the same if I want to load a simple text file
can you please attach the files you tried to open that would help to find the problem as I cannot see it here.
If you are loading an swx file; then why does the backtrace say its an MSWord file?
*** Bug 185310 has been marked as a duplicate of this bug. ***
Created an attachment (id=33932) [details] here is my test file and it crashs with rc1
I'm experiencing crashed upon attempting to open .txt files as well. I believe my crash report is not exactly the same, so hopefully I am not commenting when I should be creating an entirely new bug. Here's the crash report: Application: KWord (kword), signal: Segmentation fault [KCrash Handler] #6 0x01f18a00 in ?? () from /usr/lib/kde4/libmswordodf_import.so #7 0x01f161b6 in ?? () from /usr/lib/kde4/libmswordodf_import.so #8 0x02c4f44e in KoFilterChain::ChainLink::invokeFilter () from /usr/lib/libkomain.so.5 #9 0x02c4f847 in KoFilterChain::invokeChain () from /usr/lib/libkomain.so.5 #10 0x02c33d92 in KoFilterManager::importDocument () from /usr/lib/libkomain.so.5 #11 0x02c2154a in KoDocument::openFile () from /usr/lib/libkomain.so.5 #12 0x0097f00a in KParts::ReadOnlyPart::openUrl () from /usr/lib/libkparts.so.4 #13 0x02c1f28a in KoDocument::openUrl () from /usr/lib/libkomain.so.5 #14 0x02c19bfc in KoDocument::openExistingFile () from /usr/lib/libkomain.so.5 #15 0x02c1f843 in KoDocument::qt_metacall () from /usr/lib/libkomain.so.5 #16 0x0762079a in KWDocument::qt_metacall () from /usr/lib/libkwordprivate.so.5 #17 0x02157628 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #18 0x02158db2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #19 0x02c938c3 in ?? () from /usr/lib/libkomain.so.5 #20 0x02c93cea in ?? () from /usr/lib/libkomain.so.5 #21 0x02157628 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #22 0x02158db2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #23 0x02c99c83 in ?? () from /usr/lib/libkomain.so.5 #24 0x02c9f3b1 in ?? () from /usr/lib/libkomain.so.5 #25 0x02c99ea9 in ?? () from /usr/lib/libkomain.so.5 #26 0x02c9f3dd in ?? () from /usr/lib/libkomain.so.5 #27 0x02c9a0a0 in ?? () from /usr/lib/libkomain.so.5 #28 0x0214040a in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4 #29 0x0499235a in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #30 0x0499b75b in QApplication::notify () from /usr/lib/libQtGui.so.4 #31 0x002df29d in KApplication::notify () from /usr/lib/libkdeui.so.5 #32 0x021411eb in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #33 0x0499325e in ?? () from /usr/lib/libQtGui.so.4 #34 0x04a2f010 in ?? () from /usr/lib/libQtGui.so.4 #35 0x04a311fe in ?? () from /usr/lib/libQtGui.so.4 #36 0x04a082b4 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4 #37 0x04a32c8a in ?? () from /usr/lib/libQtGui.so.4 #38 0x00e2b258 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #39 0x00e2e903 in ?? () from /lib/libglib-2.0.so.0 #40 0x00e2eac1 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #41 0x0216cd98 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #42 0x04a32385 in ?? () from /usr/lib/libQtGui.so.4 #43 0x0213f81a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #44 0x0213fc5a in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #45 0x02142109 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 #46 0x049921f7 in QApplication::exec () from /usr/lib/libQtGui.so.4 #47 0x00df1e8d in kdemain () from /usr/lib/libkdeinit4_kword.so #48 0x08048642 in _start ()
*** Bug 196422 has been marked as a duplicate of this bug. ***
Backtrace from bug 196422: Application: KWord (kword), signal: Segmentation fault [KCrash Handler] #6 0xae805040 in ~Document (this=0x9cfca10) at /build/buildd/koffice2-2.0.0/filters/kword/msword-odf/document.cpp:97 #7 0xae800dda in MSWordOdfImport::convert (this=0x90a0f58, from=@0x9d26e00, to=@0x9d26e04) at /build/buildd/koffice2-2.0.0/filters/kword/msword-odf/mswordodfimport.cpp:145 #8 0xb7bd7c74 in KoFilterChain::ChainLink::invokeFilter (this=0x9d26df8, parentChainLink=0x0) at /build/buildd/koffice2-2.0.0/libs/main/KoFilterChain.cpp:67 #9 0xb7bd7f17 in KoFilterChain::invokeChain (this=0x9d27288) at /build/buildd/koffice2-2.0.0/libs/main/KoFilterChain.cpp:177 #10 0xb7bbb212 in KoFilterManager::importDocument (this=0x9d02af8, url=@0xbfe61c8c, status=@0xbfe61c90) at /build/buildd/koffice2-2.0.0/libs/main/KoFilterManager.cpp:235 #11 0xb7ba4207 in KoDocument::openFile (this=0x92162e8) at /build/buildd/koffice2-2.0.0/libs/main/KoDocument.cpp:1461 #12 0xb67eeb4a in KParts::ReadOnlyPart::openUrl (this=0x92162e8, url=@0xbfe61e40) at /build/buildd/kde4libs-4.2.90/kparts/part.cpp:557 #13 0xb7ba16a2 in KoDocument::openUrl (this=0x92162e8, _url=@0xbfe62114) at /build/buildd/koffice2-2.0.0/libs/main/KoDocument.cpp:1389 #14 0xb7b9c77c in KoDocument::openExistingFile (this=0x92162e8, url=@0xbfe62114) at /build/buildd/koffice2-2.0.0/libs/main/KoDocument.cpp:2572 #15 0xb7b9f6b3 in KoDocument::qt_metacall (this=0x92162e8, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbfe61fec) at /build/buildd/koffice2-2.0.0/obj-i486-linux-gnu/libs/main/KoDocument.moc:123 #16 0xb3a8715a in KWDocument::qt_metacall (this=0x92162e8, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0xbfe61fec) at /build/buildd/koffice2-2.0.0/obj-i486-linux-gnu/kword/part/moc_KWDocument.cpp:86 #17 0xb6d66a58 in QMetaObject::activate (sender=0x931b2c8, from_signal_index=27, to_signal_index=27, argv=0xbfe61fec) at kernel/qobject.cpp:3120 #18 0xb6d676e2 in QMetaObject::activate (sender=0x931b2c8, m=0xb7c4de50, local_signal_index=0, argv=0xbfe61fec) at kernel/qobject.cpp:3194 #19 0xb7c264a3 in KoOpenPane::openExistingFile (this=0x931b2c8, _t1=@0xbfe62114) at /build/buildd/koffice2-2.0.0/obj-i486-linux-gnu/libs/main/KoOpenPane.moc:98 #20 0xb7c268ca in KoOpenPane::qt_metacall (this=0x931b2c8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfe620ec) at /build/buildd/koffice2-2.0.0/obj-i486-linux-gnu/libs/main/KoOpenPane.moc:80 #21 0xb6d66a58 in QMetaObject::activate (sender=0x93004a8, from_signal_index=27, to_signal_index=27, argv=0xbfe620ec) at kernel/qobject.cpp:3120 #22 0xb6d676e2 in QMetaObject::activate (sender=0x93004a8, m=0xb7c4eb9c, local_signal_index=0, argv=0xbfe620ec) at kernel/qobject.cpp:3194 #23 0xb7c3cd83 in KoExistingDocumentPane::openExistingUrl (this=0x93004a8, _t1=@0xbfe62114) at /build/buildd/koffice2-2.0.0/obj-i486-linux-gnu/libs/main/KoExistingDocumentPane.moc:83 #24 0xb7c3ce4f in KoExistingDocumentPane::onAccepted (this=0x93004a8) at /build/buildd/koffice2-2.0.0/libs/main/KoExistingDocumentPane.cpp:62 #25 0xb7c3cecd in KoExistingDocumentPane::qt_metacall (this=0x93004a8, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfe621c8) at /build/buildd/koffice2-2.0.0/obj-i486-linux-gnu/libs/main/KoExistingDocumentPane.moc:71 #26 0xb6d66a58 in QMetaObject::activate (sender=0x93c01a0, from_signal_index=31, to_signal_index=31, argv=0x0) at kernel/qobject.cpp:3120 #27 0xb6d676e2 in QMetaObject::activate (sender=0x93c01a0, m=0xb67d3ad0, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3194 #28 0xb678dd07 in KFileWidget::accepted (this=0x93c01a0) at /build/buildd/kde4libs-4.2.90/obj-i486-linux-gnu/kfile/kfilewidget.moc:184 #29 0xb6798b13 in KFileWidget::slotOk (this=0x93c01a0) at /build/buildd/kde4libs-4.2.90/kfile/kfilewidget.cpp:977 #30 0xb6793d5c in KFileWidgetPrivate::_k_fileSelected (this=0x93c0518, i=@0xbfe62568) at /build/buildd/kde4libs-4.2.90/kfile/kfilewidget.cpp:1082 #31 0xb67969fa in KFileWidget::qt_metacall (this=0x93c01a0, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbfe6250c) at /build/buildd/kde4libs-4.2.90/obj-i486-linux-gnu/kfile/kfilewidget.moc:134 #32 0xb6d66a58 in QMetaObject::activate (sender=0x93144c8, from_signal_index=34, to_signal_index=34, argv=0xbfe6250c) at kernel/qobject.cpp:3120 #33 0xb6d676e2 in QMetaObject::activate (sender=0x93144c8, m=0xb67d3114, local_signal_index=7, argv=0xbfe6250c) at kernel/qobject.cpp:3194 #34 0xb67726e3 in KDirOperator::fileSelected (this=0x93144c8, _t1=@0xbfe62568) at /build/buildd/kde4libs-4.2.90/obj-i486-linux-gnu/kfile/kdiroperator.moc:316 #35 0xb6773269 in KDirOperator::selectFile (this=0x93144c8, item=@0xbfe62568) at /build/buildd/kde4libs-4.2.90/kfile/kdiroperator.cpp:1693 #36 0xb67733d4 in KDirOperator::Private::_k_slotActivated (this=0x9334378, index=@0x9d047e0) at /build/buildd/kde4libs-4.2.90/kfile/kdiroperator.cpp:2340 #37 0xb677f24c in KDirOperator::qt_metacall (this=0x93144c8, _c=QMetaObject::InvokeMetaMethod, _id=59, _a=0xbfe6267c) at /build/buildd/kde4libs-4.2.90/obj-i486-linux-gnu/kfile/kdiroperator.moc:245 #38 0xb6d66a58 in QMetaObject::activate (sender=0x94e73a0, from_signal_index=34, to_signal_index=34, argv=0xbfe6267c) at kernel/qobject.cpp:3120 #39 0xb6d676e2 in QMetaObject::activate (sender=0x94e73a0, m=0xb7b509c4, local_signal_index=3, argv=0xbfe6267c) at kernel/qobject.cpp:3194 #40 0xb7827bd3 in QAbstractItemView::activated (this=0x94e73a0, _t1=@0x9d047e0) at .moc/release-shared/moc_qabstractitemview.cpp:335 #41 0xb78355d0 in QAbstractItemView::mouseReleaseEvent (this=0x94e73a0, event=0xbfe62ee8) at itemviews/qabstractitemview.cpp:1659 #42 0xb784c01f in QListView::mouseReleaseEvent (this=0x94e73a0, e=0xbfe62ee8) at itemviews/qlistview.cpp:849 #43 0xb73088c3 in QWidget::event (this=0x94e73a0, event=0xbfe62ee8) at kernel/qwidget.cpp:7521 #44 0xb76e62c3 in QFrame::event (this=0x94e73a0, e=0xbfe62ee8) at widgets/qframe.cpp:559 #45 0xb778633f in QAbstractScrollArea::viewportEvent (this=0x94e73a0, e=0x706d742f) at widgets/qabstractscrollarea.cpp:962 #46 0xb78381f7 in QAbstractItemView::viewportEvent (this=0x94e73a0, event=0xbfe62ee8) at itemviews/qabstractitemview.cpp:1471 #47 0xb7788945 in QAbstractScrollAreaFilter::eventFilter (this=0x94e7460, o=0x946b2b8, e=0xbfe62ee8) at widgets/qabstractscrollarea_p.h:100 #48 0xb6d4f9ca in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x907d430, receiver=0x946b2b8, event=0xbfe62ee8) at kernel/qcoreapplication.cpp:726 #49 0xb72b1baa in QApplicationPrivate::notify_helper (this=0x907d430, receiver=0x946b2b8, e=0xbfe62ee8) at kernel/qapplication.cpp:4053 #50 0xb72ba851 in QApplication::notify (this=0xbfe6482c, receiver=0x946b2b8, e=0xbfe62ee8) at kernel/qapplication.cpp:3759 #51 0xb7e66e8d in KApplication::notify (this=0xbfe6482c, receiver=0x946b2b8, event=0xbfe62ee8) at /build/buildd/kde4libs-4.2.90/kdeui/kernel/kapplication.cpp:302 #52 0xb6d507ab in QCoreApplication::notifyInternal (this=0xbfe6482c, receiver=0x946b2b8, event=0xbfe62ee8) at kernel/qcoreapplication.cpp:610 #53 0xb72b98be in QApplicationPrivate::sendMouseEvent (receiver=0x946b2b8, event=0xbfe62ee8, alienWidget=0x946b2b8, nativeWidget=0x925ee38, buttonDown=0xb7b5daa0, lastMouseReceiver=@0xb7b5daa4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216 #54 0xb7329aee in QETWidget::translateMouseEvent (this=0x925ee38, event=0xbfe6457c) at kernel/qapplication_x11.cpp:4448 #55 0xb7328ead in QApplication::x11ProcessEvent (this=0xbfe6482c, event=0xbfe6457c) at kernel/qapplication_x11.cpp:3444 #56 0xb735406a in x11EventSourceDispatch (s=0x9080568, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #57 0xb5db9b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #58 0xb5dbd0eb in ?? () from /usr/lib/libglib-2.0.so.0 #59 0xb5dbd268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #60 0xb6d7c1d8 in QEventDispatcherGlib::processEvents (this=0x9066e68, flags={i = -1075427528}) at kernel/qeventdispatcher_glib.cpp:324 #61 0xb7353765 in QGuiEventDispatcherGlib::processEvents (this=0x9066e68, flags={i = -1075427480}) at kernel/qguieventdispatcher_glib.cpp:202 #62 0xb6d4edda in QEventLoop::processEvents (this=0xbfe647e0, flags={i = -1075427416}) at kernel/qeventloop.cpp:149 #63 0xb6d4f21a in QEventLoop::exec (this=0xbfe647e0, flags={i = -1075427352}) at kernel/qeventloop.cpp:200 #64 0xb6d516c9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #65 0xb72b1a47 in QApplication::exec () at kernel/qapplication.cpp:3526 #66 0xb8022efd in kdemain (argc=1, argv=0xbfe64924) at /build/buildd/koffice2-2.0.0/kword/part/main.cpp:38 #67 0x08048662 in main (argc=-1367229688, argv=0x9d51e28) at /build/buildd/koffice2-2.0.0/obj-i486-linux-gnu/kword/part/kword_dummy.cpp:3
This bug actually is quite easy to reproduce: 1) Create a simple text file (e.g. by touch foo) 2) Open the file (e.g. by kword foo) 3) Select that the document is a simple plain text document 4) See kword crash If there is any need, I can also attach some more verbose backtraces. I doubt its related, but my installation uses UTF-8 encoding
I can confirm. As Oliver said, it is too easy to reproduce, so I'll forego the backtrace. Though, I get the same behavior on most file types other than ODT.
*** Bug 196885 has been marked as a duplicate of this bug. ***
*** Bug 197432 has been marked as a duplicate of this bug. ***
*** Bug 198376 has been marked as a duplicate of this bug. ***
SVN commit 989327 by pino: initialize m_tableHandler to 0 BUG: 180884 (can anybody please backport it?) M +1 -0 document.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=989327
SVN commit 989361 by zander: initialize m_tableHandler to 0 CCBUG: 180884 M +1 -0 document.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=989361
*** Bug 201144 has been marked as a duplicate of this bug. ***
*** Bug 201461 has been marked as a duplicate of this bug. ***
*** Bug 201458 has been marked as a duplicate of this bug. ***
*** Bug 203407 has been marked as a duplicate of this bug. ***
Hi Thomas, thanks for marking my bug a duplicate of this one. However, this bug claims to be fixed while my bug is alive and kicking. I cannot find a fix in this thread. Is there anything I should do to be able to use KOffice with a txt file? Thanks Ingo
Hi Ingo, Your bug mention that you use KWord 2.0.1, the bug was fixed in 2.0.2 and 2.x . So unless it is still happening with a more recent version (aka 2.0.2 or 2.1 beta 1), it is safe to assume it is fixed.
*** Bug 206664 has been marked as a duplicate of this bug. ***
*** Bug 208666 has been marked as a duplicate of this bug. ***
*** Bug 209848 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.