[Bug 969768] New: Dolphin "freaks out" when opening the "Trash" folder
http://bugzilla.opensuse.org/show_bug.cgi?id=969768 Bug ID: 969768 Summary: Dolphin "freaks out" when opening the "Trash" folder Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: x86-64 OS: openSUSE 42.1 Status: NEW Severity: Critical Priority: P5 - None Component: KDE Applications Assignee: opensuse-kde-bugs@opensuse.org Reporter: hotmusicfan@mail.bg QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hello! I have discovered one serious problem. I have experienced it on openSUSE Tumbleweed too. It boils down to one very strange behaviour of Dolphin - when the "Trash" folder is opened, Dolphin starts immediately to fill the /tmp folder with very large amount of files of various types. Soon after that the system becomes unstable, the CPU goes extremely high, various programs or components of the DE stops working or refuses to start at all. It becomes really hard if you want to restore a file from the trash - Dolphin generates even more files in /tmp which finally results in exhausting the / folder; on the next start the system refuses to load some of its components and KDE at all. Just for info - my / partition is 16 GB, the software installed is near or under 4 GB; the file system used is XFS. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
http://bugzilla.opensuse.org/show_bug.cgi?id=969768#c1
Andreas Stieger
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
http://bugzilla.opensuse.org/show_bug.cgi?id=969768#c2
Hot MusicFan
So what are the conditions required to trigger this? (This does not happen on all systems)
Nothing special - just to have some deleted files in the trash; it is enough just to open "Trash" in Dolphin to view them; it gets even worse if you decide to restore a file or files - the system freezes. Especially what kind of conditions are you asking for? Please say if it is something specific and I'll check. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
http://bugzilla.opensuse.org/show_bug.cgi?id=969768#c3
--- Comment #3 from Hot MusicFan
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
http://bugzilla.opensuse.org/show_bug.cgi?id=969768#c4
Wolfgang Bauer
Especially what kind of conditions are you asking for? Please say if it is something specific and I'll check.
It might be helpful to know what exact files are created that cause your root partition to get full. Maybe provide a directory listing (including file sizes) of /tmp when this happens. AFAIK, dolphin (or KIO rather) should not write anything to /tmp if you open the trash. FTR, I cannot reproduce this here neither, and never experienced such a problem. I'm on 13.2 though, but am using the latest packages from KDE:Frameworks5 for about two years... And another question: do/did you have removable media connected when this happens? Each one has a seperate trash, there might be a bug in the handling of this. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
http://bugzilla.opensuse.org/show_bug.cgi?id=969768#c5
Hot MusicFan
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
http://bugzilla.opensuse.org/show_bug.cgi?id=969768#c6
--- Comment #6 from Hot MusicFan
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
http://bugzilla.opensuse.org/show_bug.cgi?id=969768#c7
--- Comment #7 from Hot MusicFan
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
http://bugzilla.opensuse.org/show_bug.cgi?id=969768#c8
--- Comment #8 from Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
http://bugzilla.opensuse.org/show_bug.cgi?id=969768#c9
--- Comment #9 from Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
http://bugzilla.opensuse.org/show_bug.cgi?id=969768#c10
--- Comment #10 from Hot MusicFan
Just one additional thought right now (only guessing though): you said you experience this with FLAC files e.g.
Maybe it depends on the file type? Can you reproduce this with a normal text file? (that's what I used now)
Now I emptied the trash and deleted some text files - there is no problem; I think that the problem is not with the file types but with the file sizes and their summary size (deleting GBs of data). If the case is this - and if Dolphin makes use of some kind of "caching" the big amount of data then the problem is why Dolphin don't deletes it when the user closes the trash folder? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
http://bugzilla.opensuse.org/show_bug.cgi?id=969768#c11
--- Comment #11 from Hot MusicFan
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
http://bugzilla.opensuse.org/show_bug.cgi?id=969768#c12
--- Comment #12 from Wolfgang Bauer
Now I own a different machine, witn openSUSE Leap 42.1 installed and updated and the same problem occurs again.
And I still cannot reproduce it here, sorry. Just opening the Trash folder definitely does not cause this problem. Please try to find out (and explain) what steps exactly you do that creates those tmp files that don't get deleted. Thank you. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
http://bugzilla.opensuse.org/show_bug.cgi?id=969768#c13
--- Comment #13 from Hot MusicFan
(In reply to Hot MusicFan from comment #11)
Now I own a different machine, witn openSUSE Leap 42.1 installed and updated and the same problem occurs again.
And I still cannot reproduce it here, sorry. Just opening the Trash folder definitely does not cause this problem.
Please try to find out (and explain) what steps exactly you do that creates those tmp files that don't get deleted.
Thank you.
The conditions are just the same as in comment No. 5 https://bugzilla.opensuse.org/show_bug.cgi?id=969768#c5 I am cleaning old backups of my system that contains all kind of files - audio, video, pictures, docs; Essentially in this cleaning I am deleting big amounts of data (GBs of files) which are going to the Trash. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
http://bugzilla.opensuse.org/show_bug.cgi?id=969768#c14
Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
http://bugzilla.opensuse.org/show_bug.cgi?id=969768#c15
--- Comment #15 from Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
http://bugzilla.opensuse.org/show_bug.cgi?id=969768#c16
--- Comment #16 from Hot Music Fan
Btw, it's not a restricted to dolphin. It also happens in the file open/save dialog (if you enable previews).
You just get folders like "kwrite.c10271" (or whatever application you run) in /tmp/ then.
So it's rather not a bug in dolphin, but either in the trash kio-slave (it only seems to happen with trash:/, not e.g. desktop:/) or the thumbnailer, I suppose.
Yes, the Previews are enabled when this happens, and yes, it is a problem only with the Trash folder. If this is not a Dolphin-related issue, feel free to reassign the bug against other component. In /tmp the generated items are not only folders but files too - I have found that there are exact copies of single trashed picture files, just with name like the one you've mentioned. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
http://bugzilla.opensuse.org/show_bug.cgi?id=969768#c17
--- Comment #17 from Wolfgang Bauer
If this is not a Dolphin-related issue, feel free to reassign the bug against other component.
We only have "KDE Workspace" and "KDE Applications" in the openSUSE bugzilla, reassigning makes no sense. I was just mentioning it for completeness, and it is important when filing an upstream bug report which I am going to do probably.
In /tmp the generated items are not only folders but files too - I have found that there are exact copies of single trashed picture files, just with name like the one you've mentioned.
Right, this is *not* restricted to folders, I noticed that too meanwhile. Also single files are copied to /tmp when the preview/thumbnail is generated (i.e. when previews are enabled in general and for this particular filetype and you hover the mouse over it). So it's not a specific problem of the "folder" thumbnailer. But in this case, at least the file in /tmp does get deleted as soon as the thumbnail has been generated. I think the problem is that "trash:/" is considered to be a remote/network protocol, so the files are being "downloaded" to /tmp by the KDE libraries to be able to access them. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
http://bugzilla.opensuse.org/show_bug.cgi?id=969768#c18
Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
http://bugzilla.opensuse.org/show_bug.cgi?id=969768#c19
Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
http://bugzilla.opensuse.org/show_bug.cgi?id=969768#c20
--- Comment #20 from Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=969768
http://bugzilla.opensuse.org/show_bug.cgi?id=969768#c21
--- Comment #21 from Hot Music Fan
participants (1)
-
bugzilla_noreply@novell.com