Bug 157523 - kio (KDirWatch): WARNING: KDirWatch::removeDir can't handle ...
Summary: kio (KDirWatch): WARNING: KDirWatch::removeDir can't handle ...
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: KDE (show other bugs)
Version: Beta 7
Hardware: Other Other
: P4 - Low : Minor (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-13 09:55 UTC by Sven Schober
Modified: 2006-03-13 12:31 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Schober 2006-03-13 09:55:15 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'
Comment 1 Dirk Mueller 2006-03-13 10:19:56 UTC
#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
Comment 2 Dirk Mueller 2006-03-13 10:23:52 UTC
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. 

Comment 3 Stephan Kulow 2006-03-13 11:31:32 UTC
Dirk: please make that a kdDebug()
Comment 4 Dirk Mueller 2006-03-13 12:31:51 UTC
submitted