Summary: | dolphin does not copy all files (cp does) | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio | Reporter: | Trenton D. Adams <trent.bugzilla> |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED WAITINGFORINFO | ||
Severity: | normal | CC: | adawit, tampakrap, trent.bugzilla |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
tarball of bug related files
kde-libs.debug.gz |
Description
Trenton D. Adams
2009-03-05 08:24:42 UTC
Created attachment 31785 [details]
tarball of bug related files
bug-files.tar.gz
pictures-bad-copy.list
pictures-good-copy.list
pictures-original-copy.list
Oh, one other thing, I picked the "auto skip" option, because it happened 5 or 6 times, so I figured I didn't want to click through all of them (not knowing how many there were). I'm just curious. It's been several days, and I don't see anything happening with it. I attempted this copying several times, and it happened each and every time. It is totally reproducable. I have no doubt that if you do it with a directory of a large number of files, that you can reproduce it. I'm just concerned that this won't be fixed. I really like the UI for Dolphin, and would love to be able to trust it. It seems to be a issue of keeping a proper file list in memory. i.e. the list management is messing up which folders files are actually in. If you could could tell me where in the source this is located, I may be able to take a quick look as well. Although I haven't programmed in C/C++ in several years, I may see something obvious, being a new pair of eyes and all. Is there something else I can do to get more data for this? I know it's been days - bugs are piling up like crazy, especially due to regressions in Qt-4.5. If I had to guess I would suspect the handling of the directory listing in kdelibs/kio/kio/copyjob.cpp, CopyJobPrivate::slotEntries. But that code hasn't changed for quite some time, so it's a bit surprising. Maybe you can check what the debug output says (after compiling kdelibs in debug mode). A reduction to the smallest testcase that shows the bug would be useful too. I'll come back to this bug soon hopefully... Thanks for the update David. I totally understand the bugs piling up thing. Seems like that's happening to me at work too. lol I won't worry too much from here on out. I'm going to see if I can find some time this weekend to take a quick look, try debug, reduce to small test case with a tar of the files I used, etc. Thanks. This does not happen, with the same files, if copied from one local folder to another local folder. It does happen consistently however, when copied from my apple time capsule over CIFS. I am going to setup samba, and share them out from a local folder using CIFS, and then copy them to another local folder. We'll see what happens then. It may also be a latency related bug. Or a threading issue? Do you do multiple threads when copying? I'm going to see if I can duplicate it with the same folder/file structure, but with empty files. That way my testing will be quicker each time, and we'll know if it's related to the nature of the data in any way. No threads involved (but a separate process, the kioslave). What does "when copied from my apple time capsule over CIFS" mean technically? A smb:// URL, or smbmount, or something else? If smb:// URL, then this sounds like a kio_smb bug. Okay, I have ZERO idea how to get debug output. I enabled debug mode, by putting the gentoo "debug" use flag on, for dolphin, but I'm not sure where the debug info goes to. I ran it from the console, and I see no output. Oh, I didn't compile kdelibs in debug mode, I compiled dolphin in debug mode. Either way, if there's something special I need to do, I'd like to know. Created attachment 32253 [details]
kde-libs.debug.gz
Okay, I did debug mode for kdelibs. It doesn't really offer much useful information, other than what I gave you already...
Indeed, more debug is needed. Can you uncomment all the //kDebug lines in CopyJobPrivate::slotEntries? (kdelibs/kio/kio/copyjob.cpp between lines 496-590). (Remove the "//", save, and then go to kdelibs/kio and do "make && make install"). Very puzzling bug. No reply to comment #11. Feel free to reopen if this is still an issue in the latest stable version of KDE. |