[Bug 53575] KDirWatch crash (was: Autoproject part crashes invoking the "add files to target" dialog)

Hamish Rodda meddie at yoyo.its.monash.edu.au
Thu Jan 30 09:22:05 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=53575     
meddie at yoyo.its.monash.edu.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|gideon                      |general
            Product|kdevelop                    |kio
            Summary|Autoproject part crashes    |KDirWatch crash (was:
                   |invoking the "add files to  |Autoproject part crashes
                   |target" dialog              |invoking the "add files to
                   |                            |target" dialog)
            Version|unspecified                 |CVS



------- Additional Comments From meddie at yoyo.its.monash.edu.au  2003-01-30 09:21 -------
My index of suspicion of the KDir* stuff has risen, so I'm moving this to kio.  I also 
forgot to mention that the crash happens much less frequently when my computer is 
under heavy load, so this is likely to be some sort of race condition. 
 
Commenting out line 614 of kdirwatch.cpp like so: 
 
void KDirWatchPrivate::removeEntry( KDirWatch* instance, 
				    const QString& _path, Entry* sub_entry ) 
{ 
  Entry* e = entry(_path); 
  if (!e) { 
	//kdWarning(7001) << "KDirWatch::removeDir can't handle '" << _path << "'" << 
endl; 
	return; 
 
 
prevents the crash...




More information about the KDevelop-devel mailing list