Version: 4.00.67 (KDE 4.0.67 >= 20080325) (using 4.00.67 (KDE 4.0.67 >= 20080325), compiled sources) Compiler: gcc OS: Linux (i686) release 2.6.24-12-generic My current kdebase rev. is 791903 This bug can be reproduced : - open a text file in konqueror, - "View" menu / view mode / Text documents - Switch back from text documents to Embedded advanced text editor - Crash. Trace : Application: Konqueror (konqueror), signal SIGSEGV Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 0xb6284940 (LWP 23223)] [KCrash handler] #6 0xb6c411f8 in QTextDocument::documentLayout (this=0x8a01160) at text/qtextdocument.cpp:910 #7 0xb1c3dfba in TextTool::repaintSelection (this=0x8634688, startPosition=-1, endPosition=-1) at /media/sda7/kde/src/koffice/plugins/textshape/TextTool.cpp:1117 #8 0xb1c3e575 in TextTool::repaintSelection (this=0x8634688) at /media/sda7/kde/src/koffice/plugins/textshape/TextTool.cpp:1111 #9 0xb3ba518a in KoToolProxy::repaintDecorations (this=0x8500c10) at /media/sda7/kde/src/koffice/libs/flake/KoToolProxy.cpp:149 #10 0xb3b8470d in KoShapeManager::update (this=0x85dc308, rect=@0xbf9793c0, shape=0x86fbe90, selectionHandles=true) at /media/sda7/kde/src/koffice/libs/flake/KoShapeManager.cpp:317 #11 0xb3b7ceeb in KoShape::update (this=0x86fbe90) at /media/sda7/kde/src/koffice/libs/flake/KoShape.cpp:376 #12 0xb3b850f5 in KoShapeManager::remove (this=0x85dc308, shape=0x86fbe90) at /media/sda7/kde/src/koffice/libs/flake/KoShapeManager.cpp:137 #13 0xb3b810a0 in ~Private (this=0x8ad4620) at /media/sda7/kde/src/koffice/libs/flake/KoShape.cpp:82 #14 0xb3b7f687 in ~KoShape (this=0x86fbe90) at /media/sda7/kde/src/koffice/libs/flake/KoShape.cpp:145 #15 0xb3b81d87 in ~KoShapeContainer (this=0x86fbe90) at /media/sda7/kde/src/koffice/libs/flake/KoShapeContainer.cpp:135 #16 0xb1c3938f in ~TextShape (this=0x86fbe90) at /media/sda7/kde/src/koffice/plugins/textshape/TextShape.cpp:81 #17 0xb3d6bc2b in ~KWFrameSet (this=0x86fb158) at /media/sda7/kde/src/koffice/kword/part/frames/KWFrameSet.cpp:32 #18 0xb3d6d42c in ~KWTextFrameSet (this=0x86fb158) at /media/sda7/kde/src/koffice/kword/part/frames/KWTextFrameSet.cpp:101 #19 0xb3d46386 in qDeleteAll<QList<KWFrameSet*>::const_iterator> ( begin=@0xbf9795bc, end=@0xbf9795b8) at /opt/qt4/include/QtCore/qalgorithms.h:352 #20 0xb3d465d5 in qDeleteAll<QList<KWFrameSet*> > (c=@0x89b375c) at /opt/qt4/include/QtCore/qalgorithms.h:360 #21 0xb3d4504f in ~KWDocument (this=0x89b36d8) at /media/sda7/kde/src/koffice/kword/part/KWDocument.cpp:103 #22 0xb7f4ad33 in KonqView::switchView (this=0x82fb020, viewFactory=@0xbf979710) at /media/sda7/kde/src/KDE/kdebase/apps/konqueror/src/konqview.cpp:253 #23 0xb7f4b4b4 in KonqView::changePart (this=0x82fb020, mimeType=@0xbf9797a4, serviceName=@0xbf9797b8, forceAutoEmbed=<value optimized out>) at /media/sda7/kde/src/KDE/kdebase/apps/konqueror/src/konqview.cpp:365 #24 0xb7f9273b in KonqMainWindow::slotViewModeTriggered (this=0x81086a0, action=0x8b070b8) at /media/sda7/kde/src/KDE/kdebase/apps/konqueror/src/konqmainwindow.cpp:1597 #25 0xb7f98de1 in KonqMainWindow::qt_metacall (this=0x81086a0, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0x8d2ffd8) at /media/sda7/kde/build4/KDE/kdebase/apps/konqueror/src/konqmainwindow.moc:335 #26 0xb7301b5e in QMetaCallEvent::placeMetaCall (this=0x8d794a8, object=0x81086a0) at kernel/qobject.cpp:535 #27 0xb7305ea2 in QObject::event (this=0x81086a0, e=0x8d794a8) at kernel/qobject.cpp:1137 #28 0xb6a6861f in QWidget::event (this=0x81086a0, event=0x8d794a8) at kernel/qwidget.cpp:7233 #29 0xb6def205 in QMainWindow::event (this=0x81086a0, event=0x8d794a8) at widgets/qmainwindow.cpp:1252 #30 0xb7a13f12 in KMainWindow::event (this=0x81086a0, ev=0x8d794a8) at /media/sda7/kde/src/KDE/kdelibs/kdeui/widgets/kmainwindow.cpp:1028 #31 0xb7a45fdc in KXmlGuiWindow::event (this=0x81086a0, ev=0x8d794a8) at /media/sda7/kde/src/KDE/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:123 #32 0xb7f79c23 in KonqMainWindow::event (this=0x81086a0, e=0x8d794a8) at /media/sda7/kde/src/KDE/kdebase/apps/konqueror/src/konqmainwindow.cpp:5577 #33 0xb6a0a43d in QApplicationPrivate::notify_helper (this=0x805d710, receiver=0x81086a0, e=0x8d794a8) at kernel/qapplication.cpp:3735 #34 0xb6a0c026 in QApplication::notify (this=0xbf97a48c, receiver=0x81086a0, e=0x8d794a8) at kernel/qapplication.cpp:3702 #35 0xb7961753 in KApplication::notify (this=0xbf97a48c, receiver=0x81086a0, event=0x8d794a8) at /media/sda7/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311 #36 0xb72f2fca in QCoreApplication::notifyInternal (this=0xbf97a48c, receiver=0x81086a0, event=0x8d794a8) at kernel/qcoreapplication.cpp:582 #37 0xb72f68f5 in QCoreApplication::sendEvent (receiver=0x81086a0, event=0x8d794a8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #38 0xb72f34e2 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x804b530) at kernel/qcoreapplication.cpp:1188 #39 0xb72f3693 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1084 #40 0xb732396c in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #41 0xb7322b3f in postEventSourceDispatch (s=0x805fae0) at kernel/qeventdispatcher_glib.cpp:211 #42 0xb6494bd8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #43 0xb6497e3e in ?? () from /usr/lib/libglib-2.0.so.0 #44 0x0805fa58 in ?? () #45 0x00000000 in ?? () #0 0xb7fd6410 in __kernel_vsyscall () -- Trace if using the back button instead of the view menu : Application: Konqueror (konqueror), signal SIGSEGV Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 0xb624b940 (LWP 20684)] [New Thread 0xb273cb90 (LWP 21321)] [KCrash handler] #6 0xb6c081f8 in QTextDocument::documentLayout (this=0x9b82220) at text/qtextdocument.cpp:910 #7 0xacbcafba in TextTool::repaintSelection (this=0x9c39440, startPosition=-1, endPosition=-1) at /media/sda7/kde/src/koffice/plugins/textshape/TextTool.cpp:1117 #8 0xacbcb575 in TextTool::repaintSelection (this=0x9c39440) at /media/sda7/kde/src/koffice/plugins/textshape/TextTool.cpp:1111 #9 0xadfb818a in KoToolProxy::repaintDecorations (this=0x9b7af90) at /media/sda7/kde/src/koffice/libs/flake/KoToolProxy.cpp:149 #10 0xadf9770d in KoShapeManager::update (this=0x8fc3b60, rect=@0xbfda9930, shape=0x8b9ec30, selectionHandles=true) at /media/sda7/kde/src/koffice/libs/flake/KoShapeManager.cpp:317 #11 0xadf8feeb in KoShape::update (this=0x8b9ec30) at /media/sda7/kde/src/koffice/libs/flake/KoShape.cpp:376 #12 0xadf980f5 in KoShapeManager::remove (this=0x8fc3b60, shape=0x8b9ec30) at /media/sda7/kde/src/koffice/libs/flake/KoShapeManager.cpp:137 #13 0xadf940a0 in ~Private (this=0x9c36078) at /media/sda7/kde/src/koffice/libs/flake/KoShape.cpp:82 #14 0xadf92687 in ~KoShape (this=0x8b9ec30) at /media/sda7/kde/src/koffice/libs/flake/KoShape.cpp:145 #15 0xadf94d87 in ~KoShapeContainer (this=0x8b9ec30) at /media/sda7/kde/src/koffice/libs/flake/KoShapeContainer.cpp:135 #16 0xacbc638f in ~TextShape (this=0x8b9ec30) at /media/sda7/kde/src/koffice/plugins/textshape/TextShape.cpp:81 #17 0xae17ec2b in ~KWFrameSet (this=0x9c7e490) at /media/sda7/kde/src/koffice/kword/part/frames/KWFrameSet.cpp:32 #18 0xae18042c in ~KWTextFrameSet (this=0x9c7e490) at /media/sda7/kde/src/koffice/kword/part/frames/KWTextFrameSet.cpp:101 #19 0xae159386 in qDeleteAll<QList<KWFrameSet*>::const_iterator> ( begin=@0xbfda9b2c, end=@0xbfda9b28) at /opt/qt4/include/QtCore/qalgorithms.h:352 #20 0xae1595d5 in qDeleteAll<QList<KWFrameSet*> > (c=@0x9bdd87c) at /opt/qt4/include/QtCore/qalgorithms.h:360 #21 0xae15804f in ~KWDocument (this=0x9bdd7f8) at /media/sda7/kde/src/koffice/kword/part/KWDocument.cpp:103 #22 0xb7f11d33 in KonqView::switchView (this=0x99da0d8, viewFactory=@0xbfda9c80) at /media/sda7/kde/src/KDE/kdebase/apps/konqueror/src/konqview.cpp:253 #23 0xb7f124b4 in KonqView::changePart (this=0x99da0d8, mimeType=@0xbfda9d0c, serviceName=@0xbfda9d10, forceAutoEmbed=<value optimized out>) at /media/sda7/kde/src/KDE/kdebase/apps/konqueror/src/konqview.cpp:365 #24 0xb7f125b7 in KonqView::restoreHistory (this=0x99da0d8) at /media/sda7/kde/src/KDE/kdebase/apps/konqueror/src/konqview.cpp:834 #25 0xb7f590e5 in KonqMainWindow::slotGoHistoryDelayed (this=0x8107008) at /media/sda7/kde/src/KDE/kdebase/apps/konqueror/src/konqmainwindow.cpp:2867 #26 0xb7f60442 in KonqMainWindow::qt_metacall (this=0x8107008, _c=QMetaObject::InvokeMetaMethod, _id=96, _a=0xbfda9f2c) at /media/sda7/kde/build4/KDE/kdebase/apps/konqueror/src/konqmainwindow.moc:409 #27 0xb72ceb59 in QMetaObject::activate (sender=0xa2b69b8, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3001 #28 0xb72cefdb in QMetaObject::activate (sender=0xa2b69b8, m=0xb7368dc8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3074 #29 0xb72d8b89 in QSingleShotTimer::timeout (this=0xa2b69b8) at .moc/debug-shared/qtimer.moc:74 #30 0xb72d8ca6 in QSingleShotTimer::timerEvent (this=0xa2b69b8) at kernel/qtimer.cpp:300 #31 0xb72ccdf0 in QObject::event (this=0xa2b69b8, e=0xbfdaa464) at kernel/qobject.cpp:1105 #32 0xb69d143d in QApplicationPrivate::notify_helper (this=0x805d710, receiver=0xa2b69b8, e=0xbfdaa464) at kernel/qapplication.cpp:3735 #33 0xb69d1723 in QApplication::notify (this=0xbfdaa8bc, receiver=0xa2b69b8, e=0xbfdaa464) at kernel/qapplication.cpp:3329 #34 0xb7928753 in KApplication::notify (this=0xbfdaa8bc, receiver=0xa2b69b8, event=0xbfdaa464) at /media/sda7/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311 #35 0xb72b9fca in QCoreApplication::notifyInternal (this=0xbfdaa8bc, receiver=0xa2b69b8, event=0xbfdaa464) at kernel/qcoreapplication.cpp:582 #36 0xb72bd8f5 in QCoreApplication::sendEvent (receiver=0xa2b69b8, event=0xbfdaa464) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #37 0xb72ec481 in QTimerInfoList::activateTimers (this=0x8060644) at kernel/qeventdispatcher_unix.cpp:563 #38 0xb72e9c28 in timerSourceDispatch (source=0x8060610) at kernel/qeventdispatcher_glib.cpp:166 #39 0xb645bbd8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #40 0xb645ee3e in ?? () from /usr/lib/libglib-2.0.so.0 #41 0x0805fa58 in ?? () #42 0x00000000 in ?? () #0 0xb7f9d410 in __kernel_vsyscall ()
I can reproduce this crash with a current SVN build. However, for me the bug surfaces a little different and the following steps are sufficient: 1) Fire up konqueror 2) Open a text file (Konqueror per default displayes it with "Embedded Advanced Text Editor" for me) 3) Switch to View->View Mode->karm part 4) See konqueror crash. Note: The original bugtrace seems to go through koffice when it crashes, while I don't have any koffice installe for KDE4 My backtrace for this is: Application: Konqueror (konqueror), signal SIGABRT Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 0xb6256a20 (LWP 6883)] [KCrash handler] #6 0xffffe410 in __kernel_vsyscall () #7 0xb64a71f1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #8 0xb64a89b8 in *__GI_abort () at abort.c:88 #9 0xb717ba45 in qt_message_output (msgType=QtFatalMsg, buf=0xbf92475c "ASSERT: \"d\" in file /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kdecore/kernel/kcomponentdata.cpp, line 192") at global/qglobal.cpp:2047 #10 0xb717bb0a in qFatal (msg=0xb72d3fec "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2249 #11 0xb717bfd5 in qt_assert (assertion=0xb7c1b9c9 "d", file=0xb7c11e28 "/var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kdecore/kernel/kcomponentdata.cpp", line=192) at global/qglobal.cpp:1821 #12 0xb7b39118 in KComponentData::catalogName (this=0xbf92684c) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kdecore/kernel/kcomponentdata.cpp:192 #13 0xb7e73514 in KParts::PartBase::setComponentData (this=0x86f3198, componentData=@0xbf92684c, bLoadPlugins=true) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kparts/part.cpp:147 #14 0xb7e6f2b1 in KParts::PartBase::setComponentData (this=0x86f3198, componentData=@0xbf92684c) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kparts/part.cpp:139 #15 0xb45fb4b0 in karmPart (this=0x86f3190, parentWidget=0x0, parent=0x8789ab0) at /var/tmp/portage/kde-base/kdepim-9999.4/work/kdepim-9999.4/ktimetracker/karm_part.cpp:55 #16 0xb45fc572 in KPluginFactory::createPartInstance<karmPart> ( parentWidget=0x0, parent=0x8789ab0, args=@0xbf926948) at /usr/kde/svn/include/kpluginfactory.h:465 #17 0xb7bf1ea2 in KPluginFactory::create (this=0x877bc68, iface=0xb7f9b315 "KParts::ReadOnlyPart", parentWidget=0x0, parent=0x8789ab0, args=@0xbf926948, keyword=@0xbf926944) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kdecore/util/kpluginfactory.cpp:181 #18 0xb7f41331 in KPluginFactory::create (this=0x877bc68, parent=0x8789ab0, classname=0xb7f9b315 "KParts::ReadOnlyPart", args=@0xbf9269d4) at /usr/kde/svn/include/kpluginfactory.h:342 #19 0xb7f3ff84 in KonqViewFactory::create (this=0xbf9269d0, parentWidget=0x8789ab0, parent=0x0) at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/apps/konqueror/src/konqfactory.cpp:86 #20 0xb7f2b244 in KonqFrame::attach (this=0x8789ab0, viewFactory=@0xbf926b10) at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/apps/konqueror/src/konqframe.cpp:104 #21 0xb7f179ee in KonqView::switchView (this=0x84da6b0, viewFactory=@0xbf926b10) at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/apps/konqueror/src/konqview.cpp:241 #22 0xb7f181f8 in KonqView::changePart (this=0x84da6b0, mimeType=@0xbf926bb4, serviceName=@0xbf926ba8, forceAutoEmbed=false) at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/apps/konqueror/src/konqview.cpp:365 #23 0xb7f636f9 in KonqMainWindow::slotViewModeTriggered (this=0x811dae8, action=0x87b2468) at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/apps/konqueror/src/konqmainwindow.cpp:1597 #24 0xb7f6a24d in KonqMainWindow::qt_metacall (this=0x811dae8, _c=QMetaObject::InvokeMetaMethod, _id=70, _a=0x8771c28) at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase_build/apps/konqueror/src/konqmainwindow.moc:335 #25 0xb728ab79 in QMetaCallEvent::placeMetaCall (this=0x87ba310, object=0x811dae8) at kernel/qobject.cpp:535 #26 0xb728cede in QObject::event (this=0x811dae8, e=0x87ba310) at kernel/qobject.cpp:1131 #27 0xb689a512 in QWidget::event (this=0x811dae8, event=0x87ba310) at kernel/qwidget.cpp:7233 #28 0xb6c3552f in QMainWindow::event (this=0x811dae8, event=0x87ba310) at widgets/qmainwindow.cpp:1252 #29 0xb79a30f2 in KMainWindow::event (this=0x811dae8, ev=0x87ba310) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kdeui/widgets/kmainwindow.cpp:1028 #30 0xb79d771c in KXmlGuiWindow::event (this=0x811dae8, ev=0x87ba310) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kdeui/xmlgui/kxmlguiwindow.cpp:123 #31 0xb7f4a194 in KonqMainWindow::event (this=0x811dae8, e=0x87ba310) at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/apps/konqueror/src/konqmainwindow.cpp:5577 #32 0xb683c71f in QApplicationPrivate::notify_helper (this=0x80587c8, receiver=0x811dae8, e=0x87ba310) at kernel/qapplication.cpp:3735 #33 0xb683e25f in QApplication::notify (this=0xbf927808, receiver=0x811dae8, e=0x87ba310) at kernel/qapplication.cpp:3329 #34 0xb78e5ac3 in KApplication::notify (this=0xbf927808, receiver=0x811dae8, event=0x87ba310) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kdeui/kernel/kapplication.cpp:311 #35 0xb727acf7 in QCoreApplication::notifyInternal (this=0xbf927808, receiver=0x811dae8, event=0x87ba310) at kernel/qcoreapplication.cpp:586 #36 0xb727c059 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x804cb68) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #37 0xb72ab7a8 in QEventDispatcherUNIX::processEvents (this=0x8057f58, flags=@0xbf9274e8) at kernel/qeventdispatcher_unix.cpp:867 #38 0xb68d4cfe in QEventDispatcherX11::processEvents (this=0x8057f58, flags=@0xbf927514) at kernel/qeventdispatcher_x11.cpp:154 #39 0xb7279e61 in QEventLoop::processEvents (this=0xbf927580, flags=@0xbf927548) at kernel/qeventloop.cpp:146 #40 0xb7279f8f in QEventLoop::exec (this=0xbf927580, flags=@0xbf927588) at kernel/qeventloop.cpp:197 #41 0xb727c476 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:838 #42 0xb683be37 in QApplication::exec () at kernel/qapplication.cpp:3267 #43 0xb7f94c17 in kdemain (argc=1, argv=0xbf927b84) at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/apps/konqueror/src/konqmain.cpp:218 #44 0x080487e2 in main (argc=) at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase_build/apps/konqueror/src/konqueror_dummy.cpp:3 #45 0xb6493fdc in __libc_start_main (main=0x80487c0 <main>, argc=1, ubp_av=0xbf927b84, init=0x8048810 <__libc_csu_init>, fini=0x8048800 <__libc_csu_fini>, rtld_fini=0xb7fb9100 <_dl_fini>, stack_end=0xbf927b7c) at libc-start.c:229 #46 0x08048731 in _start () #0 0xffffe410 in __kernel_vsyscall ()
Forget about my comment #1. Apparently my described way of reproducing this was made impossible during one of the recent SVN commits.
I can't find the "view text documents" option anywhere in revision 812050. My guess is it's not applicable anymore.
#3 : The bug is still present and the crash occurs even with fresh revisions.
Sorry, disregard my previous comment as koffice2 is needed for "view text documents" option.
Still valid with an updated KDE4 and Koffice2 ? Thanks
Hard to reproduce exactly : it crashes right after selecting 'Text document' now.
Cannot reproduce in trunk: if I open a text document inside konqueror, it uses the kate part (with editing capabilities) and nothing crash. Someone can confirm it?
I can confirm it still crashes.
Looks ok now.