Bug 243772 - Kate crashed after closing the session remote file
Summary: Kate crashed after closing the session remote file
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-06 16:45 UTC by Vojtech Vitek (V-Teq)
Modified: 2010-07-06 17:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vojtech Vitek (V-Teq) 2010-07-06 16:45:14 UTC
Application: kate (3.4.4)
KDE Platform Version: 4.4.4 (KDE 4.4.4)
Qt Version: 4.6.2
Operating System: Linux 2.6.32.14-127.fc12.x86_64 x86_64
Distribution: "Fedora release 12 (Constantine)"

-- Information about the crash:
I had a session opened with 4 local and 4 remote (ftp) files.
I wanted to close all 4 remote files but Kate crashed while closing the 4th of them.
I could reproduce the same behaviour after opening this Kate session again.

Workaround:
I had to close just only three remote files, save the session - and afterwards I was able to successfully remove the last remote file.

The crash can be reproduced every time.

 -- Backtrace:
Application: Kate (kate), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#5  ref (this=0xfdae58, options=...) at ../../src/corelib/arch/qatomic_x86_64.h:121
#6  QString (this=0xfdae58, options=...) at ../../src/corelib/tools/qstring.h:715
#7  QUrlPrivate::userInfo (this=0xfdae58, options=...) at io/qurl.cpp:3556
#8  0x00000031c6d12ebc in QUrlPrivate::authority (this=0xfdae58, options=...) at io/qurl.cpp:3455
#9  0x00000031c6d1812e in QUrlPrivate::toEncoded (this=0xfdae58, options=...) at io/qurl.cpp:3862
#10 0x00000031c6d186ad in QUrl::toEncoded (this=<value optimized out>, options=<value optimized out>) at io/qurl.cpp:5605
#11 0x00000031c94ee381 in KUrl::url (this=0x7fffc7a05d40, trailing=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kdecore/io/kurl.cpp:1012
#12 0x0000003fb9e3bd5f in KateDocManager::data (this=<value optimized out>, index=<value optimized out>, role=<value optimized out>) at /usr/src/debug/kdesdk-4.4.4/kate/app/katedocmanager.cpp:133
#13 0x0000003fb9e68190 in KateViewDocumentProxyModel::data (this=0xeac090, index=..., role=35) at /usr/src/debug/kdesdk-4.4.4/kate/app/kateviewdocumentproxymodel.cpp:325
#14 0x0000003fb9e69e64 in KateViewDocumentProxyModel::sort (this=<value optimized out>) at /usr/src/debug/kdesdk-4.4.4/kate/app/kateviewdocumentproxymodel.cpp:637
#15 0x0000003fb9e6b1d8 in KateViewDocumentProxyModel::opened (this=0xeac090, index=...) at /usr/src/debug/kdesdk-4.4.4/kate/app/kateviewdocumentproxymodel.cpp:216
#16 0x0000003fb9e4488f in KateMainWindow::slotWindowActivated (this=0xe104c0) at /usr/src/debug/kdesdk-4.4.4/kate/app/katemainwindow.cpp:566
#17 0x0000003fb9e491b3 in KateMainWindow::qt_metacall (this=0xe104c0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc7a063d0)
    at /usr/src/debug/kdesdk-4.4.4/x86_64-redhat-linux-gnu/kate/app/katemainwindow.moc:181
#18 0x00000031c6d6a2af in QMetaObject::activate (sender=0xf06f30, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#19 0x0000003fb9e4dd4c in KateViewManager::activateView (this=0xf06f30, view=0x1128c20) at /usr/src/debug/kdesdk-4.4.4/kate/app/kateviewmanager.cpp:469
#20 0x0000003fb9e4f27f in KateViewManager::createView (this=0xf06f30, doc=<value optimized out>) at /usr/src/debug/kdesdk-4.4.4/kate/app/kateviewmanager.cpp:308
#21 0x0000003fb9e501aa in KateViewManager::qt_metacall (this=0xf06f30, _c=InvokeMetaMethod, _id=17, _a=0x7fffc7a06620)
    at /usr/src/debug/kdesdk-4.4.4/x86_64-redhat-linux-gnu/kate/app/kateviewmanager.moc:138
#22 0x00000031c6d6a2af in QMetaObject::activate (sender=0x8edbe0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffc7a06620) at kernel/qobject.cpp:3293
#23 0x0000003fb9e373b2 in KateDocManager::documentDeleted (this=<value optimized out>, _t1=0xf1f840) at /usr/src/debug/kdesdk-4.4.4/x86_64-redhat-linux-gnu/kate/app/katedocmanager.moc:138
#24 0x0000003fb9e38d2b in KateDocManager::deleteDoc (this=0x8edbe0, doc=0xf1f840) at /usr/src/debug/kdesdk-4.4.4/kate/app/katedocmanager.cpp:218
#25 0x0000003fb9e3c7d2 in KateDocManager::closeDocument (this=0x8edbe0, doc=0xf1f840, closeUrl=<value optimized out>) at /usr/src/debug/kdesdk-4.4.4/kate/app/katedocmanager.cpp:366
#26 0x0000003fb9e4bf87 in KateViewManager::slotDocumentClose (this=<value optimized out>, document=0xf1f840) at /usr/src/debug/kdesdk-4.4.4/kate/app/kateviewmanager.cpp:205
#27 0x0000003fb9e50126 in KateViewManager::qt_metacall (this=0xf06f30, _c=InvokeMetaMethod, _id=10, _a=0x7fffc7a06db0)
    at /usr/src/debug/kdesdk-4.4.4/x86_64-redhat-linux-gnu/kate/app/kateviewmanager.moc:131
#28 0x00000031c6d6a2af in QMetaObject::activate (sender=0xeafe10, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffc7a06db0) at kernel/qobject.cpp:3293
#29 0x0000003fb9e3e3df in KateFileList::closeDocument (this=<value optimized out>, _t1=0xf1f840) at /usr/src/debug/kdesdk-4.4.4/x86_64-redhat-linux-gnu/kate/app/katefilelist.moc:105
#30 0x0000003fb9e3e4b9 in KateFileList::slotDocumentClose (this=0xeafe10) at /usr/src/debug/kdesdk-4.4.4/kate/app/katefilelist.cpp:109
#31 0x0000003fb9e3ec5c in KateFileList::qt_metacall (this=0xeafe10, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc7a06f50)
    at /usr/src/debug/kdesdk-4.4.4/x86_64-redhat-linux-gnu/kate/app/katefilelist.moc:90
#32 0x00000031c6d6a2af in QMetaObject::activate (sender=0xef2860, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffc7a06f50) at kernel/qobject.cpp:3293
#33 0x000000356ffa5b12 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#34 0x000000356ffa724b in QAction::activate (this=0xef2860, event=<value optimized out>) at kernel/qaction.cpp:1255
#35 0x00000035703a9f25 in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0xef2860, action_e=Trigger, self=true) at widgets/qmenu.cpp:1011
#36 0x00000035703af6da in QMenuPrivate::activateAction (this=0xf7df90, action=0xef2860, action_e=Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#37 0x0000003fb8ad027e in KMenu::mouseReleaseEvent (this=0xf7bc70, e=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kdeui/widgets/kmenu.cpp:471
#38 0x000000356fff5bea in QWidget::event (this=0xf7bc70, event=0x7fffc7a07ba0) at kernel/qwidget.cpp:7998
#39 0x00000035703b0c8b in QMenu::event (this=0xf7bc70, e=0x7fffc7a07ba0) at widgets/qmenu.cpp:2414
#40 0x000000356ffaa99c in QApplicationPrivate::notify_helper (this=0x878460, receiver=0xf7bc70, e=0x7fffc7a07ba0) at kernel/qapplication.cpp:4304
#41 0x000000356ffb152d in QApplication::notify (this=<value optimized out>, receiver=0xf7bc70, e=0x7fffc7a07ba0) at kernel/qapplication.cpp:3869
#42 0x0000003fb8a06ba6 in KApplication::notify (this=0x7fffc7a0a3c0, receiver=0xf7bc70, event=0x7fffc7a07ba0) at /usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#43 0x00000031c6d5774c in QCoreApplication::notifyInternal (this=0x7fffc7a0a3c0, receiver=0xf7bc70, event=0x7fffc7a07ba0) at kernel/qcoreapplication.cpp:704
#44 0x000000356ffb071e in sendEvent (receiver=0xf7bc70, event=0x7fffc7a07ba0, alienWidget=0x0, nativeWidget=0xf7bc70, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#45 QApplicationPrivate::sendMouseEvent (receiver=0xf7bc70, event=0x7fffc7a07ba0, alienWidget=0x0, nativeWidget=0xf7bc70, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2969
#46 0x00000035700228f5 in QETWidget::translateMouseEvent (this=0xf7bc70, event=<value optimized out>) at kernel/qapplication_x11.cpp:4307
#47 0x00000035700211d8 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffc7a084c0) at kernel/qapplication_x11.cpp:3506
#48 0x0000003570049e32 in x11EventSourceDispatch (s=0x878060, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#49 0x00000030dc83923e in g_main_dispatch (context=0x876c50) at gmain.c:1960
#50 IA__g_main_context_dispatch (context=0x876c50) at gmain.c:2513
#51 0x00000030dc83cc28 in g_main_context_iterate (context=0x876c50, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#52 0x00000030dc83cd4a in IA__g_main_context_iteration (context=0x876c50, may_block=1) at gmain.c:2654
#53 0x00000031c6d7d063 in QEventDispatcherGlib::processEvents (this=0x853050, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#54 0x0000003570049afe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#55 0x00000031c6d56192 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#56 0x00000031c6d5645c in QEventLoop::exec (this=0x7fffc7a087f0, flags=...) at kernel/qeventloop.cpp:201
#57 0x00000035703ace15 in QMenu::exec (this=0xf7bc70, p=<value optimized out>, action=0x0) at widgets/qmenu.cpp:2063
#58 0x0000003fb9e437eb in KateMainWindow::showFileListPopup (this=0xe104c0, pos=...) at /usr/src/debug/kdesdk-4.4.4/kate/app/katemainwindow.cpp:968
#59 0x0000003fb9e490c5 in KateMainWindow::qt_metacall (this=0xe104c0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc7a089e0)
    at /usr/src/debug/kdesdk-4.4.4/x86_64-redhat-linux-gnu/kate/app/katemainwindow.moc:197
#60 0x00000031c6d6a2af in QMetaObject::activate (sender=0xeafe10, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffc7a089e0) at kernel/qobject.cpp:3293
#61 0x000000356ffe9b02 in QWidget::customContextMenuRequested (this=<value optimized out>, _t1=...) at .moc/release-shared/moc_qwidget.cpp:360
#62 0x0000003fb9e3e1d1 in KateFileList::contextMenuEvent (this=0xeafe10, event=0x7fffc7a09600) at /usr/src/debug/kdesdk-4.4.4/kate/app/katefilelist.cpp:97
#63 0x000000356fff55d0 in QWidget::event (this=0xeafe10, event=0x7fffc7a09600) at kernel/qwidget.cpp:8165
#64 0x0000003570370726 in QFrame::event (this=0xeafe10, e=0x7fffc7a09600) at widgets/qframe.cpp:557
#65 0x0000003570485bdb in QAbstractItemView::viewportEvent (this=0xeafe10, event=0x7fffc7a09600) at itemviews/qabstractitemview.cpp:1610
#66 0x00000031c6d56b67 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0xeb1010, event=0x7fffc7a09600) at kernel/qcoreapplication.cpp:819
#67 0x000000356ffaa96c in QApplicationPrivate::notify_helper (this=0x878460, receiver=0xeb1010, e=0x7fffc7a09600) at kernel/qapplication.cpp:4300
#68 0x000000356ffb0f1e in QApplication::notify (this=<value optimized out>, receiver=0xeb1010, e=0x7fffc7a09600) at kernel/qapplication.cpp:3948
#69 0x0000003fb8a06ba6 in KApplication::notify (this=0x7fffc7a0a3c0, receiver=0xeb1010, event=0x7fffc7a09600) at /usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#70 0x00000031c6d5774c in QCoreApplication::notifyInternal (this=0x7fffc7a0a3c0, receiver=0xeb1010, event=0x7fffc7a09600) at kernel/qcoreapplication.cpp:704
#71 0x0000003570022a8e in QETWidget::translateMouseEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4378
#72 0x00000035700211d8 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffc7a09f50) at kernel/qapplication_x11.cpp:3506
#73 0x0000003570049e32 in x11EventSourceDispatch (s=0x878060, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#74 0x00000030dc83923e in g_main_dispatch (context=0x876c50) at gmain.c:1960
#75 IA__g_main_context_dispatch (context=0x876c50) at gmain.c:2513
#76 0x00000030dc83cc28 in g_main_context_iterate (context=0x876c50, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#77 0x00000030dc83cd4a in IA__g_main_context_iteration (context=0x876c50, may_block=1) at gmain.c:2654
#78 0x00000031c6d7d063 in QEventDispatcherGlib::processEvents (this=0x853050, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#79 0x0000003570049afe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#80 0x00000031c6d56192 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#81 0x00000031c6d5645c in QEventLoop::exec (this=0x7fffc7a0a280, flags=...) at kernel/qeventloop.cpp:201
#82 0x00000031c6d58749 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#83 0x0000003fba205b9d in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdesdk-4.4.4/kate/app/katemain.cpp:377
#84 0x00000030db01eb1d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fffc7a0b948) at libc-start.c:226
#85 0x00000000004006c9 in _start ()

Reported using DrKonqi
Comment 1 Dominik Haumann 2010-07-06 17:10:10 UTC
Should be fixed, as far as i remember... at least for KDE 4.5. If you still have the issue in KDE 4.5, please reopen then.