Summary: | Gwenview crashes after a few minutes of 180% CPU on large directory of 12000 images | ||
---|---|---|---|
Product: | [Applications] gwenview | Reporter: | Paul Hands <jphands> |
Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
Status: | REPORTED --- | ||
Severity: | crash | CC: | aspotashev, bugseforuns, khalukhin |
Priority: | NOR | ||
Version: | 18.12.2 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Paul Hands
2019-02-19 02:40:17 UTC
Additional info.... The images are stored on a 1T m.SATA SSD drive formatted as ext4. Tested here using a folder containing ~50,000 jpg files located in a ntfs partition. After I switch to browse mode, led of my hard disk started to blink all the time, ~10 min later the whole computer becomes unresponsive (music playing in background stopped, mouse/keyboard input stopped). HD led blinking all the time was weird because iotop command shown normal read/write activity before the system freezes completely. gwenview 18.12.2 Operating System: Arch Linux KDE Plasma Version: 5.15.1 KDE Frameworks Version: 5.55.0 Qt Version: 5.12.1 Kernel Version: 4.20.11-arch2-1-ARCH OS Type: 64-bit Processors: 2 × Intel® Celeron® CPU G1820 @ 2.70GHz Memory: 7,7 GiB of RAM It might be related to https://bugs.kde.org/show_bug.cgi?id=458491 Well basically what was observed here is a combination of two bugs: 1) thumbnails generation wasn't very optimal - which caused extensive memory consumption (system went into swap, then was dying). This was fixed in https://invent.kde.org/graphics/gwenview/-/merge_requests/49 2) some extra CPU was burnt while making unnecessary filesystem calls - the merge request is there, all-approved, just waiting to be merged soon https://invent.kde.org/graphics/gwenview/-/merge_requests/154 Thanks to Nicolas Fella, Arjen Hiemstra and Nate Graham for making this happen. |