Bug 175191 - folder applet crash plasma when the folder that the applet points was deleted
Summary: folder applet crash plasma when the folder that the applet points was deleted
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-15 08:24 UTC by Ale Hamann
Modified: 2008-12-02 22:47 UTC (History)
1 user (show)

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 Ale Hamann 2008-11-15 08:24:39 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    Ubuntu Packages

If you add the Folder applet to the desktop and configure it to show a folder called any_folder for example, and then (accidentally in my case), you delete this folder, the Folder Applet causes that plasma crash.

The application Área de trabajo de Plasma (plasma) crashed and caused the signal 6 (SIGABRT).


This is the backtrace:

Aplicación: Área de trabajo de Plasma (plasma), señal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0xb46686e0 (LWP 13956)]
[New Thread 0xb0bb2b90 (LWP 13960)]
[New Thread 0xb13b3b90 (LWP 13958)]
[New Thread 0xb1bb4b90 (LWP 13957)]
[KCrash handler]
#6  0xb7f2e430 in __kernel_vsyscall ()
#7  0xb7d81880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb7d83248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb7457795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb7457872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb7457915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb67302e3 in KDirModelPrivate::_k_slotNewItems (this=0xb40f0a8, 
    items=@0x961c7f0)
    at /build/buildd/kde4libs-4.1.3/kio/kio/kdirmodel.cpp:342
#13 0xb6731cf5 in KDirModel::qt_metacall (this=0x9698950, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfa2ed4c)
    at /build/buildd/kde4libs-4.1.3/obj-i486-linux-gnu/kio/kdirmodel.moc:76
#14 0xb7564a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb75657e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb6715e83 in KDirLister::newItems (this=0xb58cc00, _t1=@0x961c7f0)
    at /build/buildd/kde4libs-4.1.3/obj-i486-linux-gnu/kio/kdirlister.moc:256
#17 0xb671732a in KDirLister::Private::emitItems (this=0xb0da0e0)
    at /build/buildd/kde4libs-4.1.3/kio/kio/kdirlister.cpp:2274
#18 0xb67235a5 in KDirListerCache::slotUpdateResult (this=0x9507800, 
    j=0x97a78b8) at /build/buildd/kde4libs-4.1.3/kio/kio/kdirlister.cpp:1556
#19 0xb6728734 in KDirListerCache::qt_metacall (this=0x9507800, 
    _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfa2effc)
    at /build/buildd/kde4libs-4.1.3/obj-i486-linux-gnu/kio/kdirlister_p.moc:101
#20 0xb7564a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0xb75657e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb7710283 in KJob::result (this=0x97a78b8, _t1=0x97a78b8)
    at /build/buildd/kde4libs-4.1.3/obj-i486-linux-gnu/kdecore/kjob.moc:186
#23 0xb7710792 in KJob::emitResult (this=0x97a78b8)
    at /build/buildd/kde4libs-4.1.3/kdecore/jobs/kjob.cpp:290
#24 0xb66f48c5 in KIO::SimpleJob::slotFinished (this=0x97a78b8)
    at /build/buildd/kde4libs-4.1.3/kio/kio/job.cpp:498
#25 0xb66f4a0e in KIO::ListJob::slotFinished (this=0x97a78b8)
    at /build/buildd/kde4libs-4.1.3/kio/kio/job.cpp:2391
#26 0xb66f9b53 in KIO::ListJob::qt_metacall (this=0x97a78b8, 
    _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfa2f1e8)
    at /build/buildd/kde4libs-4.1.3/obj-i486-linux-gnu/kio/jobclasses.moc:747
#27 0xb7564a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#28 0xb75657e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#29 0xb67baf27 in KIO::SlaveInterface::finished (this=0xa3c7178)
    at /build/buildd/kde4libs-4.1.3/obj-i486-linux-gnu/kio/slaveinterface.moc:161
#30 0xb67beb97 in KIO::SlaveInterface::dispatch (this=0xa3c7178, _cmd=104, 
    rawdata=@0xbfa2f3b4)
    at /build/buildd/kde4libs-4.1.3/kio/kio/slaveinterface.cpp:175
#31 0xb67bb6a7 in KIO::SlaveInterface::dispatch (this=0xa3c7178)
    at /build/buildd/kde4libs-4.1.3/kio/kio/slaveinterface.cpp:90
#32 0xb67ab6cd in KIO::Slave::gotInput (this=0xa3c7178)
    at /build/buildd/kde4libs-4.1.3/kio/kio/slave.cpp:322
#33 0xb67ae113 in KIO::Slave::qt_metacall (this=0xa3c7178, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfa2f4c8)
    at /build/buildd/kde4libs-4.1.3/obj-i486-linux-gnu/kio/slave.moc:75
#34 0xb7564a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#35 0xb75657e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#36 0xb66bb8f7 in KIO::Connection::readyRead (this=0xb453108)
    at /build/buildd/kde4libs-4.1.3/obj-i486-linux-gnu/kio/connection.moc:84
#37 0xb66bd9c9 in KIO::ConnectionPrivate::dequeue (this=0xa49f0a0)
    at /build/buildd/kde4libs-4.1.3/kio/kio/connection.cpp:82
#38 0xb66bdb56 in KIO::Connection::qt_metacall (this=0xb453108, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xa0ef888)
    at /build/buildd/kde4libs-4.1.3/obj-i486-linux-gnu/kio/connection.moc:72
#39 0xb755dbfb in QMetaCallEvent::placeMetaCall ()
   from /usr/lib/libQtCore.so.4
#40 0xb755f771 in QObject::event () from /usr/lib/libQtCore.so.4
#41 0xb6ad88ec in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#42 0xb6ae076e in QApplication::notify () from /usr/lib/libQtGui.so.4
#43 0xb7a1eb2d in KApplication::notify (this=0x9221238, receiver=0xb453108, 
    event=0x9be42c8)
    at /build/buildd/kde4libs-4.1.3/kdeui/kernel/kapplication.cpp:311
#44 0xb754fe61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#45 0xb7550ae5 in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#46 0xb7550cdd in QCoreApplication::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#47 0xb757a82f in ?? () from /usr/lib/libQtCore.so.4
#48 0xb585b6f8 in IA__g_main_context_dispatch (context=0x9228a90)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2144
#49 0xb585eda3 in g_main_context_iterate (context=0x9228a90, block=1, 
    dispatch=1, self=0x9226d20)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2778
#50 0xb585ef61 in IA__g_main_context_iteration (context=0x9228a90, 
    may_block=1) at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2841
#51 0xb757a478 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#52 0xb6b72ee5 in ?? () from /usr/lib/libQtGui.so.4
#53 0xb754e52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#54 0xb754e6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#55 0xb7550da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#56 0xb6ad8767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#57 0xb7eca491 in kdemain (argc=1, argv=0xbfa2fdf4)
    at /build/buildd/kdebase-workspace-4.1.3/plasma/plasma/main.cpp:58
#58 0x080485b2 in main (argc=)
    at /build/buildd/kdebase-workspace-4.1.3/obj-i486-linux-gnu/plasma/plasma/plasma_qgv_dummy.cpp:3
#0  0xb7f2e430 in __kernel_vsyscall ()
Comment 1 FiNeX 2008-11-15 11:49:37 UTC
tested on r884528. nothing crash, but the folder view stay with an animated circle, it seems waiting for something.
Comment 2 Jesse L. Zamora 2008-12-01 01:45:46 UTC
SVN commit 891031 by jzamora:

BUG: 175191
When the user accidentally deleted a folder the Folder View is displaying, the 
folderview just resets to the default folder. 



 M  +18 -0     folderview.cpp  
 M  +3 -0      folderview.h  
 M  +7 -1      iconview.cpp  
 M  +1 -0      iconview.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=891031
Comment 3 David Faure 2008-12-02 22:47:42 UTC
SVN commit 891804 by dfaure:

Emit clear() when deleting the listed directory
CCBUG: 175191


 M  +17 -12    kio/kdirlister.cpp  
 M  +15 -0     tests/kdirlistertest.cpp  
 M  +2 -0      tests/kdirlistertest.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=891804