Bugzilla – Bug 157523
kio (KDirWatch): WARNING: KDirWatch::removeDir can't handle ...
Last modified: 2006-03-13 12:31:51 UTC
when i start a kde app (like kate or gwenview) from a terminal and close it again i get the following three warnings: kio (KDirWatch): WARNING: KDirWatch::removeDir can't handle '/etc/samba/smb.conf' kio (KDirWatch): WARNING: KDirWatch::removeDir can't handle '/etc/security/fileshare.conf' kio (KDirWatch): WARNING: KDirWatch::removeDir can't handle '/etc/exports'
#0 KDirWatchPrivate::removeEntry (this=0x82a21f0, instance=0x82e8458, _path=@0xbfbcf508, sub_entry=0x0) at /data/dmueller/src/kde/3.5/kdelibs/kio/kio/kdirwatch.cpp:878 #1 0xb7b0a2b7 in KDirWatch::removeFile (this=0x82e8458, _path=@0xbfbcf508) at /data/dmueller/src/kde/3.5/kdelibs/kio/kio/kdirwatch.cpp:1637 #2 0xb7b10c37 in ~KSambaShare (this=0x8254c90) at /data/dmueller/src/kde/3.5/kdelibs/kio/kio/ksambashare.cpp:192 #3 0xb7b11cef in KStaticDeleter<KSambaShare>::destructObject (this=0xb7c9d5a0) at kstaticdeleter.h:126 #4 0xb752e53b in KGlobal::deleteStaticDeleters () at /data/dmueller/src/kde/3.5/kdelibs/kdecore/kglobal.cpp:192 #5 0xb7498f82 in ~KApplication (this=0xbfbcf6bc) at /data/dmueller/src/kde/3.5/kdelibs/kdecore/kapplication.cpp:1609 #6 0xb7f3eb6b in ~KateApp (this=0xbfbcf6bc) at /data/dmueller/src/kde/3.5/kdebase/kate/app/kateapp.cpp:116 #7 0xb7fb26f2 in kdemain (argc=1, argv=0xbfbcfb34) at /data/dmueller/src/kde/3.5/kdebase/kate/app/katemain.cpp:253 #8 0x08048742 in main (argc=-1211609176, argv=0x20) at kdeinit_kate.cpp:2
this is a destruction order problem, and harmless. the problem here is that KDirWatch::self() is destructed before the static instance of KSambaShare, hence double removal attempt.
Dirk: please make that a kdDebug()
submitted