Application: kate (3.4.3) KDE Platform Version: 4.4.3 (KDE 4.4.3) Qt Version: 4.6.2 Operating System: Linux 2.6.32.12-115.fc12.i686.PAE i686 -- Information about the crash: Excuse me for my english. The title is a bit cryptic, I'll describe the crash a little better. I open kate and select the saved session i need, then I close the first file I have in view, then kate crashes. Possible reason: When I close a file, kate shows me the 'last accessed file' before the one I'm workin on. But, if I open kate and close the current file, kate doesn't have a 'last accessed file' list, or better, the last accessed file list is empty, so (maybe) it try to activate a 'null' list entry. The crash can be reproduced every time. -- Backtrace: Application: Kate (kate), signal: Segmentation fault [KCrash Handler] #6 ref (this=0xbfafea8c, other=...) at ../../src/corelib/arch/qatomic_i386.h:120 #7 QUrl::QUrl (this=0xbfafea8c, other=...) at io/qurl.cpp:4117 #8 0x059fcafa in KUrl::KUrl (this=0xbfafea8c, _u=...) at /usr/src/debug/kdelibs-4.4.3/kdecore/io/kurl.cpp:472 #9 0x00825f20 in KParts::ReadOnlyPart::url (this=0xa33b620) at /usr/src/debug/kdelibs-4.4.3/kparts/part.cpp:465 #10 0x06c661f4 in KateDocManager::data (this=0x9f7d9b0, index=..., role=35) at /usr/src/debug/kdesdk-4.4.3/kate/app/katedocmanager.cpp:133 #11 0x06c98116 in KateViewDocumentProxyModel::data (this=0xa32a488, index=..., role=35) at /usr/src/debug/kdesdk-4.4.3/kate/app/kateviewdocumentproxymodel.cpp:325 #12 0x06c9a003 in KateViewDocumentProxyModel::sort (this=0xa32a488) at /usr/src/debug/kdesdk-4.4.3/kate/app/kateviewdocumentproxymodel.cpp:637 #13 0x06c9b548 in KateViewDocumentProxyModel::opened (this=0xa32a488, index=...) at /usr/src/debug/kdesdk-4.4.3/kate/app/kateviewdocumentproxymodel.cpp:216 #14 0x06c700f6 in KateMainWindow::slotWindowActivated (this=0xa31cb98) at /usr/src/debug/kdesdk-4.4.3/kate/app/katemainwindow.cpp:566 #15 0x06c75865 in KateMainWindow::qt_metacall (this=0xa31cb98, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0xbfafeedc) at /usr/src/debug/kdesdk-4.4.3/i686-redhat-linux-gnu/kate/app/katemainwindow.moc:181 #16 0x058195db in QMetaObject::metacall (object=0xa31cb98, cl=InvokeMetaMethod, idx=59, argv=0xbfafeedc) at kernel/qmetaobject.cpp:237 #17 0x058284af in QMetaObject::activate (sender=0xa3a2e58, m=0x6cb8664, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3293 #18 0x06c789a8 in KateViewManager::viewChanged (this=0xa3a2e58) at /usr/src/debug/kdesdk-4.4.3/i686-redhat-linux-gnu/kate/app/kateviewmanager.moc:164 #19 0x06c7adb1 in KateViewManager::activateView (this=0xa3a2e58, view=0xa334ee0) at /usr/src/debug/kdesdk-4.4.3/kate/app/kateviewmanager.cpp:469 #20 0x06c7bc82 in KateViewManager::createView (this=0xa3a2e58, doc=<value optimized out>) at /usr/src/debug/kdesdk-4.4.3/kate/app/kateviewmanager.cpp:308 #21 0x06c7d288 in KateViewManager::qt_metacall (this=0xa3a2e58, _c=InvokeMetaMethod, _id=17, _a=0xbfaff0e8) at /usr/src/debug/kdesdk-4.4.3/i686-redhat-linux-gnu/kate/app/kateviewmanager.moc:138 #22 0x058195db in QMetaObject::metacall (object=0xa3a2e58, cl=InvokeMetaMethod, idx=45, argv=0xbfaff0e8) at kernel/qmetaobject.cpp:237 #23 0x058284af in QMetaObject::activate (sender=0x9f7d9b0, m=0x6cb7894, local_signal_index=2, argv=0xbfaff0e8) at kernel/qobject.cpp:3293 #24 0x06c61034 in KateDocManager::documentDeleted (this=0x9f7d9b0, _t1=0xa33b620) at /usr/src/debug/kdesdk-4.4.3/i686-redhat-linux-gnu/kate/app/katedocmanager.moc:138 #25 0x06c62c51 in KateDocManager::deleteDoc (this=0x9f7d9b0, doc=0xa33b620) at /usr/src/debug/kdesdk-4.4.3/kate/app/katedocmanager.cpp:218 #26 0x06c66a69 in KateDocManager::closeDocument (this=0x9f7d9b0, doc=0xa33b620, closeUrl=true) at /usr/src/debug/kdesdk-4.4.3/kate/app/katedocmanager.cpp:366 #27 0x06c78aa9 in KateViewManager::slotDocumentClose (this=0xa3a2e58, document=0xa33b620) at /usr/src/debug/kdesdk-4.4.3/kate/app/kateviewmanager.cpp:205 #28 0x06c7b956 in KateViewManager::slotDocumentClose (this=0xa3a2e58) at /usr/src/debug/kdesdk-4.4.3/kate/app/kateviewmanager.cpp:214 #29 0x06c7d1cc in KateViewManager::qt_metacall (this=0xa3a2e58, _c=InvokeMetaMethod, _id=9, _a=0xbfaff598) at /usr/src/debug/kdesdk-4.4.3/i686-redhat-linux-gnu/kate/app/kateviewmanager.moc:130 #30 0x058195db in QMetaObject::metacall (object=0xa3a2e58, cl=InvokeMetaMethod, idx=37, argv=0xbfaff598) at kernel/qmetaobject.cpp:237 #31 0x058284af in QMetaObject::activate (sender=0xa3a0b58, m=0x66d43d8, local_signal_index=1, argv=0xbfaff598) at kernel/qobject.cpp:3293 #32 0x05dea51a in QAction::triggered (this=0xa3a0b58, _t1=false) at .moc/release-shared/moc_qaction.cpp:263 #33 0x05debeac in QAction::activate (this=0xa3a0b58, event=Trigger) at kernel/qaction.cpp:1255 #34 0x06299cb3 in trigger (this=0xa3c0ae8) at ../../src/gui/kernel/qaction.h:218 #35 QToolButton::nextCheckState (this=0xa3c0ae8) at widgets/qtoolbutton.cpp:1147 #36 0x061c88b4 in QAbstractButtonPrivate::click (this=0xa3c0b98) at widgets/qabstractbutton.cpp:528 #37 0x061c8bbe in QAbstractButton::mouseReleaseEvent (this=0xa3c0ae8, e=0xbfaffd10) at widgets/qabstractbutton.cpp:1121 #38 0x0629a16d in QToolButton::mouseReleaseEvent (this=0xa3c0ae8, e=0xbfaffd10) at widgets/qtoolbutton.cpp:721 #39 0x05e42b2d in QWidget::event (this=0xa3c0ae8, event=0xbfaffd10) at kernel/qwidget.cpp:7998 #40 0x061c755f in QAbstractButton::event (this=0xa3c0ae8, e=0xbfaffd10) at widgets/qabstractbutton.cpp:1080 #41 0x0629c6db in QToolButton::event (this=0xa3c0ae8, event=0xbfaffd10) at widgets/qtoolbutton.cpp:1163 #42 0x05defd2c in QApplicationPrivate::notify_helper (this=0x9f031e8, receiver=0xa3c0ae8, e=0xbfaffd10) at kernel/qapplication.cpp:4300 #43 0x05df70fe in QApplication::notify (this=0xbfb00614, receiver=0xa3c0ae8, e=0xbfaffd10) at kernel/qapplication.cpp:3865 #44 0x068b67eb in KApplication::notify (this=0xbfb00614, receiver=0xa3c0ae8, event=0xbfaffd10) at /usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302 #45 0x05814c03 in QCoreApplication::notifyInternal (this=0xbfb00614, receiver=0xa3c0ae8, event=0xbfaffd10) at kernel/qcoreapplication.cpp:704 #46 0x05df5e68 in sendEvent (receiver=0xa3c0ae8, event=0xbfaffd10, alienWidget=0xa3c0ae8, nativeWidget=0xa384e70, buttonDown=0x66ef638, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215 #47 QApplicationPrivate::sendMouseEvent (receiver=0xa3c0ae8, event=0xbfaffd10, alienWidget=0xa3c0ae8, nativeWidget=0xa384e70, buttonDown=0x66ef638, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2965 #48 0x05e730d0 in QETWidget::translateMouseEvent (this=0xa384e70, event=0xbfb0022c) at kernel/qapplication_x11.cpp:4373 #49 0x05e725e3 in QApplication::x11ProcessEvent (this=0xbfb00614, event=0xbfb0022c) at kernel/qapplication_x11.cpp:3384 #50 0x05e9e4fa in x11EventSourceDispatch (s=0x9f05140, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #51 0x003acfb8 in g_main_dispatch (context=0x9f06cd8) at gmain.c:1960 #52 IA__g_main_context_dispatch (context=0x9f06cd8) at gmain.c:2513 #53 0x003b08e8 in g_main_context_iterate (context=0xc4aeb0, block=1, dispatch=1, self=0x9f049c0) at gmain.c:2591 #54 0x003b0a14 in IA__g_main_context_iteration (context=0x9f06cd8, may_block=1) at gmain.c:2654 #55 0x0583ce46 in QEventDispatcherGlib::processEvents (this=0x9ee8540, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #56 0x05e9e0e6 in QGuiEventDispatcherGlib::processEvents (this=0x9ee8540, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #57 0x058132da in QEventLoop::processEvents (this=0xbfb00524, flags=...) at kernel/qeventloop.cpp:149 #58 0x0581361a in QEventLoop::exec (this=0xbfb00524, flags=...) at kernel/qeventloop.cpp:201 #59 0x05815ce7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #60 0x05defdd8 in QApplication::exec () at kernel/qapplication.cpp:3579 #61 0x006d283d in kdemain (argc=2, argv=0xbfb00cb4) at /usr/src/debug/kdesdk-4.4.3/kate/app/katemain.cpp:377 #62 0x0804864c in main (argc=2, argv=0xbfb00cb4) at /usr/src/debug/kdesdk-4.4.3/i686-redhat-linux-gnu/kate/app/kate_dummy.cpp:3 Possible duplicates by query: bug 217712. Reported using DrKonqi
*** This bug has been marked as a duplicate of bug 230426 ***