Bug 199902 - kate crashes when using fish kio slave in specific circumstances
Summary: kate crashes when using fish kio slave in specific circumstances
Status: RESOLVED DUPLICATE of bug 190535
Alias: None
Product: kfile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords: testcase
Depends on:
Blocks:
 
Reported: 2009-07-12 18:29 UTC by Mike Williams
Modified: 2010-10-12 16:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kate crash backtrace (14.56 KB, text/plain)
2009-07-12 18:30 UTC, Mike Williams
Details
bug stage one screenshot (61.25 KB, image/png)
2009-07-12 18:31 UTC, Mike Williams
Details
bug stage 2 screenshot (83.51 KB, image/png)
2009-07-12 18:31 UTC, Mike Williams
Details
bug stage 3 screenshot (65.69 KB, image/png)
2009-07-12 18:31 UTC, Mike Williams
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Williams 2009-07-12 18:29:06 UTC
Version:            (using KDE 4.2.4)
OS:                Linux
Installed from:    Ubuntu Packages

Kate crashes when using the fish protocol in a certain way.

For instance:

1. Open kate, select the open file dialog.

2. Open fish://yoursitehere.com (Do not include a username or password in the url) in the filename entry box.

3. My site takes a different username than my own computer. In the username / password dialog, I enter them both correctly, and also check "Remember my settings"

4. Kate starts loading the folder. 

5. Kate prompts for the username and password again, with the correct credentials already filled in, and "Remember my settings" still checked. Kate should not prompt again, for one thing.

6. Kate crashes after clicking ok.

I would guess this bug affects more than just fish, but I haven't tested it.
Comment 1 Mike Williams 2009-07-12 18:30:16 UTC
Created attachment 35250 [details]
kate crash backtrace
Comment 2 Mike Williams 2009-07-12 18:31:03 UTC
Created attachment 35251 [details]
bug stage one screenshot
Comment 3 Mike Williams 2009-07-12 18:31:31 UTC
Created attachment 35252 [details]
bug stage 2 screenshot
Comment 4 Mike Williams 2009-07-12 18:31:54 UTC
Created attachment 35253 [details]
bug stage 3 screenshot
Comment 5 Andreas Pakulat 2009-07-12 19:08:46 UTC
clearly a problem in the filedialog as far as I can see.
Comment 6 Mike Williams 2009-07-12 19:13:12 UTC
Indeed, I tried it in konqueror's dialog and it crashed it as well.

Thanks for the fast follow-up.
Comment 7 Dario Andres 2009-07-13 15:15:54 UTC
Inline backtrace:

Application: Kate (kate), signal SIGSEGV

Thread 1 (Thread 0xb59b7700 (LWP 2483)):
[KCrash Handler]
#6  0xb7d18848 in KDirModelNode::rowNumber (this=0x0) at /build/buildd/kde4libs-4.2.2/kio/kio/kdirmodel.cpp:115
#7  0xb7d188f0 in KDirModelPrivate::indexForNode (this=0x87027a8, node=0x0, rowNumber=-1) at /build/buildd/kde4libs-4.2.2/kio/kio/kdirmodel.cpp:279
#8  0xb7d1d22e in KDirModelPrivate::_k_slotNewItems (this=0x87027a8, directoryUrl=@0x8842448, items=@0x8842450) at /build/buildd/kde4libs-4.2.2/kio/kio/kdirmodel.cpp:372
#9  0xb7d1e5cc in KDirModel::qt_metacall (this=0x8707418, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfd8f928) at /build/buildd/kde4libs-4.2.2/obj-i486-linux-gnu/kio/kdirmodel.moc:78
#10 0xb6997ca8 in QMetaObject::activate (sender=0x8708028, from_signal_index=14, to_signal_index=14, argv=0xbfd8f928) at kernel/qobject.cpp:3069
#11 0xb6998932 in QMetaObject::activate (sender=0x8708028, m=0xb7e8d07c, local_signal_index=10, argv=0xbfd8f928) at kernel/qobject.cpp:3143
#12 0xb7d01ae9 in KDirLister::itemsAdded (this=0x8708028, _t1=@0x8842448, _t2=@0x8842450) at /build/buildd/kde4libs-4.2.2/obj-i486-linux-gnu/kio/kdirlister.moc:268
#13 0xb7d02ce6 in KDirLister::Private::emitItems (this=0x8707358) at /build/buildd/kde4libs-4.2.2/kio/kio/kdirlister.cpp:2274
#14 0xb7d07bb5 in KDirListerCache::slotEntries (this=0x8475118, job=0x8758bf8, entries=@0xbfd8fea4) at /build/buildd/kde4libs-4.2.2/kio/kio/kdirlister.cpp:1089
#15 0xb7d13c43 in KDirListerCache::qt_metacall (this=0x8475118, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfd8fba8) at /build/buildd/kde4libs-4.2.2/obj-i486-linux-gnu/kio/kdirlister_p.moc:98
#16 0xb6997ca8 in QMetaObject::activate (sender=0x8758bf8, from_signal_index=40, to_signal_index=40, argv=0xbfd8fba8) at kernel/qobject.cpp:3069
#17 0xb6998932 in QMetaObject::activate (sender=0x8758bf8, m=0xb7e8c3e0, local_signal_index=0, argv=0xbfd8fba8) at kernel/qobject.cpp:3143
#18 0xb7cdaf39 in KIO::ListJob::entries (this=0x8758bf8, _t1=0x8758bf8, _t2=@0xbfd8fea4) at /build/buildd/kde4libs-4.2.2/obj-i486-linux-gnu/kio/jobclasses.moc:781
#19 0xb7ce13f8 in KIO::ListJobPrivate::slotListEntries (this=0x8758b70, list=@0xbfd8fea4) at /build/buildd/kde4libs-4.2.2/kio/kio/job.cpp:2351
#20 0xb7ce2970 in KIO::ListJob::qt_metacall (this=0x8758bf8, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfd8fd6c) at /build/buildd/kde4libs-4.2.2/obj-i486-linux-gnu/kio/jobclasses.moc:767
#21 0xb6997ca8 in QMetaObject::activate (sender=0x86dfe10, from_signal_index=10, to_signal_index=10, argv=0xbfd8fd6c) at kernel/qobject.cpp:3069
#22 0xb6998932 in QMetaObject::activate (sender=0x86dfe10, m=0xb7e8ee64, local_signal_index=6, argv=0xbfd8fd6c) at kernel/qobject.cpp:3143
#23 0xb7da2883 in KIO::SlaveInterface::listEntries (this=0x86dfe10, _t1=@0xbfd8fea4) at /build/buildd/kde4libs-4.2.2/obj-i486-linux-gnu/kio/slaveinterface.moc:179
#24 0xb7da65b9 in KIO::SlaveInterface::dispatch (this=0x86dfe10, _cmd=106, rawdata=@0xbfd8fef4) at /build/buildd/kde4libs-4.2.2/kio/kio/slaveinterface.cpp:193
#25 0xb7da2e17 in KIO::SlaveInterface::dispatch (this=0x86dfe10) at /build/buildd/kde4libs-4.2.2/kio/kio/slaveinterface.cpp:91
#26 0xb7d931bd in KIO::Slave::gotInput (this=0x86dfe10) at /build/buildd/kde4libs-4.2.2/kio/kio/slave.cpp:322
#27 0xb7d95713 in KIO::Slave::qt_metacall (this=0x86dfe10, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfd90008) at /build/buildd/kde4libs-4.2.2/obj-i486-linux-gnu/kio/slave.moc:76
#28 0xb6997ca8 in QMetaObject::activate (sender=0x8781628, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3069
#29 0xb6998932 in QMetaObject::activate (sender=0x8781628, m=0xb7e8b940, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3143
#30 0xb7caaea7 in KIO::Connection::readyRead (this=0x8781628) at /build/buildd/kde4libs-4.2.2/obj-i486-linux-gnu/kio/connection.moc:86
#31 0xb7cac813 in KIO::ConnectionPrivate::dequeue (this=0x877fc68) at /build/buildd/kde4libs-4.2.2/kio/kio/connection.cpp:82
#32 0xb7cacbf6 in KIO::Connection::qt_metacall (this=0x8781628, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x8754660) at /build/buildd/kde4libs-4.2.2/obj-i486-linux-gnu/kio/connection.moc:73
#33 0xb69908fb in QMetaCallEvent::placeMetaCall (this=0x87d4d68, object=0x8781628) at kernel/qobject.cpp:489
#34 0xb69923a0 in QObject::event (this=0x8781628, e=0x87d4d68) at kernel/qobject.cpp:1118
#35 0xb6e52e9c in QApplicationPrivate::notify_helper (this=0x81aade8, receiver=0x8781628, e=0x87d4d68) at kernel/qapplication.cpp:4084
#36 0xb6e5b19e in QApplication::notify (this=0xbfd93258, receiver=0x8781628, e=0x87d4d68) at kernel/qapplication.cpp:3631
#37 0xb7a7694d in KApplication::notify (this=0xbfd93258, receiver=0x8781628, event=0x87d4d68) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#38 0xb6981a3b in QCoreApplication::notifyInternal (this=0xbfd93258, receiver=0x8781628, event=0x87d4d68) at kernel/qcoreapplication.cpp:602
#39 0xb6982695 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8193110) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#40 0xb698288d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1132
#41 0xb69ad7ef in postEventSourceDispatch (s=0x81acf78) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#42 0xb5d35b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#43 0xb5d390eb in ?? () from /usr/lib/libglib-2.0.so.0
#44 0xb5d39268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#45 0xb69ad438 in QEventDispatcherGlib::processEvents (this=0x8197c68, flags={i = -1076296040}) at kernel/qeventdispatcher_glib.cpp:323
#46 0xb6ef4365 in QGuiEventDispatcherGlib::processEvents (this=0x8197c68, flags={i = -1076295992}) at kernel/qguieventdispatcher_glib.cpp:202
#47 0xb698006a in QEventLoop::processEvents (this=0xbfd90744, flags={i = -1076295928}) at kernel/qeventloop.cpp:149
#48 0xb69804aa in QEventLoop::exec (this=0xbfd90744, flags={i = -1076295860}) at kernel/qeventloop.cpp:200
#49 0xb7d7723b in KIO::NetAccess::enter_loop (this=0xbfd907b0) at /build/buildd/kde4libs-4.2.2/kio/kio/netaccess.cpp:502
#50 0xb7d778ff in KIO::NetAccess::synchronousRunInternal (this=0xbfd907b0, job=0x8783110, window=0x0, data=0x0, finalURL=0x0, metaData=0x0) at /build/buildd/kde4libs-4.2.2/kio/kio/netaccess.cpp:487
#51 0xb7d77fb1 in KIO::NetAccess::synchronousRun (job=0x8783110, window=0x0, data=0x0, finalURL=0x0, metaData=0x0) at /build/buildd/kde4libs-4.2.2/kio/kio/netaccess.cpp:277
#52 0xb5c51326 in KFileWidget::slotOk (this=0x86ce918) at /build/buildd/kde4libs-4.2.2/kfile/kfilewidget.cpp:892
#53 0xb5c51a25 in KFileWidget::slotOk (this=0x86ce918) at /build/buildd/kde4libs-4.2.2/kfile/kfilewidget.cpp:860
#54 0xb5c50090 in KFileWidget::qt_metacall (this=0x86ce918, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfd90bfc) at /build/buildd/kde4libs-4.2.2/kfile/kfilewidget.cpp:1374
#55 0xb6997ca8 in QMetaObject::activate (sender=0x871c260, from_signal_index=52, to_signal_index=52, argv=0xbfd90bfc) at kernel/qobject.cpp:3069
#56 0xb6998932 in QMetaObject::activate (sender=0x871c260, m=0xb7c1c71c, local_signal_index=1, argv=0xbfd90bfc) at kernel/qobject.cpp:3143
#57 0xb7b2ea23 in KComboBox::returnPressed (this=0x871c260, _t1=@0xbfd90d70) at /build/buildd/kde4libs-4.2.2/obj-i486-linux-gnu/kdeui/kcombobox.moc:169
#58 0xb7b2fff5 in KComboBox::qt_metacall (this=0x871c260, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfd90d3c) at /build/buildd/kde4libs-4.2.2/obj-i486-linux-gnu/kdeui/kcombobox.moc:106
#59 0xb7e2f27a in KUrlComboBox::qt_metacall (this=0x871c260, _c=QMetaObject::InvokeMetaMethod, _id=52, _a=0xbfd90d3c) at /build/buildd/kde4libs-4.2.2/obj-i486-linux-gnu/kio/kurlcombobox.moc:70
#60 0xb6997ca8 in QMetaObject::activate (sender=0x871c8e8, from_signal_index=47, to_signal_index=47, argv=0xbfd90d3c) at kernel/qobject.cpp:3069
#61 0xb6998932 in QMetaObject::activate (sender=0x871c8e8, m=0xb7c1dd40, local_signal_index=1, argv=0xbfd90d3c) at kernel/qobject.cpp:3143
#62 0xb7b4e193 in KLineEdit::returnPressed (this=0x871c8e8, _t1=@0xbfd90d70) at /build/buildd/kde4libs-4.2.2/obj-i486-linux-gnu/kdeui/klineedit.moc:220
#63 0xb7b53d55 in KLineEdit::event (this=0x871c8e8, ev=0xbfd9128c) at /build/buildd/kde4libs-4.2.2/kdeui/widgets/klineedit.cpp:1295
#64 0xb72529cb in QComboBox::keyPressEvent (this=0x871c260, e=0xbfd9128c) at widgets/qcombobox.cpp:2855
#65 0xb6ea9a03 in QWidget::event (this=0x871c260, event=0xbfd9128c) at kernel/qwidget.cpp:7551
#66 0xb725132f in QComboBox::event (this=0x871c260, event=0xbfd9128c) at widgets/qcombobox.cpp:2674
#67 0xb6e52e9c in QApplicationPrivate::notify_helper (this=0x81aade8, receiver=0x871c260, e=0xbfd9128c) at kernel/qapplication.cpp:4084
#68 0xb6e5c25b in QApplication::notify (this=0xbfd93258, receiver=0x871c260, e=0xbfd9128c) at kernel/qapplication.cpp:3690
#69 0xb7a7694d in KApplication::notify (this=0xbfd93258, receiver=0x871c260, event=0xbfd9128c) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#70 0xb6981a3b in QCoreApplication::notifyInternal (this=0xbfd93258, receiver=0x871c260, event=0xbfd9128c) at kernel/qcoreapplication.cpp:602
#71 0xb6e53d7e in qt_sendSpontaneousEvent (receiver=0x871c260, event=0xffffffff) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#72 0xb6ef1010 in QKeyMapper::sendKeyEvent (keyWidget=0x871c260, grab=false, type=QEvent::KeyPress, code=16777220, modifiers={i = -1076292648}, text=@0xbfd91404, autorepeat=<value optimized out>, 
    count=<value optimized out>, nativeScanCode=36, nativeVirtualKey=65293, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1675
#73 0xb6ef31de in QKeyMapperPrivate::translateKeyEvent (this=0x81d4128, keyWidget=0x871c260, event=0xbfd91a6c, grab=false) at kernel/qkeymapper_x11.cpp:1645
#74 0xb6ec8d6e in QApplication::x11ProcessEvent (this=0xbfd93258, event=0xbfd91a6c) at kernel/qapplication_x11.cpp:3436
#75 0xb6ef4c6a in x11EventSourceDispatch (s=0x81ade00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#76 0xb5d35b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#77 0xb5d390eb in ?? () from /usr/lib/libglib-2.0.so.0
#78 0xb5d39268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#79 0xb69ad438 in QEventDispatcherGlib::processEvents (this=0x8197c68, flags={i = -1076290520}) at kernel/qeventdispatcher_glib.cpp:323
#80 0xb6ef4365 in QGuiEventDispatcherGlib::processEvents (this=0x8197c68, flags={i = -1076290472}) at kernel/qguieventdispatcher_glib.cpp:202
#81 0xb698006a in QEventLoop::processEvents (this=0xbfd91ccc, flags={i = -1076290408}) at kernel/qeventloop.cpp:149
#82 0xb69804aa in QEventLoop::exec (this=0xbfd91ccc, flags={i = -1076290348}) at kernel/qeventloop.cpp:200
#83 0xb736d403 in QDialog::exec (this=0xbfd91d1c) at dialogs/qdialog.cpp:498
#84 0xb7de51a6 in KEncodingFileDialog::getOpenUrlsAndEncoding (encoding=@0x82da270, startDir=@0xbfd91e08, filter=@0xbfd91e04, parent=0x8337898, caption=@0xbfd91e00)
    at /build/buildd/kde4libs-4.2.2/kio/kfile/kencodingfiledialog.cpp:162
#85 0xb7f1bd12 in ?? () from /usr/lib/libkateinterfaces.so.4
#86 0xb7f1c350 in ?? () from /usr/lib/libkateinterfaces.so.4
#87 0xb6997ca8 in QMetaObject::activate (sender=0x836d2a0, from_signal_index=5, to_signal_index=6, argv=0xbfd91f2c) at kernel/qobject.cpp:3069
#88 0xb69980e0 in QMetaObject::activate (sender=0x836d2a0, m=0xb76df008, from_local_signal_index=1, to_local_signal_index=2, argv=0xbfd91f2c) at kernel/qobject.cpp:3163
#89 0xb6e4c891 in QAction::triggered (this=0x836d2a0, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#90 0xb6e4de0f in QAction::activate (this=0x836d2a0, event=QAction::Trigger) at kernel/qaction.cpp:1160
#91 0xb72c801c in QMenuPrivate::activateCausedStack (this=0x84619c0, causedStack=@0xbfd92008, action=0x836d2a0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:962
#92 0xb72ce76b in QMenuPrivate::activateAction (this=0x84619c0, action=0x836d2a0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1058
#93 0xb72d0351 in QMenu::keyPressEvent (this=0x84638c0, e=0xbfd9267c) at widgets/qmenu.cpp:2685
#94 0xb7b5e42d in KMenu::keyPressEvent (this=0x84638c0, e=0xbfd9267c) at /build/buildd/kde4libs-4.2.2/kdeui/widgets/kmenu.cpp:228
#95 0xb6ea9a03 in QWidget::event (this=0x84638c0, event=0xbfd9267c) at kernel/qwidget.cpp:7551
#96 0xb72d1629 in QMenu::event (this=0x84638c0, e=0xbfd9267c) at widgets/qmenu.cpp:2351
#97 0xb6e52e9c in QApplicationPrivate::notify_helper (this=0x81aade8, receiver=0x84638c0, e=0xbfd9267c) at kernel/qapplication.cpp:4084
#98 0xb6e5c25b in QApplication::notify (this=0xbfd93258, receiver=0x84638c0, e=0xbfd9267c) at kernel/qapplication.cpp:3690
#99 0xb7a7694d in KApplication::notify (this=0xbfd93258, receiver=0x84638c0, event=0xbfd9267c) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#100 0xb6981a3b in QCoreApplication::notifyInternal (this=0xbfd93258, receiver=0x84638c0, event=0xbfd9267c) at kernel/qcoreapplication.cpp:602
#101 0xb6e53d7e in qt_sendSpontaneousEvent (receiver=0x84638c0, event=0xffffffff) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#102 0xb6ef1010 in QKeyMapper::sendKeyEvent (keyWidget=0x84638c0, grab=false, type=QEvent::KeyPress, code=79, modifiers={i = -1076287544}, text=@0xbfd927f4, autorepeat=<value optimized out>, 
    count=<value optimized out>, nativeScanCode=32, nativeVirtualKey=111, nativeModifiers=8) at kernel/qkeymapper_x11.cpp:1675
#103 0xb6ef31de in QKeyMapperPrivate::translateKeyEvent (this=0x81d4128, keyWidget=0x84638c0, event=0xbfd92e5c, grab=false) at kernel/qkeymapper_x11.cpp:1645
#104 0xb6ec8d6e in QApplication::x11ProcessEvent (this=0xbfd93258, event=0xbfd92e5c) at kernel/qapplication_x11.cpp:3436
#105 0xb6ef4c6a in x11EventSourceDispatch (s=0x81ade00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#106 0xb5d35b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#107 0xb5d390eb in ?? () from /usr/lib/libglib-2.0.so.0
#108 0xb5d39268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#109 0xb69ad438 in QEventDispatcherGlib::processEvents (this=0x8197c68, flags={i = -1076285416}) at kernel/qeventdispatcher_glib.cpp:323
#110 0xb6ef4365 in QGuiEventDispatcherGlib::processEvents (this=0x8197c68, flags={i = -1076285368}) at kernel/qguieventdispatcher_glib.cpp:202
#111 0xb698006a in QEventLoop::processEvents (this=0xbfd930c0, flags={i = -1076285304}) at kernel/qeventloop.cpp:149
#112 0xb69804aa in QEventLoop::exec (this=0xbfd930c0, flags={i = -1076285240}) at kernel/qeventloop.cpp:200
#113 0xb6982959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#114 0xb6e52d17 in QApplication::exec () at kernel/qapplication.cpp:3553
#115 0xb7f5573d in kdemain () from /usr/lib/libkdeinit4_kate.so
#116 0x08048672 in _start ()
Comment 8 Dario Andres 2009-07-13 15:19:01 UTC
This looks related to bug 195237 / bug 192594 / bug 190535 / bug 192770
Thanks
Comment 9 Christoph Feck 2010-10-12 16:06:39 UTC

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