Summary: | Dolphin 100% CPU core usage | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Germano Massullo <germano.massullo> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | REPORTED --- | ||
Severity: | grave | CC: | cesarperone, elvis.angelaccio, emaster987, meven.car, meven29, quazgar, redner.kde, tonurics, vascom2 |
Priority: | NOR | ||
Version: | 22.04.1 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
General configuration of Dolphin
Contents of the open Dolphin session while core usage became higher than normal Core usage of Dolphin in system-monitor Another image of the core usage lasting in time Core usage returned normal perf top |
Description
Germano Massullo
2019-08-27 13:18:18 UTC
This seems to be due to some file previewing. The CPU usage could be due a single file, could you find the file causing the issue ? Has the preview been disable in the information panel as well ? Do you have tooltip enabled (Settings > General "Show tooltips") ? Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! > Do you have tooltip enabled (Settings > General "Show tooltips") ?
No
The CPU usage could be due a single file, could you find the file causing the issue ? Has the preview been disabled in the information panel as well ? (In reply to Méven Car from comment #5) > The CPU usage could be due a single file, could you find the file causing > the issue ? I don't remember which folder caused the problem > Has the preview been disabled in the information panel as well ? There is no information panel enabled I also have this bug in Fedora 31. Dolphin load 100% one core not immediately after startup and on any open folder without pictures. But on other my system I don't see this. > I also have this bug in Fedora 31. > Dolphin load 100% one core not immediately after startup and on any open folder without > pictures. > But on other my system I don't see this. We need a backtrace or a file to diagnose, we cannot even confirm your bug is related to this one. Regarding this bug and code it points to in previewjob.cpp: > QMimeDatabase db; > // check mime type inheritance, resolve aliases > const QMimeType mimeInfo = db.mimeTypeForName(mimeType); > if (mimeInfo.isValid()) { According to the backtrace in first comment, a file triggers a crash in QMimeDatabase. So this could be a Qt bug, we would need to find the file triggering the bug ideally to move forward. I'm also seeing this issue on Dolphin 20.081 It appears to be related to the Folders panel. If I navigate to a folder that has sub-folders that can't be expand: Dolphin appears to endlessly loop, rechecking the sub-folders, testing to see if they can be expanded: the expanding arrows targets can be seen flashing [many times a second] next to any folder icons that can't expand. Which coincides with Dolphin using 100% CPU usage. As soon as the expanded folder is collapsed in the Folders panel and it no longer shows non-expanding folders: the CPU usage drops to normal. (In reply to Tonurics from comment #9) > I'm also seeing this issue on Dolphin 20.081 > > It appears to be related to the Folders panel. If I navigate to a folder > that has sub-folders that can't be expand: Dolphin appears to endlessly > loop, rechecking the sub-folders, testing to see if they can be expanded: > the expanding arrows targets can be seen flashing [many times a second] next > to any folder icons that can't expand. Which coincides with Dolphin using > 100% CPU usage. > > As soon as the expanded folder is collapsed in the Folders panel and it no > longer shows non-expanding folders: the CPU usage drops to normal. That's very interesting and should quite help fix this issue although it should be in another bug since this is clearly relating to another component. What's "sub-folders that can't be expand" ? Is that because of file access permissions ? (In reply to Méven Car from comment #10) > That's very interesting and should quite help fix this issue although it > should be in another bug since this is clearly relating to another component. > What's "sub-folders that can't be expand" ? Is that because of file access > permissions ? Hello Méven, I'm referring simply to a folder that does not contain a sub-folder. I agree, that I think it's related to a different component. Having said that, I ended up created a separate Bug report making my comment here. See: https://bugs.kde.org/show_bug.cgi?id=426617 for more information, along with attachments that might help. Same issue here, the fan rise it's maximum level and noise wehen open Dolphin, but my cpu reachs only 25% instead (i7 7600u) Same problem on my system (Dolphin version 21.12.2.1-1.fc35). I have found a possible clue on the problem. During the 100% usage of a core, I tried different window views. I had no preview setting, no subfolder (I read the comment of @Tonurics). I had a file selected, but by deselecting it, nothing change. The core usage returned normal (near 2%) after I changed the view of Dolphin from "icon view" to "detailed view" (I tried also the "compact view" but that change didn't make anything in core usage). I've attached my screenshot so you can see this report in a visual media way. Other system information: Operating System: Fedora Linux 35 KDE Plasma Version: 5.24.3 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.2 Kernel Version: 5.16.18-200.fc35.x86_64 (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-1065G7 CPU @ 1.30GHz Memory: 7.5 GiB of RAM Graphics Processor: Mesa Intel® Iris® Plus Graphics Created attachment 148586 [details]
General configuration of Dolphin
Created attachment 148587 [details]
Contents of the open Dolphin session while core usage became higher than normal
Created attachment 148588 [details]
Core usage of Dolphin in system-monitor
Created attachment 148589 [details]
Another image of the core usage lasting in time
Created attachment 148590 [details]
Core usage returned normal
Important: see (above left in the screen) that, respect to other screenshots, I changed Dolphin view from "icon view" to "detailed view"
(In reply to Emanuele Spirito from comment #18) > Created attachment 148590 [details] > Core usage returned normal > > Important: see (above left in the screen) that, respect to other > screenshots, I changed Dolphin view from "icon view" to "detailed view" Thank you for the effort of providing information. Screenshots have low value unfortunately, and don’t help finding out the origin of the issue. We can’t confirm what your are experiencing is the same bug. > The core usage returned normal (near 2%) after I changed the view of Dolphin from "icon view" to "detailed view" (I tried also the "compact view" but that change didn't make anything in core usage). This is a clue, the Icon View and compact are internally using the same code, whereas details is separated. The most important information though is to find a reliable way to reproduce the symptoms that a developer could reproduce then. Until we don’t a way to reproduce or pinpoint the origin of the issue, we are clueless. The recommended path to give actionable intel here, would be a trace using gdb or https://github.com/KDAB/hotspot. Those technics require debugging symbols. It might be out of your skill. It still helps to update bugs to inform devs which bugs are still effectively hurting users and which ones are more common. So thanks for the effort anyway. This bug is too generic now, the original trace was good but I couldn’t do anything with, since I can’t reproduce, browsing files and folders. The second bug reported here got fixed https://bugs.kde.org/show_bug.cgi?id=426617 And you Emanuele might be experiencing a third with the same kind of symptoms but a different origin as far as I can tell. > The most important information though is to find a reliable way to reproduce > the symptoms that a developer could reproduce then. > Until we don’t a way to reproduce or pinpoint the origin of the issue, we > are clueless. I know, I was trying to explain in the most complete way the issue so maybe any expert reading could find a clue to the solution I cannot see. > The recommended path to give actionable intel here, would be a trace using > gdb or https://github.com/KDAB/hotspot. Those technics require debugging > symbols. It might be out of your skill. I had a look to that link but I think you are right, this is quite hard for me. > It still helps to update bugs to inform devs which bugs are still > effectively hurting users and which ones are more common. > So thanks for the effort anyway. You are welcome, I'll stay tuned so if I can find the way to reproduce the bug I'll tell you. Created attachment 151046 [details]
perf top
perf top while running Dolphin dolphin-22.04.1-1.fc36.x86_64
(In reply to Méven Car from comment #19) > The recommended path to give actionable intel here, would be a trace using > gdb or https://github.com/KDAB/hotspot. Those technics require debugging > symbols. It might be out of your skill. I will try to think of creating a backtrace when I run into this bug again. To me it happens every now and then, once every few months to noticeably make keyboard input sluggish. |