Bug 252617 - kate crash trying to reopen non existing files
Summary: kate crash trying to reopen non existing files
Status: RESOLVED DUPLICATE of bug 230426
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-28 09:26 UTC by Bruno Friedmann
Modified: 2010-10-23 16:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Friedmann 2010-09-28 09:26:05 UTC
Application: kate (3.4.4)
KDE Platform Version: 4.4.4 (KDE 4.4.4) "release 3"
Qt Version: 4.6.3
Operating System: Linux 2.6.34.7-0.3-desktop i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
I've a git checkout locally, with several files open in kate.
I delete all the git directory. kate start to loop with the "this file doesn't exist anymore" I hit the ignore. Then kate loop on always the same file, and error.
To quit kate, I've to kill it.
Next time I start the session with the non existing file, it lead to this crash.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Kate (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6  ref (this=0xbfb6466c, other=@0x871988e) at ../../src/corelib/arch/qatomic_i386.h:120
#7  QUrl::QUrl (this=0xbfb6466c, other=@0x871988e) at io/qurl.cpp:4150
#8  0xb75406fa in KUrl::KUrl(KUrl const&) () from /usr/lib/libkdecore.so.5
#9  0xb7491570 in KParts::ReadOnlyPart::url (this=0x8719840) at /usr/src/debug/kdelibs-4.4.4/kparts/part.cpp:465
#10 0xb1bfe095 in KateDocManager::data (this=0x8176208, index=..., role=35) at /usr/src/debug/kdesdk-4.4.4/kate/app/katedocmanager.cpp:133
#11 0xb1c31cfe in KateViewDocumentProxyModel::data (this=0x872aa20, index=..., role=35) at /usr/src/debug/kdesdk-4.4.4/kate/app/kateviewdocumentproxymodel.cpp:325
#12 0xb1c34c2d in KateViewDocumentProxyModel::sort (this=0x872aa20) at /usr/src/debug/kdesdk-4.4.4/kate/app/kateviewdocumentproxymodel.cpp:637
#13 0xb1c35938 in KateViewDocumentProxyModel::opened (this=0x872aa20, index=...) at /usr/src/debug/kdesdk-4.4.4/kate/app/kateviewdocumentproxymodel.cpp:216
#14 0xb1c09a63 in KateMainWindow::slotWindowActivated (this=0x8715830) at /usr/src/debug/kdesdk-4.4.4/kate/app/katemainwindow.cpp:566
#15 0xb1c10937 in KateMainWindow::qt_metacall (this=0x8715830, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfb64a6c)
    at /usr/src/debug/kdesdk-4.4.4/build/kate/app/katemainwindow.moc:181
#16 0xb6bcdefd in QMetaObject::metacall (object=0x8715830, cl=QMetaObject::InvokeMetaMethod, idx=59, argv=0xbfb64a6c) at kernel/qmetaobject.cpp:237
#17 0xb6bdcfe8 in QMetaObject::activate (sender=0x8721f58, m=0xb1c534c4, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3295
#18 0xb1c136e5 in KateViewManager::viewChanged (this=0x8721f58) at /usr/src/debug/kdesdk-4.4.4/build/kate/app/kateviewmanager.moc:164
#19 0xb1c14b88 in KateViewManager::activateView (this=0x8721f58, view=0x8cda428) at /usr/src/debug/kdesdk-4.4.4/kate/app/kateviewmanager.cpp:469
#20 0xb1c15497 in KateViewManager::createView (this=0x8721f58, doc=<value optimized out>) at /usr/src/debug/kdesdk-4.4.4/kate/app/kateviewmanager.cpp:308
#21 0xb1c169b4 in KateViewManager::qt_metacall (this=0x8721f58, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0xbfb64c68) at /usr/src/debug/kdesdk-4.4.4/build/kate/app/kateviewmanager.moc:138
#22 0xb6bcdefd in QMetaObject::metacall (object=0x8721f58, cl=QMetaObject::InvokeMetaMethod, idx=45, argv=0xbfb64c68) at kernel/qmetaobject.cpp:237
#23 0xb6bdcfe8 in QMetaObject::activate (sender=0x8176208, m=0xb1c526f4, local_signal_index=2, argv=0xbfb64c68) at kernel/qobject.cpp:3295
#24 0xb1bfd655 in KateDocManager::documentDeleted (this=0x8176208, _t1=0x8719840) at /usr/src/debug/kdesdk-4.4.4/build/kate/app/katedocmanager.moc:138
#25 0xb1bffb66 in KateDocManager::deleteDoc (this=0x8176208, doc=0x8719840) at /usr/src/debug/kdesdk-4.4.4/kate/app/katedocmanager.cpp:218
#26 0xb1c01ad6 in KateDocManager::closeDocument (this=0x8176208, doc=0x8719840, closeUrl=true) at /usr/src/debug/kdesdk-4.4.4/kate/app/katedocmanager.cpp:366
#27 0xb1c142ad in KateViewManager::slotDocumentClose (this=0x8721f58, document=0x8719840) at /usr/src/debug/kdesdk-4.4.4/kate/app/kateviewmanager.cpp:205
#28 0xb1c1691a in KateViewManager::qt_metacall (this=0x8721f58, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbfb65058) at /usr/src/debug/kdesdk-4.4.4/build/kate/app/kateviewmanager.moc:131
#29 0xb6bcdefd in QMetaObject::metacall (object=0x8721f58, cl=QMetaObject::InvokeMetaMethod, idx=38, argv=0xbfb65058) at kernel/qmetaobject.cpp:237
#30 0xb6bdcfe8 in QMetaObject::activate (sender=0x87272e0, m=0xb1c527d4, local_signal_index=0, argv=0xbfb65058) at kernel/qobject.cpp:3295
#31 0xb1c04a05 in KateFileList::closeDocument (this=0x87272e0, _t1=0x8719840) at /usr/src/debug/kdesdk-4.4.4/build/kate/app/katefilelist.moc:105
#32 0xb1c067be in KateFileList::slotDocumentClose (this=0x87272e0) at /usr/src/debug/kdesdk-4.4.4/kate/app/katefilelist.cpp:109
#33 0xb1c06a44 in KateFileList::qt_metacall (this=0x87272e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfb651d8)
    at /usr/src/debug/kdesdk-4.4.4/build/kate/app/katefilelist.moc:90
#34 0xb6bcdefd in QMetaObject::metacall (object=0x87272e0, cl=QMetaObject::InvokeMetaMethod, idx=74, argv=0xbfb651d8) at kernel/qmetaobject.cpp:237
#35 0xb6bdcfe8 in QMetaObject::activate (sender=0x84c93b0, m=0xb6a30d28, local_signal_index=1, argv=0xbfb651d8) at kernel/qobject.cpp:3295
#36 0xb60faa0d in QAction::triggered (this=0x84c93b0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#37 0xb60facab in QAction::activate (this=0x84c93b0, event=QAction::Trigger) at kernel/qaction.cpp:1255
#38 0xb6594fb5 in QMenuPrivate::activateCausedStack (this=0x8c84cd8, causedStack=..., action=0x84c93b0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1002
#39 0xb659bc87 in QMenuPrivate::activateAction (this=0x8c84cd8, action=0x84c93b0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1094
#40 0xb659d058 in QMenu::mouseReleaseEvent (this=0x8c77c30, e=0xbfb65a44) at widgets/qmenu.cpp:2312
#41 0xb6dd5f1c in KMenu::mouseReleaseEvent (this=0x8c77c30, e=0xbfb65a44) at /usr/src/debug/kdelibs-4.4.4/kdeui/widgets/kmenu.cpp:471
#42 0xb615af00 in QWidget::event (this=0x8c77c30, event=0xbfb65a44) at kernel/qwidget.cpp:8044
#43 0xb659d0dc in QMenu::event (this=0x8c77c30, e=0xbfb65a44) at widgets/qmenu.cpp:2421
#44 0xb6101c64 in QApplicationPrivate::notify_helper (this=0x80fad38, receiver=0x8c77c30, e=0xbfb65a44) at kernel/qapplication.cpp:4302
#45 0xb610a750 in QApplication::notify (this=0xbfb6575c, receiver=0x8c77c30, e=0xbfb65a44) at kernel/qapplication.cpp:3867
#46 0xb6e0b9d1 in KApplication::notify (this=0xbfb674a4, receiver=0x8c77c30, event=0xbfb65a44) at /usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#47 0xb6bc7e0e in QCoreApplication::notifyInternal (this=0xbfb674a4, receiver=0x8c77c30, event=0xbfb65a44) at kernel/qcoreapplication.cpp:726
#48 0xb6102c4c in sendSpontaneousEvent (receiver=0x8c77c30, event=0xbfb65a44, alienWidget=0x0, nativeWidget=0x8c77c30, buttonDown=0xb6a4c078, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#49 QApplicationPrivate::sendMouseEvent (receiver=0x8c77c30, event=0xbfb65a44, alienWidget=0x0, nativeWidget=0x8c77c30, buttonDown=0xb6a4c078, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#50 0xb618a766 in QETWidget::translateMouseEvent (this=0x8c77c30, event=0xbfb65f5c) at kernel/qapplication_x11.cpp:4314
#51 0xb618973e in QApplication::x11ProcessEvent (this=0xbfb674a4, event=0xbfb65f5c) at kernel/qapplication_x11.cpp:3391
#52 0xb61b2570 in x11EventSourceDispatch (s=0x80f7780, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#53 0xb584bb49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#54 0xb584c350 in ?? () from /usr/lib/libglib-2.0.so.0
#55 0xb584c60e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#56 0xb6bf3d4b in QEventDispatcherGlib::processEvents (this=0x80f8b98, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#57 0xb61b219a in QGuiEventDispatcherGlib::processEvents (this=0x80f8b98, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#58 0xb6bc711d in QEventLoop::processEvents (this=0xbfb66210, flags=...) at kernel/qeventloop.cpp:149
#59 0xb6bc7319 in QEventLoop::exec (this=0xbfb66210, flags=...) at kernel/qeventloop.cpp:201
#60 0xb6598ed7 in QMenu::exec (this=0x8c77c30, p=..., action=0x0) at widgets/qmenu.cpp:2063
#61 0xb1c0efe2 in KateMainWindow::showFileListPopup (this=0x8715830, pos=...) at /usr/src/debug/kdesdk-4.4.4/kate/app/katemainwindow.cpp:968
#62 0xb1c10847 in KateMainWindow::qt_metacall (this=0x8715830, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfb66398)
    at /usr/src/debug/kdesdk-4.4.4/build/kate/app/katemainwindow.moc:197
#63 0xb6bcdefd in QMetaObject::metacall (object=0x8715830, cl=QMetaObject::InvokeMetaMethod, idx=75, argv=0xbfb66398) at kernel/qmetaobject.cpp:237
#64 0xb6bdcfe8 in QMetaObject::activate (sender=0x87272e0, m=0xb6a31cc8, local_signal_index=0, argv=0xbfb66398) at kernel/qobject.cpp:3295
#65 0xb6150635 in QWidget::customContextMenuRequested (this=0x87272e0, _t1=...) at .moc/release-shared/moc_qwidget.cpp:360
#66 0xb1c045f2 in KateFileList::contextMenuEvent (this=0x87272e0, event=0xbfb66c1c) at /usr/src/debug/kdesdk-4.4.4/kate/app/katefilelist.cpp:97
#67 0xb615bcd4 in QWidget::event (this=0x87272e0, event=0xbfb66c1c) at kernel/qwidget.cpp:8211
#68 0xb6554765 in QFrame::event (this=0x87272e0, e=0xbfb66c1c) at widgets/qframe.cpp:557
#69 0xb65e2e01 in QAbstractScrollArea::viewportEvent (this=0x87272e0, e=0xbfb66c1c) at widgets/qabstractscrollarea.cpp:1036
#70 0xb6685284 in QAbstractItemView::viewportEvent (this=0x87272e0, event=0xbfb66c1c) at itemviews/qabstractitemview.cpp:1615
#71 0xb65e5776 in viewportEvent (this=0x8437f90, o=0x845a780, e=0xbfb66c1c) at widgets/qabstractscrollarea_p.h:100
#72 QAbstractScrollAreaFilter::eventFilter (this=0x8437f90, o=0x845a780, e=0xbfb66c1c) at widgets/qabstractscrollarea_p.h:116
#73 0xb6bc7fa6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x80fad38, receiver=0x845a780, event=0xbfb66c1c) at kernel/qcoreapplication.cpp:841
#74 0xb6101c34 in QApplicationPrivate::notify_helper (this=0x80fad38, receiver=0x845a780, e=0xbfb66c1c) at kernel/qapplication.cpp:4298
#75 0xb6109fa8 in QApplication::notify (this=0x845a780, receiver=0x845a780, e=0xbfb66c1c) at kernel/qapplication.cpp:3946
#76 0xb6e0b9d1 in KApplication::notify (this=0xbfb674a4, receiver=0x845a780, event=0xbfb66c1c) at /usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#77 0xb6bc7e0e in QCoreApplication::notifyInternal (this=0xbfb674a4, receiver=0x845a780, event=0xbfb66c1c) at kernel/qcoreapplication.cpp:726
#78 0xb618a609 in sendSpontaneousEvent (this=0x83e34b8, event=0xbfb6710c) at ../../src/corelib/kernel/qcoreapplication.h:218
#79 QETWidget::translateMouseEvent (this=0x83e34b8, event=0xbfb6710c) at kernel/qapplication_x11.cpp:4385
#80 0xb618973e in QApplication::x11ProcessEvent (this=0xbfb674a4, event=0xbfb6710c) at kernel/qapplication_x11.cpp:3391
#81 0xb61b2570 in x11EventSourceDispatch (s=0x80f7780, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#82 0xb584bb49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#83 0xb584c350 in ?? () from /usr/lib/libglib-2.0.so.0
#84 0xb584c60e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#85 0xb6bf3d4b in QEventDispatcherGlib::processEvents (this=0x80f8b98, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#86 0xb61b219a in QGuiEventDispatcherGlib::processEvents (this=0x80f8b98, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#87 0xb6bc711d in QEventLoop::processEvents (this=0xbfb673c4, flags=...) at kernel/qeventloop.cpp:149
#88 0xb6bc7319 in QEventLoop::exec (this=0xbfb673c4, flags=...) at kernel/qeventloop.cpp:201
#89 0xb6bcbc70 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#90 0xb60ff164 in QApplication::exec () at kernel/qapplication.cpp:3581
#91 0xb1cb6fed in kdemain (argc=2, argv=0x80d8b48) at /usr/src/debug/kdesdk-4.4.4/kate/app/katemain.cpp:377
#92 0x0804e5b1 in _start ()

This bug may be a duplicate of or related to bug 250336.

Possible duplicates by query: bug 250336, bug 241898, bug 220962, bug 217712.

Reported using DrKonqi
Comment 1 Christoph Feck 2010-10-23 16:42:53 UTC

*** This bug has been marked as a duplicate of bug 230426 ***