Bug 171130 - dragging sftp folder to places bar crashes parent app
Summary: dragging sftp folder to places bar crashes parent app
Status: RESOLVED DUPLICATE of bug 165485
Alias: None
Product: kfile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-16 01:36 UTC by Marcel Partap
Modified: 2008-10-13 20:15 UTC (History)
1 user (show)

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 Marcel Partap 2008-09-16 01:36:51 UTC
Version:           unknown (using 4.1.65 (KDE 4.1.65 (KDE 4.2 >= 20080903)), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.27-rc5-git9

just experienced this with kate when trying to add a folder to the places bar on my vserver..
here's the relevant output from .xsession-errors:
kate(21907)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("sftp://hfopi.org/var/lib")
kio_sftp(21921): sftpRead: read failed with code  4

ASSERT: "d" in file /mnt/sdc4/temp/gentootmp/vartmppaludis/kde-base-kdelibs-scm/work/kdelibs-scm/kdecore/util/ksharedptr.h, line 116
klauncher(7770)/kio (KLauncher): SlavePool: No communication with slave.

kdeinit4: PID 21921 terminated.
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kate path = <unknown> pid = 21907
kdeinit4: Got EXEC_NEW '/usr/kde/svn/lib64/kde4/libexec/drkonqi' from socket.
kdeinit4: preparing to launch /usr/kde/svn/lib64/kde4/libexec/drkonqi

backtrace:
Thread 1 (Thread 0x7f6f23217750 (LWP 21907)):
[KCrash Handler]
#5  0x00007f6f1f5a8235 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f6f1f5a9753 in *__GI_abort () at abort.c:88
#7  0x00007f6f2052ba6d in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2108
#8  0x00007f6f2052bb87 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2309
#9  0x00007f6f1a55b9c4 in ?? () from /usr/kde/svn/lib64/libkfile.so.4
#10 0x00007f6f1a575b79 in KFilePlacesModel::dropMimeData () from /usr/kde/svn/lib64/libkfile.so.4
#11 0x00007f6f2154b197 in QAbstractItemView::dropEvent (this=0x19a8ed0, event=0x7fff2b269d40) at itemviews/qabstractitemview.cpp:1812
#12 0x00007f6f1a57daa3 in KFilePlacesView::dropEvent () from /usr/kde/svn/lib64/libkfile.so.4
#13 0x00007f6f2115d728 in QWidget::event (this=0x19a8ed0, event=0x7fff2b269d40) at kernel/qwidget.cpp:7347
#14 0x00007f6f21552aad in QAbstractItemView::viewportEvent (this=0x19a8ed0, event=0x7fff2b269d40) at itemviews/qabstractitemview.cpp:1435
#15 0x00007f6f20610f27 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x19abaa0, event=0x7fff2b269d40) at kernel/qcoreapplication.cpp:700
#16 0x00007f6f2110c77c in QApplicationPrivate::notify_helper (this=0x622710, receiver=0x19abaa0, e=0x7fff2b269d40) at kernel/qapplication.cpp:3805
#17 0x00007f6f2111405f in QApplication::notify (this=<value optimized out>, receiver=0x19abaa0, e=0x7fff2b269d40) at kernel/qapplication.cpp:3766
#18 0x00007f6f2235b006 in KApplication::notify () from /usr/kde/svn/lib64/libkdeui.so.5
#19 0x00007f6f206114ab in QCoreApplication::notifyInternal (this=0x7fff2b26eae0, receiver=0x19abaa0, event=0x7fff2b269d40) at kernel/qcoreapplication.cpp:589
#20 0x00007f6f2117d0d9 in QX11Data::xdndHandleDrop (this=<value optimized out>, xe=<value optimized out>, passive=<value optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 0x00007f6f2117e7cb in QDragManager::drop (this=0x1a73700) at kernel/qdnd_x11.cpp:1690
#22 0x00007f6f2117e9dc in QDragManager::eventFilter (this=0x1a73700, o=0x19adc60, e=0x7fff2b26a720) at kernel/qdnd_x11.cpp:1290
#23 0x00007f6f20610fcb in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0x622710, receiver=0x19adc60, event=0x7fff2b26a720) at kernel/qcoreapplication.cpp:682
#24 0x00007f6f2110c716 in QApplicationPrivate::notify_helper (this=0x5593, receiver=0x5593, e=0x6) at kernel/qapplication.cpp:3784
#25 0x00007f6f211142a6 in QApplication::notify (this=<value optimized out>, receiver=0x19adc60, e=0x7fff2b26a720) at kernel/qapplication.cpp:3534
#26 0x00007f6f2235b006 in KApplication::notify () from /usr/kde/svn/lib64/libkdeui.so.5
#27 0x00007f6f206114ab in QCoreApplication::notifyInternal (this=0x7fff2b26eae0, receiver=0x19adc60, event=0x7fff2b26a720) at kernel/qcoreapplication.cpp:589
#28 0x00007f6f21113632 in QApplicationPrivate::sendMouseEvent (receiver=0x19adc60, event=0x7fff2b26a720, alienWidget=0x0, nativeWidget=0x19adc60, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f6f219f1730) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#29 0x00007f6f2117008c in QETWidget::translateMouseEvent (this=0x19adc60, event=<value optimized out>) at kernel/qapplication_x11.cpp:4048
#30 0x00007f6f2116eca3 in QApplication::x11ProcessEvent (this=0x9d, event=0x7fff2b26aff0) at kernel/qapplication_x11.cpp:3166
#31 0x00007f6f21192a44 in x11EventSourceDispatch (s=0x6260a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#32 0x00007f6f1bb73c52 in IA__g_main_context_dispatch (context=0x6254b0) at gmain.c:2012
#33 0x00007f6f1bb7736d in g_main_context_iterate (context=0x6254b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2645
#34 0x00007f6f1bb7752b in IA__g_main_context_iteration (context=0x6254b0, may_block=1) at gmain.c:2708
#35 0x00007f6f20637e8f in QEventDispatcherGlib::processEvents (this=0x615450, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#36 0x00007f6f2119227f in QGuiEventDispatcherGlib::processEvents (this=0x5593, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f6f20610112 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 723956448}) at kernel/qeventloop.cpp:149
#38 0x00007f6f206102a5 in QEventLoop::exec (this=0x1a16e20, flags={i = 723956784}) at kernel/qeventloop.cpp:196
#39 0x00007f6f2117bdd3 in QDragManager::drag (this=0x1a73700, o=<value optimized out>) at kernel/qdnd_x11.cpp:1950
#40 0x00007f6f2111e098 in QDrag::exec (this=0x1a7fd20, supportedActions={i = 723956976}, defaultDropAction=Qt::CopyAction) at kernel/qdrag.cpp:281
#41 0x00007f6f21564b2f in QListView::internalDrag (this=0x19ba110, supportedActions={i = 723957088}) at itemviews/qlistview.cpp:1032
#42 0x00007f6f21564c08 in QListView::startDrag (this=0x5593, supportedActions=<value optimized out>) at itemviews/qlistview.cpp:955
#43 0x00007f6f2155179c in QAbstractItemView::mouseMoveEvent (this=0x19ba110, event=0x7fff2b26c4a0) at itemviews/qabstractitemview.cpp:1514
#44 0x00007f6f2156590a in QListView::mouseMoveEvent (this=0x5593, e=0x5593) at itemviews/qlistview.cpp:807
#45 0x00007f6f2115dd70 in QWidget::event (this=0x19ba110, event=0x7fff2b26c4a0) at kernel/qwidget.cpp:7152
#46 0x00007f6f21552aad in QAbstractItemView::viewportEvent (this=0x19ba110, event=0x7fff2b26c4a0) at itemviews/qabstractitemview.cpp:1435
#47 0x00007f6f20610f27 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x19c79d0, event=0x7fff2b26c4a0) at kernel/qcoreapplication.cpp:700
#48 0x00007f6f2110c77c in QApplicationPrivate::notify_helper (this=0x622710, receiver=0x19c79d0, e=0x7fff2b26c4a0) at kernel/qapplication.cpp:3805
#49 0x00007f6f211142a6 in QApplication::notify (this=<value optimized out>, receiver=0x19c79d0, e=0x7fff2b26c4a0) at kernel/qapplication.cpp:3534
#50 0x00007f6f2235b006 in KApplication::notify () from /usr/kde/svn/lib64/libkdeui.so.5
#51 0x00007f6f206114ab in QCoreApplication::notifyInternal (this=0x7fff2b26eae0, receiver=0x19c79d0, event=0x7fff2b26c4a0) at kernel/qcoreapplication.cpp:589
#52 0x00007f6f21113632 in QApplicationPrivate::sendMouseEvent (receiver=0x19c79d0, event=0x7fff2b26c4a0, alienWidget=0x19c79d0, nativeWidget=0x7fff2b26d140, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f6f219f1730) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#53 0x00007f6f2117008c in QETWidget::translateMouseEvent (this=0x7fff2b26d140, event=<value optimized out>) at kernel/qapplication_x11.cpp:4048
#54 0x00007f6f2116eca3 in QApplication::x11ProcessEvent (this=0x7fff2b26eae0, event=0x7fff2b26cd70) at kernel/qapplication_x11.cpp:3166
#55 0x00007f6f21192a44 in x11EventSourceDispatch (s=0x6260a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#56 0x00007f6f1bb73c52 in IA__g_main_context_dispatch (context=0x6254b0) at gmain.c:2012
#57 0x00007f6f1bb7736d in g_main_context_iterate (context=0x6254b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2645
#58 0x00007f6f1bb7752b in IA__g_main_context_iteration (context=0x6254b0, may_block=1) at gmain.c:2708
#59 0x00007f6f20637e8f in QEventDispatcherGlib::processEvents (this=0x615450, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#60 0x00007f6f2119227f in QGuiEventDispatcherGlib::processEvents (this=0x5593, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#61 0x00007f6f20610112 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 723964000}) at kernel/qeventloop.cpp:149
#62 0x00007f6f206102a5 in QEventLoop::exec (this=0x7fff2b26d0b0, flags={i = 723964112}) at kernel/qeventloop.cpp:196
#63 0x00007f6f214fe1ff in QDialog::exec (this=0x7fff2b26d140) at dialogs/qdialog.cpp:453
#64 0x00007f6f228d3f6d in KEncodingFileDialog::getOpenUrlsAndEncoding () from /usr/kde/svn/lib64/libkio.so.5
#65 0x00007f6f22c117ea in ?? () from /usr/kde/svn/lib64/libkateinterfaces.so.4
#66 0x00007f6f22c11ed5 in ?? () from /usr/kde/svn/lib64/libkateinterfaces.so.4
#67 0x00007f6f20625f20 in QMetaObject::activate (sender=0x85f830, from_signal_index=<value optimized out>, to_signal_index=6, argv=0xffffffffffffffff) at kernel/qobject.cpp:3034
#68 0x00007f6f21107257 in QAction::triggered (this=0x5593, _t1=false) at .moc/debug-shared/moc_qaction.cpp:216
#69 0x00007f6f211079d0 in QAction::activate (this=0x85f830, event=<value optimized out>) at kernel/qaction.cpp:1131
#70 0x00007f6f2140181a in QAbstractButtonPrivate::click (this=0x8a10f0) at widgets/qabstractbutton.cpp:526
#71 0x00007f6f21401a95 in QAbstractButton::mouseReleaseEvent (this=0x8c7d70, e=0x7fff2b26ddc0) at widgets/qabstractbutton.cpp:1116
#72 0x00007f6f214be3fa in QToolButton::mouseReleaseEvent (this=0x5593, e=0x5593) at widgets/qtoolbutton.cpp:677
#73 0x00007f6f2115defc in QWidget::event (this=0x8c7d70, event=0x7fff2b26ddc0) at kernel/qwidget.cpp:7167
#74 0x00007f6f2110c7ad in QApplicationPrivate::notify_helper (this=0x622710, receiver=0x8c7d70, e=0x7fff2b26ddc0) at kernel/qapplication.cpp:3809
#75 0x00007f6f211142a6 in QApplication::notify (this=<value optimized out>, receiver=0x8c7d70, e=0x7fff2b26ddc0) at kernel/qapplication.cpp:3534
#76 0x00007f6f2235b006 in KApplication::notify () from /usr/kde/svn/lib64/libkdeui.so.5
#77 0x00007f6f206114ab in QCoreApplication::notifyInternal (this=0x7fff2b26eae0, receiver=0x8c7d70, event=0x7fff2b26ddc0) at kernel/qcoreapplication.cpp:589
#78 0x00007f6f21113632 in QApplicationPrivate::sendMouseEvent (receiver=0x8c7d70, event=0x7fff2b26ddc0, alienWidget=0x8c7d70, nativeWidget=0x8294f0, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f6f219f1730) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#79 0x00007f6f2117008c in QETWidget::translateMouseEvent (this=0x8294f0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4048
#80 0x00007f6f2116eca3 in QApplication::x11ProcessEvent (this=0x9d, event=0x7fff2b26e690) at kernel/qapplication_x11.cpp:3166
#81 0x00007f6f21192a44 in x11EventSourceDispatch (s=0x6260a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#82 0x00007f6f1bb73c52 in IA__g_main_context_dispatch (context=0x6254b0) at gmain.c:2012
#83 0x00007f6f1bb7736d in g_main_context_iterate (context=0x6254b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2645
#84 0x00007f6f1bb7752b in IA__g_main_context_iteration (context=0x6254b0, may_block=1) at gmain.c:2708
#85 0x00007f6f20637e8f in QEventDispatcherGlib::processEvents (this=0x615450, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#86 0x00007f6f2119227f in QGuiEventDispatcherGlib::processEvents (this=0x5593, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#87 0x00007f6f20610112 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 723970432}) at kernel/qeventloop.cpp:149
#88 0x00007f6f206102a5 in QEventLoop::exec (this=0x7fff2b26e9c0, flags={i = 723970512}) at kernel/qeventloop.cpp:196
#89 0x00007f6f20614f7f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:851
#90 0x00007f6f22e50f55 in kdemain () from /usr/kde/svn/lib64/libkdeinit4_kate.so
#91 0x00007f6f1f594486 in __libc_start_main (main=0x400910 <_start+240>, argc=3, ubp_av=0x7fff2b26fce8, init=0x400940 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fff2b26fcd8) at libc-start.c:226
#92 0x0000000000400849 in _start ()
Comment 1 Marcel Partap 2008-09-16 02:15:52 UTC
Pino you did see that the assertion is in kdelibs/kdecore/util/ksharedptr.h ? That's why i filed it in kdelibs/kdecore...
Comment 2 Frank Reininghaus 2008-10-13 20:15:50 UTC
This looks very much like a crash that has been reported before, I'll mark it as a duplicate (the bug is actually in the sftp kioslave).

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