Bug 202771 - Folder View - when reloading a previously unavailable SFTP URL, Plasma crashes [KDirListerCache::slotUpdateResult]
Summary: Folder View - when reloading a previously unavailable SFTP URL, Plasma crashe...
Status: RESOLVED DUPLICATE of bug 197851
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-folderview (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 230630 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-06 10:44 UTC by Luca Beltrame
Modified: 2010-05-13 19:36 UTC (History)
5 users (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 Luca Beltrame 2009-08-06 10:44:54 UTC
Application that crashed: plasma-desktop
Version of the application: 0.3
KDE Version: 4.3.00 (KDE 4.3.0) "release 152"
Qt Version: 4.5.2
Operating System: Linux 2.6.27.25-0.1-pae i686
Distribution: "openSUSE 11.1 (i586)"

What I was doing when the application crashed:
General description.

On one of my desktop activities, I have a Folder View pointing, via SFTP  and through a VPN,   to a remote URL. Sometimes, the remote server is down, or there are network issues, so (correctly) the folder view pointing at the SFTP URL displays an error. However, when the VPN is restored I and I reload (F5) the content of the Folder View, Plasma crashes (backtrace attached)

Steps to reproduce:

1. Create a Folder View with a SFTP url
2. Log out of KDE and disable the remote resource (e.g., turn off SSH, etc.)
3. Log back in - Folder View displays an error
4. Restore the remote resource
5. Reload the content of the Folder VIew
6. Crash (segfault - signal 11).


 -- Backtrace:
Application: Spazio di lavoro di Plasma (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5f4f700 (LWP 3670))]

Thread 2 (Thread 0xa84e0b90 (LWP 3673)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7dcdc35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7e2d582 in QWaitCondition::wait (this=0x8724600, mutex=0x87245fc, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  0xb76a3ad2 in QHostInfoAgent::run (this=0x87245f0) at kernel/qhostinfo.cpp:260
#4  0xb7e2c572 in QThreadPrivate::start (arg=0x87245f0) at thread/qthread_unix.cpp:188
#5  0xb7dca1b5 in start_thread () from /lib/libpthread.so.0
#6  0xb66123be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5f4f700 (LWP 3670)):
[KCrash Handler]
#6  KDirListerCache::slotUpdateResult (this=0x854bb10, j=0x9d33a70) at /usr/src/debug/kdelibs-4.3.0/kio/kio/kdirlister.cpp:1539
#7  0xb7834894 in KDirListerCache::qt_metacall (this=0x854bb10, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbf886acc) at /usr/src/debug/kdelibs-4.3.0/build/kio/kdirlister_p.moc:102
#8  0xb7f36788 in QMetaObject::activate (sender=0x9d33a70, from_signal_index=7, to_signal_index=7, argv=0xbf886acc) at kernel/qobject.cpp:3113
#9  0xb7f37412 in QMetaObject::activate (sender=0x9d33a70, m=0xb7dbcda8, local_signal_index=3, argv=0xbf886acc) at kernel/qobject.cpp:3187
#10 0xb7c2c443 in KJob::result (this=0x9d33a70, _t1=0x9d33a70) at /usr/src/debug/kdelibs-4.3.0/build/kdecore/kjob.moc:188
#11 0xb7c2c8e9 in KJob::emitResult (this=0x9d33a70) at /usr/src/debug/kdelibs-4.3.0/kdecore/jobs/kjob.cpp:304
#12 0xb7804e85 in KIO::SimpleJob::slotFinished (this=0x9d33a70) at /usr/src/debug/kdelibs-4.3.0/kio/kio/job.cpp:477
#13 0xb780543e in KIO::ListJob::slotFinished (this=0x9d33a70) at /usr/src/debug/kdelibs-4.3.0/kio/kio/job.cpp:2408
#14 0xb7806e73 in KIO::ListJob::qt_metacall (this=0x9d33a70, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf886cb8) at /usr/src/debug/kdelibs-4.3.0/build/kio/jobclasses.moc:764
#15 0xb7f36788 in QMetaObject::activate (sender=0x9fc1520, from_signal_index=8, to_signal_index=8, argv=0x0) at kernel/qobject.cpp:3113
#16 0xb7f37412 in QMetaObject::activate (sender=0x9fc1520, m=0xb79dff24, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3187
#17 0xb78cc4f7 in KIO::SlaveInterface::finished (this=0x9fc1520) at /usr/src/debug/kdelibs-4.3.0/build/kio/slaveinterface.moc:165
#18 0xb78d0237 in KIO::SlaveInterface::dispatch (this=0x9fc1520, _cmd=104, rawdata=@0xbf886e84) at /usr/src/debug/kdelibs-4.3.0/kio/kio/slaveinterface.cpp:175
#19 0xb78cc9d7 in KIO::SlaveInterface::dispatch (this=0x9fc1520) at /usr/src/debug/kdelibs-4.3.0/kio/kio/slaveinterface.cpp:91
#20 0xb78be74d in KIO::Slave::gotInput (this=0x9fc1520) at /usr/src/debug/kdelibs-4.3.0/kio/kio/slave.cpp:322
#21 0xb78c0be3 in KIO::Slave::qt_metacall (this=0x9fc1520, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf886f98) at /usr/src/debug/kdelibs-4.3.0/build/kio/slave.moc:76
#22 0xb7f36788 in QMetaObject::activate (sender=0xa1f17e8, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#23 0xb7f37412 in QMetaObject::activate (sender=0xa1f17e8, m=0xb79dc860, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#24 0xb77c9477 in KIO::Connection::readyRead (this=0xa1f17e8) at /usr/src/debug/kdelibs-4.3.0/build/kio/connection.moc:86
#25 0xb77cade3 in KIO::ConnectionPrivate::dequeue (this=0xa030408) at /usr/src/debug/kdelibs-4.3.0/kio/kio/connection.cpp:82
#26 0xb77cb1c6 in KIO::Connection::qt_metacall (this=0xa1f17e8, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x9722658) at /usr/src/debug/kdelibs-4.3.0/build/kio/connection.moc:73
#27 0xb7f2feab in QMetaCallEvent::placeMetaCall (this=0x97b0040, object=0xa1f17e8) at kernel/qobject.cpp:477
#28 0xb7f31970 in QObject::event (this=0xa1f17e8, e=0x97b0040) at kernel/qobject.cpp:1111
#29 0xb68e97fc in QApplicationPrivate::notify_helper (this=0x80a64d0, receiver=0xa1f17e8, e=0x97b0040) at kernel/qapplication.cpp:4056
#30 0xb68f1aee in QApplication::notify (this=0x80a06b8, receiver=0xa1f17e8, e=0x97b0040) at kernel/qapplication.cpp:3603
#31 0xb73dc27d in KApplication::notify (this=0x80a06b8, receiver=0xa1f17e8, event=0x97b0040) at /usr/src/debug/kdelibs-4.3.0/kdeui/kernel/kapplication.cpp:302
#32 0xb7f2116b in QCoreApplication::notifyInternal (this=0x80a06b8, receiver=0xa1f17e8, event=0x97b0040) at kernel/qcoreapplication.cpp:610
#33 0xb7f21db5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x805b2c0) at kernel/qcoreapplication.h:213
#34 0xb7f21fad in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#35 0xb7f4cc8f in postEventSourceDispatch (s=0x80a8510) at kernel/qcoreapplication.h:218
#36 0xb648f9c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#37 0xb6493083 in ?? () from /usr/lib/libglib-2.0.so.0
#38 0xb6493241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#39 0xb7f4c8d8 in QEventDispatcherGlib::processEvents (this=0x80a6260, flags={i = -1081575896}) at kernel/qeventdispatcher_glib.cpp:327
#40 0xb6989ce5 in QGuiEventDispatcherGlib::processEvents (this=0x80a6260, flags={i = -1081575848}) at kernel/qguieventdispatcher_glib.cpp:202
#41 0xb7f1f78a in QEventLoop::processEvents (this=0xbf8876d0, flags={i = -1081575784}) at kernel/qeventloop.cpp:149
#42 0xb7f1fbd2 in QEventLoop::exec (this=0xbf8876d0, flags={i = -1081575720}) at kernel/qeventloop.cpp:201
#43 0xb7f22079 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#44 0xb68e9677 in QApplication::exec () at kernel/qapplication.cpp:3525
#45 0xb4962b00 in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so
#46 0x0804e505 in launch (argc=1, _name=0x805ce64 "/usr/bin/plasma-desktop", args=0x805ce7c "", cwd=0x0, envc=0, envs=0x805ce80 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x805163d "0") at /usr/src/debug/kdelibs-4.3.0/kinit/kinit.cpp:705
#47 0x0804ecdd in handle_launcher_request (sock=7, who=<value optimized out>) at /usr/src/debug/kdelibs-4.3.0/kinit/kinit.cpp:1197
#48 0x0804f173 in handle_requests (waitForPid=0) at /usr/src/debug/kdelibs-4.3.0/kinit/kinit.cpp:1390
#49 0x0804feb2 in main (argc=4, argv=0xbf8880c4, envp=0xbf8880d8) at /usr/src/debug/kdelibs-4.3.0/kinit/kinit.cpp:1825

Reported using DrKonqi
Comment 1 Aaron J. Seigo 2009-08-06 13:35:38 UTC
looks like a bug in KDirLister; David, what do you think?
Comment 2 Dario Andres 2009-08-06 14:29:24 UTC
Backtrace is bug 197851 which has some duplicates too. It would be great to have a proper reproducible case for that one. I guess the report should be reassigned and/or merged.
I'm going to try to check it later.
Thanks
Comment 3 Dario Andres 2010-03-19 13:25:26 UTC
From bug 230630 (KDE SC 4.4.1):
-- Information about the crash:
Plasma-desktop crashes, and then a new sessions is started automatically, which
works without problems. 

It is related to the folderview. The one responsible (it seems) points to a
FTP-location. I think my network is just coming up during plasma start-up. If I
remove the folderview, plasma does not crash.
If I wait a bit longer before logging in, I do not get a crash, just like after
logging in again.
Comment 4 Dario Andres 2010-03-19 13:25:32 UTC
*** Bug 230630 has been marked as a duplicate of this bug. ***
Comment 5 Aaron J. Seigo 2010-05-13 19:36:52 UTC

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